[Freeswitch-users] Dialplan Issue

Anthony Minessale anthony.minessale at gmail.com
Thu Oct 1 07:55:54 PDT 2009


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 at 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 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091001/aad11a62/attachment-0002.html 


More information about the FreeSWITCH-users mailing list