<html><body bgcolor="#FFFFFF"><div>It's been my experience that the snoms work okay in a remote scenario. I would try using 5060/internal.xml first. Make sure it works there and then do what David P suggested about copying internal.xml and creating a new profile. </div><div><br></div><div>-MC<br><br>Sent from my iPhone</div><div><br>On May 2, 2010, at 1:00 AM, David Ponzone <<a href="mailto:david.ponzone@gmail.com">david.ponzone@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Sean,<div><br></div><div>my suggestion would be not to reinvent the wheel.</div><div>If you need another profile to accept registrations, just copy internal.xml and modify what you need.</div><div><br></div><div>But I think there is another issue here.</div><div>FS sends back a 401, which is normal, but your SNOM should then send another REGISTER with Digest auth.</div><div>It doesn't OR your failed to include the whole trace.</div><div>If it doesn't, it means it's screwed.</div><div>I had this issue with a very bad ATA from Telco Systems.</div><div>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).</div><div><br></div><div>First thing, can you confirm ASAP you included the whole trace ?</div><div><br></div><div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone </font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr"><a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space"> </span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/"><a href="http://www.ipeva.fr">www.ipeva.fr</a></a></span><span style="color: rgb(101, 104, 149); "> - <span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/"><a href="http://www.ipeva-studio.com">www.ipeva-studio.com</a></a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><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. </i><b><i>IPeva</i></b><i> 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.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br><div><div>Le 02/05/2010 à 03:30, Sean Holt a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> <font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">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 <a href="sip:71.133.39.219:5090">sip:71.133.39.219:5090</a> 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</span></font> </div> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>