<HTML>
<HEAD>
<TITLE>Connect external phone </TITLE>
</HEAD>
<BODY>
<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 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</SPAN></FONT>
</BODY>
</HTML>