<div dir="ltr">I think the first one is only for registration. The second one I forgot about, I must have been caught at a moment of weakness to implement that =D<br><br><br><div class="gmail_quote">On Wed, Aug 13, 2008 at 10:02 AM, Simon Capper <span dir="ltr"><<a href="mailto:scapper@ooma.com">scapper@ooma.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;">There are two ways.<br>
1 - define a gateway, the contact user will be taken from the gateway<br>
parameters.<br>
2 - Set the channel variable "sip_contact_user" in your dialplan, the IP<br>
address part of the URL is still controlled by FS, but this will replace the<br>
mod_sofia username that appears today. This only works if you do not use a<br>
gateway in the sip profile<br>
<font color="#888888"><br>
Simon<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
On 8/13/08 12:31 AM, "Craig Guy" <<a href="mailto:craig.a.guy@gmail.com">craig.a.guy@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
><br>
><br>
> First, have been lurking for about a week and I feel Freeswitch is a great<br>
> project, coming from a non-programmer background and heavy familiarity with<br>
> Asterisk and Callweaver it's a bit of a learning curve to come to grips with<br>
> the XML but I'm slowly getting there J<br>
><br>
><br>
><br>
> I'm currently doing some interop testing with Freeswitch and the provider<br>
> has come back to me stating that they require the Contact header to exhibit:<br>
><br>
><br>
><br>
> a) e.164 format<br>
><br>
> b) The From, RPID and Contact headers to match<br>
><br>
><br>
><br>
> Try as I might I am seemingly unable to set the user portion of the Contact<br>
> header for the outbound leg to the termination provider. The contact is<br>
> always mod_sofia@<ip:port>. I have found the sip-force-contact setting<br>
> however it seems to have no effect on the contact header (and I might be<br>
> using it incorrectly in any case). The ideal behaviour for me is for the<br>
> contact to take the form of callerid@<ip:port><br>
><br>
><br>
><br>
> 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<br>
> callerid is +13035555555 I would like to set the contact to<br>
> <a href="http://sip:+13035555555@192.168.0.1:5060" target="_blank">sip:+13035555555@192.168.0.1:5060</a><br>
><br>
><br>
><br>
> Is there an ability within Freeswitch to set the Contact header based on<br>
> callerid?<br>
><br>
><br>
><br>
> Craig<br>
><br>
><br>
><br>
</div></div><div><div></div><div class="Wj3C7c">> _______________________________________________<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>
<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>
</div></div></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>