[Freeswitch-users] Contact header on INVITE
Anthony Minessale
anthony.minessale at gmail.com
Sat Mar 7 08:05:37 PST 2009
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 at czerpak.eu>
> Hi,
>
> The INVITE request from my FreeSWITCH contains (1.2.3.4 - my public ip):
>
> Contact: <sip:gw+myprovider1 at 1.2.3.4:5080;transport=udp>
>
> but voip provider expects:
>
> Contact: <sip:username at 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 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/
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/20090307/875723ea/attachment-0002.html
More information about the FreeSWITCH-users
mailing list