Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Contact header on INVITE


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





PostPosted: Fri Mar 06, 2009 12:16 pm    Post subject: [Freeswitch-users] Contact header on INVITE Reply with quote

Hi,

The INVITE request from my FreeSWITCH contains (1.2.3.4 - my public ip):

Contact: <sip:gw+myprovider1@1.2.3.4:5080;transport=udp>

but voip provider expects:

Contact: <sip:username@1.2.3.4:5080;transport=udp>


Is there any posiibility to change the Contact header value in
gateway/dialplan configuration?


Thanks,

--
Łukasz Czerpak | PGP: 0x532D8E1B [subkeys.pgp.net]

_______________________________________________
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
anthony.minessale at g...
Guest





PostPosted: Sat Mar 07, 2009 11:14 am    Post subject: [Freeswitch-users] Contact header on INVITE Reply with quote

I added the param extension-in-contact (true/false) to latest trunk.

Be aware it's broken behavior for your provider to demand a certain username in the contact.
The reason we put gw+<gateway name> in the contact user is it's the only guaranteed way to find out
what gateway the call was associated with.  We can of course put it in the params on the contact but we know
many sip endpoints eat off all the params from your contact when you register. So we use the contact user to
avoid this issue.  If you use this new parameter and set it to true, the contact will be whatever is in the "extension" parameter
which defaults to the same as the username, so just setting this parameter should do what you want but it will also disable our ability to associate the call with the gateway it was placed from.


2009/3/6 Łukasz Czerpak <lukasz@czerpak.eu>
Quote:
Hi,

The INVITE request from my FreeSWITCH contains (1.2.3.4 - my public ip):

Contact: <sip:gw+myprovider1@1.2.3.4:5080;transport=udp>

but voip provider expects:

Contact: <sip:username@1.2.3.4:5080;transport=udp>


Is there any posiibility to change the Contact header value in
gateway/dialplan configuration?


Thanks,

--
Łukasz Czerpak | PGP: 0x532D8E1B [subkeys.pgp.net]

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