Transfer(dest)
Full arguments reference
destrequiredTech/destinationrequired
Requests the remote caller be transferred to a given destination. If TECH (SIPSession Initiation Protocol, the standard signaling protocol used to set up, manage, and tear down VoIP calls between Asterisk and phones or carriers., IAX2Inter-Asterisk eXchange protocol version 2. A lightweight Asterisk-native VoIP protocol that carries signaling and media over a single UDP port (4569)., etc) is used, only an incoming call with the same channelA single call leg passing through Asterisk. Channels represent connections to endpoints and are what dialplan applications act on. technology will be transferred. Note that for SIP, if you transfer before call is setup, a 302 redirect SIP message will be returned to the caller.
The result of the application will be reported in the TRANSFERSTATUS channel variable:
- TRANSFERSTATUS
SUCCESS- Transfer succeeded.FAILURE- Transfer failed.UNSUPPORTED- Transfer unsupported by channel driver.
- TRANSFERSTATUSPROTOCOL
0- No error.3xx-6xx- SIP example - Error result code.
destrequiredTech/destinationrequired
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.