I added the param extension-in-contact (true/false) to latest trunk.<br><br>Be aware it&#39;s broken behavior for your provider to demand a certain username in the contact.<br>The reason we put gw+&lt;gateway name&gt; in the contact user is it&#39;s the only guaranteed way to find out<br>
what gateway the call was associated with.  We can of course put it in the params on the contact but we know <br>many sip endpoints eat off all the params from your contact when you register. So we use the contact user to <br>
avoid this issue.  If you use this new parameter and set it to true, the contact will be whatever is in the &quot;extension&quot; parameter<br>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.<br>
<br><br><div class="gmail_quote">2009/3/6 Łukasz Czerpak <span dir="ltr">&lt;lukasz@czerpak.eu&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
The INVITE request from my FreeSWITCH contains (1.2.3.4 - my public ip):<br>
<br>
Contact: &lt;sip:gw+myprovider1@1.2.3.4:5080;transport=udp&gt;<br>
<br>
but voip provider expects:<br>
<br>
Contact: &lt;sip:username@1.2.3.4:5080;transport=udp&gt;<br>
<br>
<br>
Is there any posiibility to change the Contact header value in<br>
gateway/dialplan configuration?<br>
<br>
<br>
Thanks,<br>
<br>
--<br>
Łukasz Czerpak | PGP: 0x532D8E1B [<a href="http://subkeys.pgp.net" target="_blank">subkeys.pgp.net</a>]<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>