[Freeswitch-users] Sip Redirect
Brian West
brian at freeswitch.org
Mon Feb 24 16:52:25 MSK 2014
It has to be set BEFORE the redirect is processed, You’re seeing it after the redirect has already taken place, its too late.
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Feb 24, 2014, at 6:50 AM, Signor Stylish <signor.stylish at gmail.com> wrote:
> Hello,
>
> Thanks for your prompt reply.
>
> I changed to below dial plan but again used internal:
>
> <context name="redirected">
> <extension name="handle_redirect">
> <condition field="${sip_redirect_dialstring}" expression="^(.+)$">
> <action application="log" data="INFO handling redirect to ${sip_redirect_dialstring}" inline="true"/>
> <action application="set" data="sip_redirect_profile=external" inline="true"/>
> <action application="bridge" data="${sip_redirect_dialstring}"/>
> </condition>
> </extension>
> </context>
>
>
> bridge(sofia/internal/sip:XXXX at XX
>
> Best regards,
> Amirhossein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140224/8f825b88/attachment.bin
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list