isshed
2013-Jan-14 07:33 UTC
[asterisk-users] asterisk is responding with 200 ok to Subscribe.
Hi All, I am sending SUBSCRIBE to asterisk but returns 404 not found. Could anybody help me to fix it. <--- SIP read from 10.199.74.5:6060 ---> SUBSCRIBE sip:7200000001 at open-ims.test SIP/2.0 Record-Route: <sip:mo at scscf.open-ims.test:6060;lr> Route: <sip:10.199.74.3:5060;lr>, <sip:iscmark at scscf.open-ims.test :6060;lr;s=1;h=0;d=0;a=7369703a37323030303030303031406f70656e2d696d732e74657374> Record-Route: <sip:mo at pcscf.open-ims.test:14060;lr> From: "7200000001" <sip:7200000001 at open-ims.test>;tag=24258278242583581 To: <sip:7200000001 at open-ims.test> Call-ID: 1608826711608827511 CSeq: 1 SUBSCRIBE Via: SIP/2.0/UDP 10.199.74.5:6060;branch=z9hG4bK0264.fe2ae8c.0 Via: SIP/2.0/UDP 10.199.74.5:14060;branch=z9hG4bK0264.9e5d7c22.0 Via: SIP/2.0/UDP 10.199.74.34:5060 ;rport=5060;branch=z9hG4bK1943093521943094326 Contact: <sip:7200000001 at 10.199.74.34:5060;transport=UDP> Expires: 600000 Max-Forwards: 15 Content-Length: 0 Accept: application/xml Event: ua-profile;profile-type=application;auid="abcd" Allow-Events: reg,ua-profile P-Asserted-Identity: <sip:7200000001 at open-ims.test> P-Charging-Vector: icid-value="P-CSCFabcd50f394a70000009f";icid-generated-at=10.199.74.5;orig-ioi="open-ims.test" <-------------> --- (21 headers 0 lines) --- Creating new subscription Sending to 10.199.74.5:6060 (no NAT) Found peer '7200000001' for '7200000001' from 10.199.74.5:6060 <--- Transmitting (no NAT) to 10.199.74.5:6060 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.199.74.5:6060 ;branch=z9hG4bK0264.fe2ae8c.0;received=10.199.74.5 Via: SIP/2.0/UDP 10.199.74.5:14060;branch=z9hG4bK0264.9e5d7c22.0 Via: SIP/2.0/UDP 10.199.74.34:5060 ;rport=5060;branch=z9hG4bK1943093521943094326 From: "7200000001" <sip:7200000001 at open-ims.test>;tag=24258278242583581 To: <sip:7200000001 at open-ims.test>;tag=as7ad537f0 Call-ID: 1608826711608827511 CSeq: 1 SUBSCRIBE User-Agent: Asterisk PBX asteriskv6-20080107 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="open-ims.test", nonce="18434838" Content-Length: 0 <------------> Scheduling destruction of SIP dialog '1608826711608827511' in 32000 ms (Method: SUBSCRIBE) <--- SIP read from 10.199.74.5:6060 ---> SUBSCRIBE sip:7200000001 at open-ims.test SIP/2.0 Record-Route: <sip:mo at scscf.open-ims.test:6060;lr> Route: <sip:10.199.74.3:5060;lr>, <sip:iscmark at scscf.open-ims.test :6060;lr;s=1;h=0;d=0;a=7369703a37323030303030303031406f70656e2d696d732e74657374> Record-Route: <sip:mo at pcscf.open-ims.test:14060;lr> From: "7200000001" <sip:7200000001 at open-ims.test>;tag=24258278242583581 To: <sip:7200000001 at open-ims.test> Call-ID: 1608826711608827511 CSeq: 2 SUBSCRIBE Via: SIP/2.0/UDP 10.199.74.5:6060;branch=z9hG4bKd164.9fb1d214.0 Via: SIP/2.0/UDP 10.199.74.5:14060;branch=z9hG4bKd164.8a8c6e96.0 Via: SIP/2.0/UDP 10.199.74.34:5060 ;rport=5060;branch=z9hG4bK60037126600372066 Contact: <sip:7200000001 at 10.199.74.34:5060;transport=UDP> Expires: 600000 Authorization: Digest username="7200000001", realm="open-ims.test",nonce="18434838", uri="sip:7200000001 at open-ims.test", response="a6d5ebb1966ef7a7ca574a6689faa078", algorithm=MD5 Max-Forwards: 15 Content-Length: 0 Accept: application/xml Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,SUBSCRIBE,INFO,REFER,PRACK,UPDATE Event: ua-profile;profile-type=application;auid="abcd" P-Asserted-Identity: <sip:7200000001 at open-ims.test> P-Charging-Vector: icid-value="P-CSCFabcd50f394a8000000a0";icid-generated-at=10.199.74.5;orig-ioi="open-ims.test" <-------------> --- (21 headers 0 lines) --- Creating new subscription Sending to 10.199.74.5:6060 (no NAT) Found peer '7200000001' for '7200000001' from 10.199.74.5:6060 Looking for 7200000001 in default (domain open-ims.test) <--- Transmitting (no NAT) to 10.199.74.5:6060 ---> SIP/2.0 404 Not Found Via: SIP/2.0/UDP 10.199.74.5:6060 ;branch=z9hG4bKd164.9fb1d214.0;received=10.199.74.5 Via: SIP/2.0/UDP 10.199.74.5:14060;branch=z9hG4bKd164.8a8c6e96.0 Via: SIP/2.0/UDP 10.199.74.34:5060 ;rport=5060;branch=z9hG4bK60037126600372066 From: "7200000001" <sip:7200000001 at open-ims.test>;tag=24258278242583581 To: <sip:7200000001 at open-ims.test>;tag=as7ad537f0 Call-ID: 1608826711608827511 CSeq: 2 SUBSCRIBE User-Agent: Asterisk PBX asteriskv6-20080107 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Content-Length: 0 <------------> Really destroying SIP dialog '1608826711608827511' Method: SUBSCRIBE -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130114/6b701f9e/attachment.htm>