Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] generating RFC 3966 and RFC 4694 calls


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jht at lj.net
Guest





PostPosted: Fri Mar 27, 2009 10:23 am    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with quote

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





PostPosted: Fri Mar 27, 2009 10:30 am    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with 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 [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





PostPosted: Fri Mar 27, 2009 10:48 am    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with quote

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:
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.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
jht at lj.net
Guest





PostPosted: Fri Mar 27, 2009 3:00 pm    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with quote

Calls would be sent to the IP address after the '@' ([email]'@'[/email]) in the URI. Section 19.1.1 of RFC 3261 seems to say that TEL URIs can be used as the user part of a SIP URI. My example Invite URI is the way we are receiving traffic from some of the major telecom carriers. We would like be able to generate calls using the same formats. ----- Original Message ----- From: Michael Jerris (mike@jerris.com) To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org) Sent: Friday, March 27, 2009 5:41 AM Subject: Re: [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: I need to generate calls with Invite URIs in this format: INVITE sip:9085551212;npdi=yes;rn=9083820000@204.123.123.123:5060 ([email]rn=9083820000@204.123.123.123:5060[/email]) SIP/2.0 Is there an easy way to do this? Thanks. _______________________________________________Freeswitch-users mailing listFreeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org _______________________________________________Freeswitch-users mailing listFreeswitch-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
Back to top
kristian.kielhofner at...
Guest





PostPosted: Fri Mar 27, 2009 3:04 pm    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with 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:

sip:+18005551212;npdi=yes@0.0.0.0

That is (of course) the number portability display indicator... Wink

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





PostPosted: Fri Mar 27, 2009 3:04 pm    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with quote

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... Wink

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





PostPosted: Fri Mar 27, 2009 3:14 pm    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with 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])

2009/3/27 James H Thompson <jht@lj.net (jht@lj.net)>
Quote:
Calls would be sent to the IP address after the '@' ([email]%27@%27[/email])  in the URI.
Section 19.1.1 of RFC 3261 seems to say that TEL URIs can be used as the user part of a SIP URI.
My example Invite URI is the way we are receiving traffic from some of the major telecom carriers.
We would like be able to generate calls using the same formats.
 
 
----- Original Message ----- From: Michael Jerris (mike@jerris.com)
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Sent: Friday, March 27, 2009 5:41 AM
Subject: Re: [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:

Quote:
I need to generate calls with Invite URIs in this format:
 
INVITE sip:9085551212;npdi=yes;rn=9083820000@204.123.123.123:5060 ([email]rn=9083820000@204.123.123.123:5060[/email]) SIP/2.0
 
Is there an easy way to do this?
 
Thanks.
 
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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






_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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/

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





PostPosted: Fri Mar 27, 2009 9:48 pm    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with quote

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
Quote:
2009/3/27 James H Thompson <jht@lj.net (jht@lj.net)>
Quote:
Calls would be sent to the IP address after the '@' ([email]%27@%27[/email]) in the URI.
Section 19.1.1 of RFC 3261 seems to say that TEL URIs can be used as the user part of a SIP URI.
My example Invite URI is the way we are receiving traffic from some of the major telecom carriers.
We would like be able to generate calls using the same formats.


----- Original Message ----- From: Michael Jerris (mike@jerris.com)
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Sent: Friday, March 27, 2009 5:41 AM
Subject: Re: [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:

Quote:
I need to generate calls with Invite URIs in this format:

INVITE sip:9085551212;npdi=yes;rn=9083820000@204.123.123.123:5060 ([email]rn=9083820000@204.123.123.123:5060[/email]) SIP/2.0

Is there an easy way to do this?

Thanks.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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






_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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/

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





PostPosted: Fri Mar 27, 2009 10:10 pm    Post subject: [Freeswitch-users] generating RFC 3966 and RFC 4694 calls Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services