Here is the quick start guide to doing 302 redirects: (Also outlined in the Wiki article that Jay referenced) Processing Extension 1016 <1016>->5555 in context default <extension name="redirect_test"> <condition field=“destination_number" expression="^5555$"> <action application="bridge" data="sofia/internal/sip:5555@conference.freeswitch.org"/> </condition> </extension> Processing Extension 1016 <1016>->888 in context redirected variable_sip_redirect_contact_0: ["unknown" <sip:888@conference.freeswitch.org>] variable_sip_redirected_to: ["unknown" <sip:888@conference.freeswitch.org>] variable_sip_redirect_contact_user_0: [888] variable_sip_redirect_contact_host_0: [conference.freeswitch.org] variable_sip_redirect_dialstring_0: [sofia/internal/sip:888@conference.freeswitch.org] variable_sip_redirect_dialstring: [sofia/internal/sip:888@conference.freeswitch.org] Here is what I have in the redirected context. <context name="redirected"> <extension name="handle_redirect"> <condition field="destination_number" expression="(.*)”> <action application="info"/> <action application="bridge" data="${sip_redirect_dialstring}"/> </condition> </extension> </context> Questions? -- Brian West brian@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:81/key.txt (AB93356707C76CED) On Apr 21, 2014, at 7:55 PM, Andrew <aademattia@comcast.net> wrote:
Wow