<DIV>Hi, All,</DIV>
<DIV>&nbsp;&nbsp; I always get 404 respond when I send SUBSCRIBE to asterisk. Does anybody know why?<BR>&nbsp;&nbsp; Message flow is as follows:</DIV>
<DIV>&nbsp;&nbsp; SUBSCRIBE sip:1006@192.168.1.32:5060 SIP/2.0<BR>Via: SIP/2.0/UDP 192.168.1.36:5060;rport;branch=z9hG4bKPjdf42536ef66447529e3da381f3556c1b<BR>Max-Forwards: 70<BR>From: "1003" &lt;sip:1003@192.168.1.32&gt;;tag=b23ca2205f964a4b951ddb90326f544a<BR>To: &lt;sip:1006@192.168.1.32&gt;<BR>Contact: &lt;sip:1003@192.168.1.36:5060&gt;<BR>Call-ID: 25a03edb881c4b8582baccea451078bc<BR>CSeq: 18467 SUBSCRIBE<BR>Event: dialog<BR>Expires: 300<BR>Accept: application/dialog-info+xml<BR>Allow-Events: refer, dialog<BR>Content-Length:&nbsp; 0</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>SIP/2.0 401 Unauthorized<BR>Via: SIP/2.0/UDP 192.168.1.36:5060;branch=z9hG4bKPjdf42536ef66447529e3da381f3556c1b;received=192.168.1.36;rport=5060<BR>From: "1003" &lt;sip:1003@192.168.1.32&gt;;tag=b23ca2205f964a4b951ddb90326f544a<BR>To: &lt;sip:1006@192.168.1.32&gt;;tag=as29c6808b<BR>Call-ID: 25a03edb881c4b8582baccea451078bc<BR>CSeq: 18467 SUBSCRIBE<BR>Server: Asterisk PBX 1.6.2.0-rc1<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<BR>Supported: replaces, timer<BR>WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="24c2056c"<BR>Content-Length: 0</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>SUBSCRIBE sip:1006@192.168.1.32:5060 SIP/2.0<BR>Via: SIP/2.0/UDP 192.168.1.36:5060;rport;branch=z9hG4bKPjb8a9f275986c45d596f56e747aac0e48<BR>Max-Forwards: 70<BR>From: "1003" &lt;sip:1003@192.168.1.32&gt;;tag=b23ca2205f964a4b951ddb90326f544a<BR>To: &lt;sip:1006@192.168.1.32&gt;<BR>Contact: &lt;sip:1003@192.168.1.36:5060&gt;<BR>Call-ID: 25a03edb881c4b8582baccea451078bc<BR>CSeq: 18468 SUBSCRIBE<BR>Event: dialog<BR>Expires: 300<BR>Accept: application/dialog-info+xml<BR>Allow-Events: refer, dialog<BR>Authorization: Digest username="1003", realm="asterisk", nonce="24c2056c", uri="sip:1006@192.168.1.32:5060", response="0c3c8ae04133a14b913f906ee2ca9c02", algorithm=MD5<BR>Content-Length:&nbsp; 0</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>SIP/2.0 404 Not Found<BR>Via: SIP/2.0/UDP 192.168.1.36:5060;branch=z9hG4bKPjb8a9f275986c45d596f56e747aac0e48;received=192.168.1.36;rport=5060<BR>From: "1003" &lt;sip:1003@192.168.1.32&gt;;tag=b23ca2205f964a4b951ddb90326f544a<BR>To: &lt;sip:1006@192.168.1.32&gt;;tag=as29c6808b<BR>Call-ID: 25a03edb881c4b8582baccea451078bc<BR>CSeq: 18468 SUBSCRIBE<BR>Server: Asterisk PBX 1.6.2.0-rc1<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<BR>Supported: replaces, timer<BR>Content-Length: 0</DIV><br><br><span title="neteasefooter"/><hr/>
<a href="http://news.163.com/madeinchina/index.html?from=mailfooter">"中国制造",讲述中国60年往事</a>
</span>