you left too fast. 1) I told you if you put <> around the sip uri it will work. 2) I told you I added a patch in tree to add one for you if it's not supplied so update to trunk. On Thu, Oct 1, 2009 at 9:27 AM, Shelby Ramsey <sicfslist@gmail.com> wrote:
Hello:
I asked this on IRC yesterday and I think I confused everyone involved. So I apologize in advance here for reposting the question and if I wasted anyone's time.
So here is the issue I'm having. I'm trying to use FS as a redirect server (specifically to serve up LNP queries via 302 redirects). But I'm having an issue where based on the string in the dialplan FS will respond with a 500 internal error message instead of a 300 redirect.
The call flow should be this: -- remote party sends an Invite to my FS instance -- FS should respond with a 302
The following works as expected (FS will send a 302 when it receives an Invite):
<action application="redirect" data="sip:${destination_number}@ ${network_addr};rn=${rn};npdi=yes"/>
However if I do this (which is the way the response should look) FS will respond with a 500 internal server error:
<action application="redirect" data="sip:${destination_number};rn=${rn};npdi=yes@${network_addr}"/>
So the issue is the placement of the user params .... if they are before the @ FS will send a 500 internal server error ... if they are after the @ FS will send a 302. Unfortunately placing the user params after the @ doesn't quite conform to the way other devices expect to receive the 302 for this application.
Any help would be greatly appreciated.
Shelby
PS ... hats off to the author of mod_memcache ... that is extremely useful!
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400