I will give it a try. Gracias! Christian Jensen Software Development Manager Back Office ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Friday, July 10, 2009 9:41 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] 302 Redirect Ok you need the nice new feature I added to FreeSWITCH that lets you handle all the 302 redirects in your own dialplan/context. Set the param manual-redirect on your sofia profile then you can define sip_redirect_profile, sip_redirect_context, sip_redirect_dialplan or you can create a context called redirected and do anything you wish with the 302'ed call 100% manually. You'll get sip_redirect_contact_X sip_redirected_to sip_redirect_contact_user_X sip_redirect_contact_host_X sip_redirect_contact_params_X sip_redirected_by All of these will help you process this via the dialplan. /b On Jul 10, 2009, at 11:32 AM, Christian Jensen wrote: Hi everyone! I have a question - I need to change the "From" SIP header during a "Redirect" to make it look like the number that called is a different number. I need to be able to change it but it is not taking - I have tried just about every combination of variable settings that I know of but the SIP message is just not getting the data. Here is my config: <include> <extension name="public_did"> <condition field="destination_number" expression="^(\+12396897777)$"> <action application="set" data="sip_from_user_stripped=false"/> <action application="set" data="sip_from_user=0445555555"/> <action application="set" data="sip_invite_domain=sip:0446666666@192.168.8.2"/> <action application="set" data="sip_h_Referred-By=sip:0447777777@192.168.8.2"/> <action application="set" data="From=sip:0448888888@192.168.8.2"/> <action application="set" data="myani=0449999999"/> <action application="redirect" data="sip:7789964284@192.168.8.2"/> </condition> </extension> </include> In fact - it would appear that no channel variables are making it out the door during a redirect. Any help would be greatly appreciated. Thanks! Christian Jensen Software Development Manager - Back Office Teligence T: 604-629-6055 Ext. 3304 M: 778-996-4283 F: 604-257-5578 christian.jensen@teligence.net www.teligence.net <http://www.teligence.net/> _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org