[Freeswitch-users] generating RFC 3966 and RFC 4694 calls
Kristian Kielhofner
kristian.kielhofner at gmail.com
Fri Mar 27 12:47:02 PDT 2009
Some platforms add/use URI params in the user portion of the URI.
I was just reminded of this this week with Global Crossing:
sip:+18005551212;npdi=yes at 0.0.0.0
That is (of course) the number portability display indicator... ;)
Anyways, I had to rewrite the URI using OpenSIPS to strip the
";npdi=yes". I imagine you could do the same but I'm not sure how in
FreeSWITCH...
2009/3/27 Brian West <brian at freeswitch.org>:
> Params are not added before the @ sign that I'm pretty sure of.
> <action application="export"
> data="sip_invite_params=this=kewl;that=iskewl"/>
>
> <action application="bridge" data="sofia/profile/blah at blah"/>
>
> Results in INVITE sip:blah at blah;this=kewl;that=iskewl SIP/2.0
>
> You also have sip_invite_to_params, sip_invite_from_params,
> sip_invite_contact_params
> /b
>
>
> On Mar 27, 2009, at 5:11 AM, James H Thompson wrote:
>
> I need to generate calls with Invite URIs in this format:
>
> INVITE sip:9085551212;npdi=yes;rn=9083820000 at 204.123.123.123:5060 SIP/2.0
>
> Is there an easy way to do this?
>
> Thanks.
--
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.com
More information about the FreeSWITCH-users
mailing list