[Freeswitch-users] REDIRECT 503 not working

Brian West brian at freeswitch.org
Tue Dec 15 15:02:43 PST 2009


You have to be careful things like eyebeam will send the invite back  
to FS1 that did the redirect as if it were the proxy with the request  
URI as the URI you did in the 302 please post a sip trace of the  
entire exchange on pastebin.

/b

On Dec 15, 2009, at 4:00 PM, Ahmed Naji wrote:

> People,
>
> I have a very simple call scenario where calls are hitting  
> FreeSWITCH, and I need to send a 302 REDIRECT to get them to go  
> elsewhere without answering them.
>
> It's for a phased migration requirement so that traffic can continue  
> to flow to the current site, but gets redirected to a new site. The  
> old site will eventually be decommissioned.
>
> Here is what I have in my conf/dialplan/public/test.xml:
>
> <include>
>         <extension name="test-inbound">
>                 <condition field="destination_number" expression="^ 
> (?:7153)(\d+)$">
>                         <action application="redirect" data="sip:7153$1 at aaa.bbb.ccc.ddd 
> "/>
>                 </condition>
>         </extension>
> </include>
>
> FreeSWITCH is sending back the 302 back to the test end-point  
> (eyeBeam 1.5.20 build 54436), but the call is not reaching the  
> specified in the data portion of the redirect application. I know  
> it's sending it because of logs FreeSWITCH end and the info being  
> displayed on eyeBeam's client interface stating Call being  
> forwarded ...etc. ...etc.
>
> Has anyone had any similar experiences with a similar setup ?
>
> Oh, and one more thing, I have disabled firewalling on both the  
> proxy where eyeBeam is registered and the destination where I'm  
> sending the call. I have also verified that my new destination (also  
> a FreeSWITCH box) is accepting registrations, inviites and able to  
> route calls initiated by eyeBeam when directly registered on it.
>
> Has anyone had similar experiences ? better still, has anyone  
> successfully setup FreeSWITCH to be an SBC and can give me feedback ?
>
> Regards,
>
> Ahmed.
>
> -- 
> Ahmed A. Ibrahim-Naji Al-Alousi
> Ph.D., MIEE, MBCS, CCIE
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list