VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jht at lj.net Guest
|
Posted: Fri Mar 27, 2009 10:23 am Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls |
|
|
I need to generate calls with Invite URIs in this format: INVITE sip:9085551212;npdi=yes;rn=9083820000@204.123.123.123:5060 SIP/2.0 Is there an easy way to do this? Thanks. |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Mar 27, 2009 10:30 am Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls |
|
|
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@blah"/>
Results in INVITE [url=sip:blah@blah;this=kewl;that=iskewl]sip:blah@blah;this=kewl;that=iskewl[/url] 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:
Quote: | I need to generate calls with Invite URIs in this format:
INVITE [url=sip:9085551212;npdi=yes;rn=9083820000@204.123.123.123:5060]sip:9085551212;npdi=yes;rn=9083820000@204.123.123.123:5060[/url] SIP/2.0
Is there an easy way to do this?
Thanks.
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us a ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Fri Mar 27, 2009 10:48 am Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls |
|
|
You seem to be confusing your standards, those 2 specs are about tel: uri's not sip: uris. Sending a tel uri I am not sure we can do, where would we send it to?
Mike
On Mar 27, 2009, at 6:11 AM, James H Thompson wrote:
|
|
Back to top |
|
|
jht at lj.net Guest
|
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
Posted: Fri Mar 27, 2009 3:04 pm Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls |
|
|
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@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@freeswitch.org>:
Quote: | 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@blah"/>
Results in INVITE sip:blah@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@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
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Mar 27, 2009 3:04 pm Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls |
|
|
Thats about dumb... um I don't think we let you put things in there.. but it would only be a few lines to do it...blah rfc's suck!
/b
On Mar 27, 2009, at 2:47 PM, Kristian Kielhofner wrote:
Quote: | Some platforms add/use URI params in the user portion of the URI.
I was just reminded of this this week with Global Crossing:
[url=sip:+18005551212;npdi=yes@0.0.0.0]sip:+18005551212;npdi=yes@0.0.0.0[/url]
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. |
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us a ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Mar 27, 2009 3:14 pm Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls |
|
|
if you prefix the sofia dial string with sip: you should be able to pass anything you want.
sofia/internal/sip:9085551212;npdi=yes;rn=9083820000@204.123.123.123:5060 ([email]rn=9083820000@204.123.123.123:5060[/email])
2009/3/27 James H Thompson <jht@lj.net (jht@lj.net)>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Fri Mar 27, 2009 9:48 pm Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls |
|
|
On Mar 28, 2009, at 4:05 AM, Anthony Minessale wrote: Quote: | if you prefix the sofia dial string with sip: you should be able to pass anything you want.
sofia/internal/sip:9085551212;npdi=yes;rn=9083820000@204.123.123.123:5060 ([email]rn=9083820000@204.123.123.123:5060[/email])
|
Is that similar as this?
<action application="bridge" data="sofia/sip/9998881111@sip.yourprovider.com ([email]sofia/sip/9998881111@sip.yourprovider.com[/email])"/>
got it from wiki: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridgecall#From_the_Dialplan
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Mar 27, 2009 10:10 pm Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls |
|
|
no
sofia/profile/[url=sip:blah@blah]sip:blah@blah[/url]
sip: makes sofia take it as is.
/b
On Mar 27, 2009, at 9:39 PM, dujinfang wrote:
Quote: | Is that similar as this?
<action application="bridge" data="sofia/sip/9998881111@sip.yourprovider.com ([email]sofia/sip/9998881111@sip.yourprovider.com[/email])"/>
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us a ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|