<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’s the most up-to-date. I have been able to connect the phone inside the the local lan no problem, I’m attempting to test an external connection for office employee’s who are in different city locations.<BR>
<BR>
I turned on trace using this command, sofia profile gexternal siptrace on. The only logging that I saw referencing M3 I provided below. 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’s causing an issue.<BR>
<BR>
Thanks<BR>
Sean<BR>
<BR>
<BR>
On 5/2/10 1:00 AM, "David Ponzone" <<a href="david.ponzone@gmail.com">david.ponzone@gmail.com</a>> 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>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'><FONT COLOR="#1C00FF"><FONT FACE="Helvetica Neue">David Ponzone </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: 01 74 03 18 97<BR>
gsm: 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: 0811 46 26 26<BR>
www.ipeva.fr <BLOCKED::<a href="http://www.ipeva.fr/">http://www.ipeva.fr/</a>> - www.ipeva-studio.com <BLOCKED::<a href="http://www.ipeva-studio.com/">http://www.ipeva-studio.com/</a>> <BR>
<BR>
<I>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. <B>IPeva</B> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expé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>
<BR>
<BR>
Le 02/05/2010 à 03:30, Sean Holt a écrit :<BR>
<BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:10.5pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"> Hello list,<BR>
<BR>
I keep getting this authentication error when I attempt to connect a device from the outside. I followed the wiki that suggest creating a separate profile to handle external device connections.<BR>
<BR>
Here’s my external xml file<BR>
<profile name="gexternal5090"><BR>
<!-- This profile is only for outbound registrations to providers --><BR>
<gateways><BR>
<X-PRE-PROCESS cmd="include" data="external/*.xml"/><BR>
</gateways><BR>
<aliases><BR>
<alias name="outbound"/><BR>
</aliases><BR>
<domains><BR>
<domain name="$${domain}" parse="true"/><BR>
</domains><BR>
<settings><BR>
<param name="debug" value="0"/><BR>
<param name="sip-trace" value="no"/><BR>
<param name="rfc2833-pt" value="101"/><BR>
<param name="sip-port" value="5090"/><BR>
<param name="dialplan" value="XML"/><BR>
<param name="context" value="public"/><BR>
<param name="dtmf-duration" value="100"/><BR>
<param name="codec-prefs" value="$${outbound_codec_prefs}"/><BR>
<param name="hold-music" value="$${moh_uri}"/><BR>
<param name="use-rtp-timer" value="true"/><BR>
<param name="rtp-timer-name" value="soft"/><BR>
<param name="manage-presence" value="false"/><BR>
<param name="inbound-codec-negotiation" value="generous"/><BR>
<param name="nonce-ttl" value="60"/><BR>
<param name="auth-calls" value="false"/><BR>
<param name="rtp-timeout-sec" value="1800"/><BR>
<param name="rtp-ip" value="$${local_ip_v4}"/><BR>
<param name="sip-ip" value="$${local_ip_v4}"/><BR>
<param name="ext-rtp-ip" value="71.133.39.219"/><BR>
<param name="ext-sip-ip" value="71.133.39.219"/><BR>
<param name="rtp-timeout-sec" value="300"/><BR>
<param name="rtp-hold-timeout-sec" value="1800"/><BR>
</settings><BR>
</profile><BR>
<BR>
I did a siptrace on the incoming connection attempt<BR>
------------------------------------------------------------------------<BR>
REGISTER sip:71.133.39.219:5090 SIP/2.0<BR>
Via: SIP/2.0/UDP x.x.x.x:5090;branch=z9hG4bKvvaun9r6.1u8ej<BR>
Max-Forwards: 70<BR>
From: <sip:<a href="1001@71.133.39.219">1001@71.133.39.219</a>>;tag=i9w3pt4bm4tpsl<BR>
To: <sip:<a href="1001@71.133.39.219">1001@71.133.39.219</a>><BR>
Call-ID: fo33ia7sk6qy9vnk6h<BR>
CSeq: 75203 REGISTER<BR>
Contact: <sip:<a href="1001@x.x.x.x:5090">1001@x.x.x.x:5090</a>;line=20880><BR>
Allow: INVITE, CANCEL, BYE, ACK, REGISTER, OPTIONS, REFER, SUBSCRIBE, NOTIFY, MESSAGE, INFO, PRACK<BR>
Expires: 600<BR>
User-Agent: snom-m3-SIP/02.02 (MAC=0004132AD0BE; HW=255)<BR>
Content-Length: 0<BR>
<BR>
------------------------------------------------------------------------<BR>
send 591 bytes to udp/[x.x.x.x]:5090 at 01:26:47.109165:<BR>
------------------------------------------------------------------------<BR>
SIP/2.0 401 Unauthorized<BR>
Via: SIP/2.0/UDP 10.0.10.231:5090;branch=z9hG4bKvvaun9r6.1u8ej;received=207.47.31.108<BR>
From: <sip:<a href="1001@71.133.39.219">1001@71.133.39.219</a>>;tag=i9w3pt4bm4tpsl<BR>
To: <sip:<a href="1001@71.133.39.219">1001@71.133.39.219</a>>;tag=Zc7mBaBN723Bp<BR>
Call-ID: fo33ia7sk6qy9vnk6h<BR>
CSeq: 75203 REGISTER<BR>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-<BR>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<BR>
Supported: timer, precondition, path, replaces<BR>
WWW-Authenticate: Digest realm="71.133.39.219", nonce="bd1ecf94-5589-11df-b3f4-c1a375adf51a", algorithm=MD5, qop="auth"<BR>
Content-Length: 0<BR>
<BR>
------------------------------------------------------------------------<BR>
<BR>
Thoughts?<BR>
Thanks<BR>
Sean <BR>
_______________________________________________<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>