Hi, All,
I always get 404 respond when I send SUBSCRIBE to asterisk. Does anybody know
why?
Message flow is as follows:
SUBSCRIBE sip:1006 at 192.168.1.32:5060 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.36:5060;rport;branch=z9hG4bKPjdf42536ef66447529e3da381f3556c1b
Max-Forwards: 70
From: "1003" <sip:1003 at
192.168.1.32>;tag=b23ca2205f964a4b951ddb90326f544a
To: <sip:1006 at 192.168.1.32>
Contact: <sip:1003 at 192.168.1.36:5060>
Call-ID: 25a03edb881c4b8582baccea451078bc
CSeq: 18467 SUBSCRIBE
Event: dialog
Expires: 300
Accept: application/dialog-info+xml
Allow-Events: refer, dialog
Content-Length: 0
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
192.168.1.36:5060;branch=z9hG4bKPjdf42536ef66447529e3da381f3556c1b;received=192.168.1.36;rport=5060
From: "1003" <sip:1003 at
192.168.1.32>;tag=b23ca2205f964a4b951ddb90326f544a
To: <sip:1006 at 192.168.1.32>;tag=as29c6808b
Call-ID: 25a03edb881c4b8582baccea451078bc
CSeq: 18467 SUBSCRIBE
Server: Asterisk PBX 1.6.2.0-rc1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk",
nonce="24c2056c"
Content-Length: 0
SUBSCRIBE sip:1006 at 192.168.1.32:5060 SIP/2.0
Via: SIP/2.0/UDP
192.168.1.36:5060;rport;branch=z9hG4bKPjb8a9f275986c45d596f56e747aac0e48
Max-Forwards: 70
From: "1003" <sip:1003 at
192.168.1.32>;tag=b23ca2205f964a4b951ddb90326f544a
To: <sip:1006 at 192.168.1.32>
Contact: <sip:1003 at 192.168.1.36:5060>
Call-ID: 25a03edb881c4b8582baccea451078bc
CSeq: 18468 SUBSCRIBE
Event: dialog
Expires: 300
Accept: application/dialog-info+xml
Allow-Events: refer, dialog
Authorization: Digest username="1003", realm="asterisk",
nonce="24c2056c", uri="sip:1006 at 192.168.1.32:5060",
response="0c3c8ae04133a14b913f906ee2ca9c02", algorithm=MD5
Content-Length: 0
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
192.168.1.36:5060;branch=z9hG4bKPjb8a9f275986c45d596f56e747aac0e48;received=192.168.1.36;rport=5060
From: "1003" <sip:1003 at
192.168.1.32>;tag=b23ca2205f964a4b951ddb90326f544a
To: <sip:1006 at 192.168.1.32>;tag=as29c6808b
Call-ID: 25a03edb881c4b8582baccea451078bc
CSeq: 18468 SUBSCRIBE
Server: Asterisk PBX 1.6.2.0-rc1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090918/6feafc07/attachment.htm