<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Has anybody managed to get SipXPhone working with asterisk? I just
cannot get it to work. It just keeps reporting an authentication
failure even though all the details seem correct. The same settings
work fine in X-Lite. Failing that, are there any opensource or
reasonably priced SIP SDKs that people can recommend?<br>
<br>
<br>
<br>
<br>
I have the log from the SipXPhone. It says authentication required, yet
it is definitely using the correct user/pass. <br>
<br>
Thanks,<br>
<br>
<br>
<br>
<h3>SIP Message Log</h3>
<pre>SipUserAgent::sendUdp UDP SIP User Agent sent message:
----Remote Host:192.168.3.2---- Port: 0----
REGISTER sip:192.168.3.2 SIP/2.0
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=a3f7929">sip:mark@192.168.3.2;tag=a3f7929</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2">sip:mark@192.168.3.2</a>
Call-Id: 2e7cacadbcf327613f3430d1acf097c5
Cseq: 2146483648 REGISTER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.2.190;LINEID=adba43c7ad800946e9ca7305341f2df9">&lt;sip:mark@192.168.2.190;LINEID=adba43c7ad800946e9ca7305341f2df9&gt;</a>;EXPIRES=0
Date: Wed, 12 Apr 2006 08:13:28 GMT
Max-Forwards: 20
User-Agent: sipX/2.5.2 (WinNT)
Accept-Language: en
Supported: sip-cc, sip-cc-01, timer, replaces
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-17752052e688c4514c7b61930a3f7132;rport
Content-Length: 0

--------------------END--------------------
Read SIP message:
----Remote Host:192.168.3.2---- Port: 5060----
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-17752052e688c4514c7b61930a3f7132
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=a3f7929">sip:mark@192.168.3.2;tag=a3f7929</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as45b7a53c">sip:mark@192.168.3.2;tag=as45b7a53c</a>
Call-ID: 2e7cacadbcf327613f3430d1acf097c5
CSeq: 2146483648 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
Content-Length: 0

====================END====================
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-17752052e688c4514c7b61930a3f7132
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=a3f7929">sip:mark@192.168.3.2;tag=a3f7929</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as45b7a53c">sip:mark@192.168.3.2;tag=as45b7a53c</a>
Call-Id: 2e7cacadbcf327613f3430d1acf097c5
Cseq: 2146483648 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
Content-Length: 0
Date: Wed, 12 Apr 2006 08:13:28 GMT

++++++++++++++++++++END++++++++++++++++++++
Read SIP message:
----Remote Host:192.168.3.2---- Port: 5060----
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-17752052e688c4514c7b61930a3f7132
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=a3f7929">sip:mark@192.168.3.2;tag=a3f7929</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as45b7a53c">sip:mark@192.168.3.2;tag=as45b7a53c</a>
Call-ID: 2e7cacadbcf327613f3430d1acf097c5
CSeq: 2146483648 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
WWW-Authenticate: Digest realm="asterisk", nonce="2409d1bd"
Content-Length: 0

====================END====================
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-17752052e688c4514c7b61930a3f7132
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=a3f7929">sip:mark@192.168.3.2;tag=a3f7929</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as45b7a53c">sip:mark@192.168.3.2;tag=as45b7a53c</a>
Call-Id: 2e7cacadbcf327613f3430d1acf097c5
Cseq: 2146483648 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
Www-Authenticate: Digest realm="asterisk", nonce="2409d1bd"
Content-Length: 0
Date: Wed, 12 Apr 2006 08:13:28 GMT

++++++++++++++++++++END++++++++++++++++++++
SIP User agent delayed dispatch message:
SIP/2.0 401 Unauthorized
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=a3f7929">sip:mark@192.168.3.2;tag=a3f7929</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as45b7a53c">sip:mark@192.168.3.2;tag=as45b7a53c</a>
Call-Id: 2e7cacadbcf327613f3430d1acf097c5
Cseq: 2146483648 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
Www-Authenticate: Digest realm="asterisk", nonce="2409d1bd"
Content-Length: 0
Date: Wed, 12 Apr 2006 08:13:28 GMT

++++++++++++++++++++END++++++++++++++++++++
SipUserAgent::sendUdp UDP SIP User Agent sent message:
----Remote Host:192.168.3.2---- Port: 0----
REGISTER sip:192.168.3.2 SIP/2.0
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=49195c41">sip:mark@192.168.3.2;tag=49195c41</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2">sip:mark@192.168.3.2</a>
Call-Id: 2c0309cd5d962e6a6d773eb85aba9617
Cseq: 1 REGISTER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.2.190;LINEID=adba43c7ad800946e9ca7305341f2df9">&lt;sip:mark@192.168.2.190;LINEID=adba43c7ad800946e9ca7305341f2df9&gt;</a>
Expires: 600
Date: Wed, 12 Apr 2006 08:13:29 GMT
Max-Forwards: 20
User-Agent: sipX/2.5.2 (WinNT)
Accept-Language: en
Supported: sip-cc, sip-cc-01, timer, replaces
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-0172b9b42586f951f1904d0072871fcd;rport
Content-Length: 0

--------------------END--------------------
Read SIP message:
----Remote Host:192.168.3.2---- Port: 5060----
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-0172b9b42586f951f1904d0072871fcd
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=49195c41">sip:mark@192.168.3.2;tag=49195c41</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as574d6363">sip:mark@192.168.3.2;tag=as574d6363</a>
Call-ID: 2c0309cd5d962e6a6d773eb85aba9617
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
Content-Length: 0

====================END====================
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-0172b9b42586f951f1904d0072871fcd
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=49195c41">sip:mark@192.168.3.2;tag=49195c41</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as574d6363">sip:mark@192.168.3.2;tag=as574d6363</a>
Call-Id: 2c0309cd5d962e6a6d773eb85aba9617
Cseq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
Content-Length: 0
Date: Wed, 12 Apr 2006 08:13:29 GMT

++++++++++++++++++++END++++++++++++++++++++
Read SIP message:
----Remote Host:192.168.3.2---- Port: 5060----
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-0172b9b42586f951f1904d0072871fcd
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=49195c41">sip:mark@192.168.3.2;tag=49195c41</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as574d6363">sip:mark@192.168.3.2;tag=as574d6363</a>
Call-ID: 2c0309cd5d962e6a6d773eb85aba9617
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
WWW-Authenticate: Digest realm="asterisk", nonce="0f5135ce"
Content-Length: 0

====================END====================
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-0172b9b42586f951f1904d0072871fcd
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=49195c41">sip:mark@192.168.3.2;tag=49195c41</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as574d6363">sip:mark@192.168.3.2;tag=as574d6363</a>
Call-Id: 2c0309cd5d962e6a6d773eb85aba9617
Cseq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
Www-Authenticate: Digest realm="asterisk", nonce="0f5135ce"
Content-Length: 0
Date: Wed, 12 Apr 2006 08:13:29 GMT

++++++++++++++++++++END++++++++++++++++++++
SIP User agent delayed dispatch message:
SIP/2.0 401 Unauthorized
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=49195c41">sip:mark@192.168.3.2;tag=49195c41</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=as574d6363">sip:mark@192.168.3.2;tag=as574d6363</a>
Call-Id: 2c0309cd5d962e6a6d773eb85aba9617
Cseq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.3.2">&lt;sip:mark@192.168.3.2&gt;</a>
Www-Authenticate: Digest realm="asterisk", nonce="0f5135ce"
Content-Length: 0
Date: Wed, 12 Apr 2006 08:13:29 GMT

++++++++++++++++++++END++++++++++++++++++++
SipUserAgent::sendUdp UDP SIP User Agent sent message:
----Remote Host:192.168.3.2---- Port: 0----
INVITE <a class="moz-txt-link-abbreviated" href="mailto:sip:102@192.168.3.2">sip:102@192.168.3.2</a> SIP/2.0
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=1c695">sip:mark@192.168.3.2;tag=1c695</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:102@192.168.3.2">sip:102@192.168.3.2</a>
Call-Id: <a class="moz-txt-link-abbreviated" href="mailto:call-1144829666-1@192.168.2.190">call-1144829666-1@192.168.2.190</a>
Cseq: 1 INVITE
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@192.168.2.190:5060">&lt;sip:mark@192.168.2.190:5060&gt;</a>
Content-Type: application/sdp
Content-Length: 197
Date: Wed, 12 Apr 2006 08:14:30 GMT
Max-Forwards: 20
User-Agent: sipX/2.5.2 (WinNT)
Accept-Language: en
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE
Supported: sip-cc, sip-cc-01, timer, replaces
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-f99a2178ba58431e61afbf0658c760b8;rport

v=0
o=sipX 5 5 IN IP4 192.168.2.190
s=phone-call
c=IN IP4 192.168.2.190
t=0 0
m=audio 10000 RTP/AVP 0 8 96
a=rtpmap:0 pcmu/8000/1
a=rtpmap:8 pcma/8000/1
a=rtpmap:96 telephone-event/8000/1
--------------------END--------------------
Read SIP message:
----Remote Host:192.168.3.2---- Port: 5060----
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-f99a2178ba58431e61afbf0658c760b8
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=1c695">sip:mark@192.168.3.2;tag=1c695</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:102@192.168.3.2;tag=as4047b97d">sip:102@192.168.3.2;tag=as4047b97d</a>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:call-1144829666-1@192.168.2.190">call-1144829666-1@192.168.2.190</a>
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:102@192.168.3.2">&lt;sip:102@192.168.3.2&gt;</a>
Proxy-Authenticate: Digest realm="asterisk", nonce="6b0b69b7"
Content-Length: 0

====================END====================
SipUserAgent::sendUdp UDP SIP User Agent sent message:
----Remote Host:192.168.3.2---- Port: 0----
ACK <a class="moz-txt-link-abbreviated" href="mailto:sip:102@192.168.3.2">sip:102@192.168.3.2</a> SIP/2.0
Contact: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.2.190:5060">sip:mark@192.168.2.190:5060</a>
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=1c695">sip:mark@192.168.3.2;tag=1c695</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:102@192.168.3.2;tag=as4047b97d">sip:102@192.168.3.2;tag=as4047b97d</a>
Call-Id: <a class="moz-txt-link-abbreviated" href="mailto:call-1144829666-1@192.168.2.190">call-1144829666-1@192.168.2.190</a>
Cseq: 1 ACK
Max-Forwards: 20
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-f99a2178ba58431e61afbf0658c760b8;rport
Content-Length: 0

--------------------END--------------------
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.2.190;branch=z9hG4bK-f99a2178ba58431e61afbf0658c760b8
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=1c695">sip:mark@192.168.3.2;tag=1c695</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:102@192.168.3.2;tag=as4047b97d">sip:102@192.168.3.2;tag=as4047b97d</a>
Call-Id: <a class="moz-txt-link-abbreviated" href="mailto:call-1144829666-1@192.168.2.190">call-1144829666-1@192.168.2.190</a>
Cseq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:102@192.168.3.2">&lt;sip:102@192.168.3.2&gt;</a>
Proxy-Authenticate: Digest realm="asterisk", nonce="6b0b69b7"
Content-Length: 0
Date: Wed, 12 Apr 2006 08:14:30 GMT

++++++++++++++++++++END++++++++++++++++++++
SIP User agent delayed dispatch message:
SIP/2.0 407 Proxy Authentication Required
From: <a class="moz-txt-link-abbreviated" href="mailto:sip:mark@192.168.3.2;tag=1c695">sip:mark@192.168.3.2;tag=1c695</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:sip:102@192.168.3.2;tag=as4047b97d">sip:102@192.168.3.2;tag=as4047b97d</a>
Call-Id: <a class="moz-txt-link-abbreviated" href="mailto:call-1144829666-1@192.168.2.190">call-1144829666-1@192.168.2.190</a>
Cseq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:102@192.168.3.2">&lt;sip:102@192.168.3.2&gt;</a>
Proxy-Authenticate: Digest realm="asterisk", nonce="6b0b69b7"
Content-Length: 0
Date: Wed, 12 Apr 2006 08:14:30 GMT

++++++++++++++++++++END++++++++++++++++++++
</pre>
<br>
</body>
</html>