<!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 text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
there is a really great difference in the Via-header of the
REGISTER-message between the Zoiper and the Snom.<br>
Also the Zoiper has a Contact-header, and the Snom REGISTER has not...<br>
<br>
Snom :<br>
<br>
REGISTER sip:sip.domain.tld SIP/2.0<br>
<u><b>Via: SIP/2.0/UDP
192.168.114.200:2049;branch=z9hG4bK-p4ayhthezdr6;rport</b></u><br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld">&lt;sip:test3@sip.domain.tld&gt;</a>;tag=d85nzjmkpk<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: 3c26701f88d8-6i37fwkca22u<br>
CSeq: 9 REGISTER<br>
Max-Forwards: 70<br>
Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@192.168.114.200:2049;line=c38yvjnm">&lt;sip:test3@192.168.114.200:2049;line=c38yvjnm&gt;</a>;reg-id=1;q=1.0;+sip.instance="&lt;urn:uuid:0c5bc641-5821-4562-a514-f9e81d97c118&gt;";audio;mobility="fixed";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>
SIP/2.0 401 Unauthorized<br>
<u><b>Via: SIP/2.0/UDP
192.168.114.200:2049;branch=z9hG4bK-p4ayhthezdr6;received=public_ip;rport=64646</b></u><br>
From: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld">&lt;sip:test3@sip.domain.tld&gt;</a>;tag=d85nzjmkpk<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:test3@sip.domain.tld">&lt;sip:test3@sip.domain.tld&gt;</a>;tag=as21294ace<br>
Call-ID: 3c26701f88d8-6i37fwkca22u<br>
CSeq: 9 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="120e4f10"<br>
Content-Length: 0<br>
<br>
<br>
Zoiper :<br>
<br>
REGISTER sip:sip.domain.tld;transport=UDP SIP/2.0<br>
<u><b>Via: SIP/2.0/UDP
public_ip:59096;branch=z9hG4bK-d8754z-83ebdbc32d0fb2e0-1---d8754z-;rport</b></u><br>
Max-Forwards: 70<br>
<u><b>Contact:
&lt;sip:test3@public_ip:59096;rinstance=d6dc257201b6ffa2;transport=UDP&gt;</b></u><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=5a50ca11<br>
Call-ID: NjY2MmY3NjRkNDRlOWJhOGQ2NzgyNzg4Y2M5ZGFlZjE.<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>
SIP/2.0 401 Unauthorized<br>
<u><b>Via: SIP/2.0/UDP
public_ip:59096;branch=z9hG4bK-d8754z-83ebdbc32d0fb2e0-1---d8754z-;received=public_ip;rport=59095</b></u><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=5a50ca11<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=as1640cd46<br>
Call-ID: NjY2MmY3NjRkNDRlOWJhOGQ2NzgyNzg4Y2M5ZGFlZjE.<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="08277195"<br>
Content-Length: 0<br>
<br>
<br>
Is that why Asterisk is not able to send the 401 or the 200 ??<br>
<br>
Anyone knows if there is a special setting in the Snom 320 or Asterisk
itself to overcome this issue ?!<br>
<br>
<br>
Jonas.<br>
<br>
</body>
</html>