# Asterisk Project : Asterisk 12 ManagerEvent_AttendedTransfer

Added by wikibot , edited by wikibot on Aug 29, 2013

# AttendedTransfer

### Synopsis

Raised when an attended transfer is complete.

### Description

The headers in this event attempt to describe all the major details of the attended transfer. The two transferer channels and the two bridges are determined based on their chronological establishment. So consider that Alice calls Bob, and then Alice transfers the call to Voicemail. The transferer and bridge headers would be arranged as follows:

OrigTransfererChannel: Alice's channel in the bridge with Bob.

OrigBridgeUniqueid: The bridge between Alice and Bob.

SecondTransfererChannel: Alice's channel that called Voicemail.

SecondBridgeUniqueid: Not present, since a call to Voicemail has no bridge.

Now consider if the order were reversed; instead of having Alice call Bob and transfer him to Voicemail, Alice instead calls her Voicemail and transfers that to Bob. The transferer and bridge headers would be arranged as follows:

OrigTransfererChannel: Alice's channel that called Voicemail.

OrigBridgeUniqueid: Not present, since a call to Voicemail has no bridge.

SecondTransfererChannel: Alice's channel in the bridge with Bob.

SecondBridgeUniqueid: The bridge between Alice and Bob.

### Syntax

    Action:
    Result: <value>
    OrigTransfererChannel: <value>
    OrigTransfererChannelState: <value>
    OrigTransfererChannelStateDesc: <value>
    OrigTransfererCallerIDNum: <value>
    OrigTransfererCallerIDName: <value>
    OrigTransfererConnectedLineNum: <value>
    OrigTransfererConnectedLineName: <value>
    OrigTransfererAccountCode: <value>
    OrigTransfererContext: <value>
    OrigTransfererExten: <value>
    OrigTransfererPriority: <value>
    OrigTransfererUniqueid: <value>
    OrigBridgeUniqueid: <value>
    OrigBridgeType: <value>
    OrigBridgeTechnology: <value>
    OrigBridgeNumChannels: <value>
    SecondTransfererChannel: <value>
    SecondTransfererChannelState: <value>
    SecondTransfererChannelStateDesc: <value>
    SecondTransfererCallerIDNum: <value>
    SecondTransfererCallerIDName: <value>
    SecondTransfererConnectedLineNum: <value>
    SecondTransfererConnectedLineName: <value>
    SecondTransfererAccountCode: <value>
    SecondTransfererContext: <value>
    SecondTransfererExten: <value>
    SecondTransfererPriority: <value>
    SecondTransfererUniqueid: <value>
    SecondBridgeUniqueid: <value>
    SecondBridgeType: <value>
    SecondBridgeTechnology: <value>
    SecondBridgeNumChannels: <value>
    DestType: <value>
    DestBridgeUniqueid: <value>
    DestApp: <value>
    LocalOneChannel: <value>
    LocalOneChannelState: <value>
    LocalOneChannelStateDesc: <value>
    LocalOneCallerIDNum: <value>
    LocalOneCallerIDName: <value>
    LocalOneConnectedLineNum: <value>
    LocalOneConnectedLineName: <value>
    LocalOneAccountCode: <value>
    LocalOneContext: <value>
    LocalOneExten: <value>
    LocalOnePriority: <value>
    LocalOneUniqueid: <value>
    LocalTwoChannel: <value>
    LocalTwoChannelState: <value>
    LocalTwoChannelStateDesc: <value>
    LocalTwoCallerIDNum: <value>
    LocalTwoCallerIDName: <value>
    LocalTwoConnectedLineNum: <value>
    LocalTwoConnectedLineName: <value>
    LocalTwoAccountCode: <value>
    LocalTwoContext: <value>
    LocalTwoExten: <value>
    LocalTwoPriority: <value>
    LocalTwoUniqueid: <value>
    DestTransfererChannel: <value>

##### Arguments

- `Result` - Indicates if the transfer was successful or if it failed.
  - `Fail` - An internal error occurred.
  - `Invalid` - Invalid configuration for transfer (e.g. Not bridged)
  - `Not Permitted` - Bridge does not permit transfers
  - `Success` - Transfer completed successfully

    Note

    A result of `Success` does not necessarily mean that a target was succesfully contacted. It means that a party was succesfully placed into the dialplan at the expected location.

- `OrigTransfererChannel`
- `OrigTransfererChannelState` - A numeric code for the channel's current state, related to OrigTransfererChannelStateDesc
- `OrigTransfererChannelStateDesc`
  - `Down`
  - `Rsrvd`
  - `OffHook`
  - `Dialing`
  - `Ring`
  - `Ringing`
  - `Up`
  - `Busy`
  - `Dialing Offhook`
  - `Pre-ring`
  - `Unknown`
- `OrigTransfererCallerIDNum`
- `OrigTransfererCallerIDName`
- `OrigTransfererConnectedLineNum`
- `OrigTransfererConnectedLineName`
- `OrigTransfererAccountCode`
- `OrigTransfererContext`
- `OrigTransfererExten`
- `OrigTransfererPriority`
- `OrigTransfererUniqueid`
- `OrigBridgeUniqueid`
- `OrigBridgeType` - The type of bridge
- `OrigBridgeTechnology` - Technology in use by the bridge
- `OrigBridgeNumChannels` - Number of channels in the bridge
- `SecondTransfererChannel`
- `SecondTransfererChannelState` - A numeric code for the channel's current state, related to SecondTransfererChannelStateDesc
- `SecondTransfererChannelStateDesc`
  - `Down`
  - `Rsrvd`
  - `OffHook`
  - `Dialing`
  - `Ring`
  - `Ringing`
  - `Up`
  - `Busy`
  - `Dialing Offhook`
  - `Pre-ring`
  - `Unknown`
- `SecondTransfererCallerIDNum`
- `SecondTransfererCallerIDName`
- `SecondTransfererConnectedLineNum`
- `SecondTransfererConnectedLineName`
- `SecondTransfererAccountCode`
- `SecondTransfererContext`
- `SecondTransfererExten`
- `SecondTransfererPriority`
- `SecondTransfererUniqueid`
- `SecondBridgeUniqueid`
- `SecondBridgeType` - The type of bridge
- `SecondBridgeTechnology` - Technology in use by the bridge
- `SecondBridgeNumChannels` - Number of channels in the bridge
- `DestType` - Indicates the method by which the attended transfer completed.
  - `Bridge` - The transfer was accomplished by merging two bridges into one.
  - `App` - The transfer was accomplished by having a channel or bridge run a dialplan application.
  - `Link` - The transfer was accomplished by linking two bridges together using a local channel pair.
  - `Threeway` - The transfer was accomplished by placing all parties into a threeway call.
  - `Fail` - The transfer failed.
- `DestBridgeUniqueid` - Indicates the surviving bridge when bridges were merged to complete the transfer

  Note

  This header is only present when DestType is `Bridge` or `Threeway`

- `DestApp` - Indicates the application that is running when the transfer completes

  Note

  This header is only present when DestType is `App`

- `LocalOneChannel`
- `LocalOneChannelState` - A numeric code for the channel's current state, related to LocalOneChannelStateDesc
- `LocalOneChannelStateDesc`
  - `Down`
  - `Rsrvd`
  - `OffHook`
  - `Dialing`
  - `Ring`
  - `Ringing`
  - `Up`
  - `Busy`
  - `Dialing Offhook`
  - `Pre-ring`
  - `Unknown`
- `LocalOneCallerIDNum`
- `LocalOneCallerIDName`
- `LocalOneConnectedLineNum`
- `LocalOneConnectedLineName`
- `LocalOneAccountCode`
- `LocalOneContext`
- `LocalOneExten`
- `LocalOnePriority`
- `LocalOneUniqueid`
- `LocalTwoChannel`
- `LocalTwoChannelState` - A numeric code for the channel's current state, related to LocalTwoChannelStateDesc
- `LocalTwoChannelStateDesc`
  - `Down`
  - `Rsrvd`
  - `OffHook`
  - `Dialing`
  - `Ring`
  - `Ringing`
  - `Up`
  - `Busy`
  - `Dialing Offhook`
  - `Pre-ring`
  - `Unknown`
- `LocalTwoCallerIDNum`
- `LocalTwoCallerIDName`
- `LocalTwoConnectedLineNum`
- `LocalTwoConnectedLineName`
- `LocalTwoAccountCode`
- `LocalTwoContext`
- `LocalTwoExten`
- `LocalTwoPriority`
- `LocalTwoUniqueid`
- `DestTransfererChannel` - The name of the surviving transferer channel when a transfer results in a threeway call

  Note

  This header is only present when DestType is `Threeway`

### See Also

### Import Version

This documentation was imported from Asterisk Version Unknown