<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I'm having difficulty with registering a SIP account in a Snom 320
IP-phone. This is what sip debug tells me :<br>
<br>
<br>
[Oct&nbsp; 7 13:28:42] VERBOSE[20314] chan_sip.c: [Oct&nbsp; 7 13:28:42] <br>
&lt;--- SIP read from UDP:public_ip:58697 ---&gt;<br>
REGISTER sip:sip.domain.tld SIP/2.0<br>
Via: SIP/2.0/UDP 192.168.114.200:2048;branch=z9hG4bK-vj1xvbdnp4dw;rport<br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld">&lt;sip:test3@sip.domain.tld&gt;</a>;tag=sd2b3o74zc<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld">&lt;sip:test3@sip.domain.tld&gt;</a><br>
Call-ID: 3c28a76e73cf-gp9nioi8zdci<br>
CSeq: 12 REGISTER<br>
Max-Forwards: 70<br>
Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@192.168.114.200:2048;line=nagqjxpx">&lt;sip:test3@192.168.114.200:2048;line=nagqjxpx&gt;</a>;reg-id=1;q=1.0;+sip.instance="&lt;urn:uuid:8d4403c1-af97-4139-b535-de7d460a9187&gt;";audio;mobility="fix<br>
ed";duplex="full";description="snom320";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"<br>
User-Agent: snom320/8.4.18<br>
Allow-Events: dialog<br>
X-Real-IP: 192.168.114.200<br>
Supported: path, gruu<br>
Expires: 3600<br>
Content-Length: 0<br>
<br>
<br>
&lt;-------------&gt;<br>
[Oct&nbsp; 7 13:28:42] VERBOSE[20314] chan_sip.c: [Oct&nbsp; 7 13:28:42] --- (14
headers 0 lines) ---<br>
[Oct&nbsp; 7 13:28:42] VERBOSE[20314] chan_sip.c: [Oct&nbsp; 7 13:28:42] Sending
to 192.168.114.200 : 2048 (no NAT)<br>
[Oct&nbsp; 7 13:28:42] VERBOSE[20314] chan_sip.c: [Oct&nbsp; 7 13:28:42] <br>
&lt;--- Transmitting (NAT) to public_ip:58697 ---&gt;<br>
SIP/2.0 401 Unauthorized<br>
Via: SIP/2.0/UDP
192.168.114.200:2048;branch=z9hG4bK-vj1xvbdnp4dw;received=public_ip;rport=58697<br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld">&lt;sip:test3@sip.domain.tld&gt;</a>;tag=sd2b3o74zc<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld">&lt;sip:test3@sip.domain.tld&gt;</a>;tag=as6108a7e2<br>
Call-ID: 3c28a76e73cf-gp9nioi8zdci<br>
CSeq: 12 REGISTER<br>
Server: Asterisk PBX 1.6.2.10<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<br>
Supported: replaces, timer<br>
WWW-Authenticate: Digest algorithm=MD5, realm="domain.tld",
nonce="398aee1e"<br>
Content-Length: 0<br>
<br>
<br>
I would expect the Snom to try a second register, this time with some
type of nonce. But there is just 1 REGISTER and 1 Unauthorized and
that's it...<br>
<br>
Other Snom phones with SIP-accounts go very well, but at this location
the registration fails.<br>
<br>
Another remark : when using a Zoiper softphone, the registration goes
very well :<br>
<br>
<br>
REGISTER sip:sip.domain.tld;transport=UDP SIP/2.0<br>
Via: SIP/2.0/UDP
192.168.114.20:5060;branch=z9hG4bK-d8754z-fab4a5effbf90a05-1---d8754z-<br>
Max-Forwards: 70<br>
Contact:
&lt;sip:test3@public_ip:51363;rinstance=b6fd38105c91b9bf;transport=UDP&gt;<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld;transport=UDP">&lt;sip:test3@sip.domain.tld;transport=UDP&gt;</a><br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld;transport=UDP">&lt;sip:test3@sip.domain.tld;transport=UDP&gt;</a>;tag=db1a5018<br>
Call-ID: NzBlZDMyN2U0YTEzZDk4Y2M2N2NmNzMxYTk4OWUxYTY.<br>
CSeq: 1 REGISTER<br>
Expires: 3600<br>
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO,
SUBSCRIBE<br>
User-Agent: Zoiper rev.7797<br>
Allow-Events: presence, kpml<br>
Content-Length: 0<br>
<br>
<br>
&lt;-------------&gt;<br>
[Oct&nbsp; 7 13:46:52] VERBOSE[20314] chan_sip.c: [Oct&nbsp; 7 13:46:52] --- (13
headers 0 lines) ---<br>
[Oct&nbsp; 7 13:46:52] VERBOSE[20314] chan_sip.c: [Oct&nbsp; 7 13:46:52] Sending
to 192.168.114.20 : 5060 (no NAT)<br>
[Oct&nbsp; 7 13:46:52] VERBOSE[20314] chan_sip.c: [Oct&nbsp; 7 13:46:52] <br>
&lt;--- Transmitting (NAT) to public_ip:51363 ---&gt;<br>
SIP/2.0 401 Unauthorized<br>
Via: SIP/2.0/UDP
192.168.114.20:5060;branch=z9hG4bK-d8754z-fab4a5effbf90a05-1---d8754z-;received=public_ip<br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld;transport=UDP">&lt;sip:test3@sip.domain.tld;transport=UDP&gt;</a>;tag=db1a5018<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld;transport=UDP">&lt;sip:test3@sip.domain.tld;transport=UDP&gt;</a>;tag=as2fcfde3c<br>
Call-ID: NzBlZDMyN2U0YTEzZDk4Y2M2N2NmNzMxYTk4OWUxYTY.<br>
CSeq: 1 REGISTER<br>
Server: Asterisk PBX 1.6.2.10<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<br>
Supported: replaces, timer<br>
WWW-Authenticate: Digest algorithm=MD5, realm="domain.tld",
nonce="7833b268"<br>
Content-Length: 0<br>
<br>
REGISTER sip:sip.domain.tld;transport=UDP SIP/2.0<br>
Via: SIP/2.0/UDP
192.168.114.20:5060;branch=z9hG4bK-d8754z-fdd59e394f9c23b9-1---d8754z-<br>
Max-Forwards: 70<br>
Contact:
&lt;sip:test3@public_ip:51363;rinstance=b6fd38105c91b9bf;transport=UDP&gt;<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld;transport=UDP">&lt;sip:test3@sip.domain.tld;transport=UDP&gt;</a><br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld;transport=UDP">&lt;sip:test3@sip.domain.tld;transport=UDP&gt;</a>;tag=db1a5018<br>
Call-ID: NzBlZDMyN2U0YTEzZDk4Y2M2N2NmNzMxYTk4OWUxYTY.<br>
CSeq: 2 REGISTER<br>
Expires: 3600<br>
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO,
SUBSCRIBE<br>
User-Agent: Zoiper rev.7797<br>
Authorization: Digest
username="test3",realm="domain.tld",nonce="7833b268",uri="sip:sip.domain.tld;transport=UDP",response="198f6262248fb11fe6cb55408a1cb8ce",algorithm=MD5<br>
Allow-Events: presence, kpml<br>
Content-Length: 0<br>
<br>
<br>
SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP
192.168.114.20:5060;branch=z9hG4bK-d8754z-fdd59e394f9c23b9-1---d8754z-;received=public_ip<br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld;transport=UDP">&lt;sip:test3@sip.domain.tld;transport=UDP&gt;</a>;tag=db1a5018<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld;transport=UDP">&lt;sip:test3@sip.domain.tld;transport=UDP&gt;</a>;tag=as2fcfde3c<br>
Call-ID: NzBlZDMyN2U0YTEzZDk4Y2M2N2NmNzMxYTk4OWUxYTY.<br>
CSeq: 2 REGISTER<br>
Server: Asterisk PBX 1.6.2.10<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<br>
Supported: replaces, timer<br>
Expires: 60<br>
Contact:
&lt;sip:test3@public_ip:51363;rinstance=b6fd38105c91b9bf;transport=UDP&gt;;expires=60<br>
Date: Thu, 07 Oct 2010 11:46:52 GMT<br>
Content-Length: 0<br>
<br>
<br>
It's the same account, the same password, but other agent.<br>
<br>
Can anyone help me with this please ?! I see no difference but there
must be !!<br>
<br>
<br>
Kind regards,<br>
Jonas.<br>
</font>
</body>
</html>