<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Connect external phone</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>David,<BR>
<BR>
I did double check firmware version for my phone, it&#8217;s the most up-to-date. &nbsp;I have been able to connect the phone inside the the local lan no problem, I&#8217;m attempting to test an external connection for office employee&#8217;s who are in different city locations.<BR>
<BR>
I turned on trace using this command, sofia profile gexternal siptrace on. &nbsp;The only logging that I saw referencing M3 I provided below. &nbsp;I could turn on sofia loglevel for additional info if that helps.<BR>
<BR>
I wonder, since my phone is behind a NAT if that&#8217;s causing an issue.<BR>
<BR>
Thanks<BR>
Sean<BR>
<BR>
<BR>
On 5/2/10 1:00 AM, &quot;David Ponzone&quot; &lt;<a href="david.ponzone@gmail.com">david.ponzone@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Sean,<BR>
<BR>
my suggestion would be not to reinvent the wheel.<BR>
If you need another profile to accept registrations, just copy internal.xml and modify what you need.<BR>
<BR>
But I think there is another issue here.<BR>
FS sends back a 401, which is normal, but your SNOM should then send another REGISTER with Digest auth.<BR>
It doesn't OR your failed to include the whole trace.<BR>
If it doesn't, it means it's screwed.<BR>
I had this issue with a very bad ATA from Telco Systems.<BR>
But I think some people use the M3 on FS, so I guess there is way to make that work (perhaps a firmware update on the M3 or a parameter).<BR>
<BR>
First thing, can you confirm ASAP you included the whole trace ?<BR>
<BR>
&nbsp;<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'><FONT COLOR="#1C00FF"><FONT FACE="Helvetica Neue">David Ponzone &nbsp;</FONT></FONT></SPAN><FONT FACE="Helvetica Neue"><FONT SIZE="1"><SPAN STYLE='font-size:9pt'>Direction Technique<BR>
</SPAN></FONT><FONT SIZE="2"><SPAN STYLE='font-size:10pt'>email: <a href="david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a><BR>
tel: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;01 74 03 18 97<BR>
gsm: &nbsp;&nbsp;06 66 98 76 34<BR>
</SPAN></FONT><SPAN STYLE='font-size:10.5pt'><BR>
<FONT COLOR="#1C00FF">Service Client </FONT><FONT COLOR="#FF0000">IP</FONT><FONT COLOR="#1C00FF">eva<BR>
</FONT></SPAN><FONT COLOR="#1C00FF"><FONT SIZE="2"><SPAN STYLE='font-size:10pt'>tel: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0811 46 26 26<BR>
www.ipeva.fr &lt;BLOCKED::<a href="http://www.ipeva.fr/">http://www.ipeva.fr/</a>&gt; &nbsp;&nbsp;- &nbsp;&nbsp;www.ipeva-studio.com &lt;BLOCKED::<a href="http://www.ipeva-studio.com/">http://www.ipeva-studio.com/</a>&gt; <BR>
<BR>
<I>Ce message et toutes les pi&egrave;ces jointes sont confidentiels et &eacute;tablis &agrave; l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris&eacute;e est interdite. Tout message &eacute;lectronique est susceptible d'alt&eacute;ration. <B>IPeva</B> d&eacute;cline toute responsabilit&eacute; au titre de ce message s'il a &eacute;t&eacute; alt&eacute;r&eacute;, d&eacute;form&eacute; ou falsifi&eacute;. Si vous n'&ecirc;tes pas destinataire de ce message, merci de le d&eacute;truire imm&eacute;diatement et d'avertir l'exp&eacute;diteur.<BR>
</I></SPAN></FONT></FONT><FONT SIZE="2"><SPAN STYLE='font-size:10pt'><I><FONT COLOR="#C0C0C0"><BR>
</FONT></I></SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:10.5pt'><BR>
</SPAN></FONT><SPAN STYLE='font-size:10.5pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
&nbsp;<BR>
<BR>
Le 02/05/2010 &agrave; 03:30, Sean Holt a &eacute;crit :<BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:10.5pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"> Hello list,<BR>
&nbsp;<BR>
&nbsp;I keep getting this authentication error when I attempt to connect a device from the outside. &nbsp;I followed the wiki that suggest creating a separate profile to handle external device connections.<BR>
&nbsp;<BR>
&nbsp;Here&#8217;s my external xml file<BR>
&nbsp;&lt;profile name=&quot;gexternal5090&quot;&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;!-- This profile is only for outbound registrations to providers --&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;gateways&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;external/*.xml&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;/gateways&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;aliases&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;alias name=&quot;outbound&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;/aliases&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;domains&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;domain name=&quot;$${domain}&quot; parse=&quot;true&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;/domains&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;settings&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;sip-trace&quot; value=&quot;no&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rfc2833-pt&quot; value=&quot;101&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;sip-port&quot; value=&quot;5090&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;dtmf-duration&quot; value=&quot;100&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;codec-prefs&quot; value=&quot;$${outbound_codec_prefs}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;use-rtp-timer&quot; value=&quot;true&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rtp-timer-name&quot; value=&quot;soft&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;manage-presence&quot; value=&quot;false&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;inbound-codec-negotiation&quot; value=&quot;generous&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;nonce-ttl&quot; value=&quot;60&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rtp-timeout-sec&quot; value=&quot;1800&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rtp-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;sip-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;ext-rtp-ip&quot; value=&quot;71.133.39.219&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;ext-sip-ip&quot; value=&quot;71.133.39.219&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rtp-timeout-sec&quot; value=&quot;300&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;param name=&quot;rtp-hold-timeout-sec&quot; value=&quot;1800&quot;/&gt;<BR>
&nbsp;&nbsp;&nbsp;&lt;/settings&gt;<BR>
&nbsp;&lt;/profile&gt;<BR>
&nbsp;<BR>
&nbsp;I did a siptrace on the incoming connection attempt<BR>
&nbsp;&nbsp;&nbsp;------------------------------------------------------------------------<BR>
&nbsp;&nbsp;&nbsp;&nbsp;REGISTER sip:71.133.39.219:5090 SIP/2.0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Via: SIP/2.0/UDP x.x.x.x:5090;branch=z9hG4bKvvaun9r6.1u8ej<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Max-Forwards: 70<BR>
&nbsp;&nbsp;&nbsp;&nbsp;From: &lt;sip:<a href="1001@71.133.39.219">1001@71.133.39.219</a>&gt;;tag=i9w3pt4bm4tpsl<BR>
&nbsp;&nbsp;&nbsp;&nbsp;To: &lt;sip:<a href="1001@71.133.39.219">1001@71.133.39.219</a>&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Call-ID: fo33ia7sk6qy9vnk6h<BR>
&nbsp;&nbsp;&nbsp;&nbsp;CSeq: 75203 REGISTER<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Contact: &lt;sip:<a href="1001@x.x.x.x:5090">1001@x.x.x.x:5090</a>;line=20880&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Allow: INVITE, CANCEL, BYE, ACK, REGISTER, OPTIONS, REFER, SUBSCRIBE, NOTIFY, MESSAGE, INFO, PRACK<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Expires: 600<BR>
&nbsp;&nbsp;&nbsp;&nbsp;User-Agent: snom-m3-SIP/02.02 (MAC=0004132AD0BE; HW=255)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Content-Length: 0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;------------------------------------------------------------------------<BR>
&nbsp;send 591 bytes to udp/[x.x.x.x]:5090 at 01:26:47.109165:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;------------------------------------------------------------------------<BR>
&nbsp;&nbsp;&nbsp;&nbsp;SIP/2.0 401 Unauthorized<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Via: SIP/2.0/UDP 10.0.10.231:5090;branch=z9hG4bKvvaun9r6.1u8ej;received=207.47.31.108<BR>
&nbsp;&nbsp;&nbsp;&nbsp;From: &lt;sip:<a href="1001@71.133.39.219">1001@71.133.39.219</a>&gt;;tag=i9w3pt4bm4tpsl<BR>
&nbsp;&nbsp;&nbsp;&nbsp;To: &lt;sip:<a href="1001@71.133.39.219">1001@71.133.39.219</a>&gt;;tag=Zc7mBaBN723Bp<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Call-ID: fo33ia7sk6qy9vnk6h<BR>
&nbsp;&nbsp;&nbsp;&nbsp;CSeq: 75203 REGISTER<BR>
&nbsp;&nbsp;&nbsp;&nbsp;User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Supported: timer, precondition, path, replaces<BR>
&nbsp;&nbsp;&nbsp;&nbsp;WWW-Authenticate: Digest realm=&quot;71.133.39.219&quot;, nonce=&quot;bd1ecf94-5589-11df-b3f4-c1a375adf51a&quot;, algorithm=MD5, qop=&quot;auth&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Content-Length: 0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;------------------------------------------------------------------------<BR>
&nbsp;&nbsp;<BR>
&nbsp;Thoughts?<BR>
&nbsp;Thanks<BR>
&nbsp;Sean <BR>
&nbsp;&nbsp;_______________________________________________<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:10.5pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>