<div dir="ltr">That is not currently possible only because there was no reason to make that configurable and it's not acceptable.<br><br>The called party should *NOT* be forcing the calling party to use a certain contact, the contact is the calling parties business.<br>
<br>If we did support that it would have to fall under the NDLB "No Device Left Behind" series of configuration options designed for interop with less-than-compliant SIP UA and it would be quite hard to do right because in reality the profile is the true SIP UA not each call. So the contact address is the url of the profile that should not change at all among different calls. Support for this could cause a regression that breaks 100 other complicated SIP scenarios. <br>
<br><br><br><br><br><br><div class="gmail_quote">On Wed, Aug 13, 2008 at 2:31 AM, Craig Guy <span dir="ltr"><<a href="mailto:craig.a.guy@gmail.com">craig.a.guy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p>Hi,</p>
<p> </p>
<p>First, have been lurking for about a week and I feel
Freeswitch is a great project, coming from a non-programmer background and
heavy familiarity with Asterisk and Callweaver it's a bit of a learning
curve to come to grips with the XML but I'm slowly getting there <span style="font-family: Wingdings;">J</span></p>
<p> </p>
<p>I'm currently doing some interop testing with
Freeswitch and the provider has come back to me stating that they require the
Contact header to exhibit:</p>
<p> </p>
<p style="margin-left: 54pt; text-indent: -18pt;"><span>a)<span> </span></span>e.164
format</p>
<p style="margin-left: 54pt; text-indent: -18pt;"><span>b)<span> </span></span>The
From, RPID and Contact headers to match</p>
<p> </p>
<p>Try as I might I am seemingly unable to set the user portion
of the Contact header for the outbound leg to the termination provider.
The contact is always mod_sofia@<ip:port>. I have found the
sip-force-contact setting however it seems to have no effect on the contact
header (and I might be using it incorrectly in any case). The ideal
behaviour for me is for the contact to take the form of
callerid@<ip:port></p>
<p> </p>
<p>For example if my sip profile is bound to <a href="http://192.168.0.1:5060" target="_blank">192.168.0.1:5060</a>
and my handset callerid is +13035555555 I would like to set the contact to <a>sip:+13035555555@192.168.0.1:5060</a></p>
<p> </p>
<p>Is there an ability within Freeswitch to set the Contact
header based on callerid?</p>
<p> </p>
<p>Craig</p>
<p> </p>
</div>
</div>
<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>
<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>
</div>