[asterisk-users] Transfer_CONTEXT behaviour
Steve Davies
davies147 at gmail.com
Thu Apr 15 07:59:58 CDT 2010
Hi,
Can anyone suggest a way of doing the following in Asterisk 1.6.2 - I
do not think it can be done trivially using TRANSFER_CONTEXT.
What I want is for the TRANSFER_CONTEXT for all technologies to be the
same as the initial context defined in the configuration of the device
initiating the transfer. This is not as simple as it seems (unless I
am missing something). For example:
A call arrives on IAX/1234, and executes DIAL(SIP/100&SIP/101&SIP/102)
in the dialplan.
Let us then assume that the contexts are configured in the config files as:
IAX/1234: context=external
SIP/100: context=default
SIP/101: context=superuser
SIP/102: context=local
So depending on who receives the call, and who REFERs it, the required
TRANSFER_CONTEXT is different. The same applies if the call is
REFER'ed by the IAX party.
I am assuming that the SIP/IAX protocol transfer feature is used,
rather than the res_features transfer, although they appear to be
similar in having this issue.
Regards,
Steve
More information about the asterisk-users
mailing list