<div dir="ltr"><div>Hi All,</div><div> </div><div>I am sending SUBSCRIBE to asterisk but returns 404 not found. Could anybody help me to fix it.</div><div><br>&lt;--- SIP read from <a href="http://10.199.74.5:6060">10.199.74.5:6060</a> ---&gt;<br>
SUBSCRIBE sip:7200000001@open-ims.test SIP/2.0<br>Record-Route: &lt;sip:mo@scscf.open-ims.test:6060;lr&gt;<br>Route: &lt;sip:10.199.74.3:5060;lr&gt;, &lt;sip:iscmark@scscf.open-ims.test:6060;lr;s=1;h=0;d=0;a=7369703a37323030303030303031406f70656e2d696d732e74657374&gt;<br>
Record-Route: &lt;sip:mo@pcscf.open-ims.test:14060;lr&gt;<br>From: &quot;7200000001&quot; &lt;sip:7200000001@open-ims.test&gt;;tag=24258278242583581<br>To: &lt;sip:7200000001@open-ims.test&gt;<br>Call-ID: 1608826711608827511<br>
CSeq: 1 SUBSCRIBE<br>Via: SIP/2.0/UDP 10.199.74.5:6060;branch=z9hG4bK0264.fe2ae8c.0<br>Via: SIP/2.0/UDP 10.199.74.5:14060;branch=z9hG4bK0264.9e5d7c22.0<br>Via: SIP/2.0/UDP 10.199.74.34:5060;rport=5060;branch=z9hG4bK1943093521943094326<br>
Contact: &lt;sip:7200000001@10.199.74.34:5060;transport=UDP&gt;<br>Expires: 600000<br>Max-Forwards: 15<br>Content-Length: 0<br>Accept: application/xml<br>Event: ua-profile;profile-type=application;auid=&quot;abcd&quot;<br>
Allow-Events: reg,ua-profile<br>P-Asserted-Identity: &lt;sip:7200000001@open-ims.test&gt;<br>P-Charging-Vector: icid-value=&quot;P-CSCFabcd50f394a70000009f&quot;;icid-generated-at=10.199.74.5;orig-ioi=&quot;open-ims.test&quot;</div>
<p><br>&lt;-------------&gt;<br>--- (21 headers 0 lines) ---<br>Creating new subscription<br>Sending to <a href="http://10.199.74.5:6060">10.199.74.5:6060</a> (no NAT)<br>Found peer &#39;7200000001&#39; for &#39;7200000001&#39; from <a href="http://10.199.74.5:6060">10.199.74.5:6060</a></p>
<p>&lt;--- Transmitting (no NAT) to <a href="http://10.199.74.5:6060">10.199.74.5:6060</a> ---&gt;<br>SIP/2.0 401 Unauthorized<br>Via: SIP/2.0/UDP 10.199.74.5:6060;branch=z9hG4bK0264.fe2ae8c.0;received=10.199.74.5<br>Via: SIP/2.0/UDP 10.199.74.5:14060;branch=z9hG4bK0264.9e5d7c22.0<br>
Via: SIP/2.0/UDP 10.199.74.34:5060;rport=5060;branch=z9hG4bK1943093521943094326<br>From: &quot;7200000001&quot; &lt;sip:7200000001@open-ims.test&gt;;tag=24258278242583581<br>To: &lt;sip:7200000001@open-ims.test&gt;;tag=as7ad537f0<br>
Call-ID: 1608826711608827511<br>CSeq: 1 SUBSCRIBE<br>User-Agent: Asterisk PBX asteriskv6-20080107<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>Supported: replaces<br>WWW-Authenticate: Digest algorithm=MD5, realm=&quot;open-ims.test&quot;, nonce=&quot;18434838&quot;<br>
Content-Length: 0</p><p><br>&lt;------------&gt;<br>Scheduling destruction of SIP dialog &#39;1608826711608827511&#39; in 32000 ms (Method: SUBSCRIBE)</p><p>&lt;--- SIP read from <a href="http://10.199.74.5:6060">10.199.74.5:6060</a> ---&gt;<br>
SUBSCRIBE sip:7200000001@open-ims.test SIP/2.0<br>Record-Route: &lt;sip:mo@scscf.open-ims.test:6060;lr&gt;<br>Route: &lt;sip:10.199.74.3:5060;lr&gt;, &lt;sip:iscmark@scscf.open-ims.test:6060;lr;s=1;h=0;d=0;a=7369703a37323030303030303031406f70656e2d696d732e74657374&gt;<br>
Record-Route: &lt;sip:mo@pcscf.open-ims.test:14060;lr&gt;<br>From: &quot;7200000001&quot; &lt;sip:7200000001@open-ims.test&gt;;tag=24258278242583581<br>To: &lt;sip:7200000001@open-ims.test&gt;<br>Call-ID: 1608826711608827511<br>
CSeq: 2 SUBSCRIBE<br>Via: SIP/2.0/UDP 10.199.74.5:6060;branch=z9hG4bKd164.9fb1d214.0<br>Via: SIP/2.0/UDP 10.199.74.5:14060;branch=z9hG4bKd164.8a8c6e96.0<br>Via: SIP/2.0/UDP 10.199.74.34:5060;rport=5060;branch=z9hG4bK60037126600372066<br>
Contact: &lt;sip:7200000001@10.199.74.34:5060;transport=UDP&gt;<br>Expires: 600000<br>Authorization: Digest username=&quot;7200000001&quot;, realm=&quot;open-ims.test&quot;,nonce=&quot;18434838&quot;, uri=&quot;sip:7200000001@open-ims.test&quot;, response=&quot;a6d5ebb1966ef7a7ca574a6689faa078&quot;, algorithm=MD5<br>
Max-Forwards: 15<br>Content-Length: 0<br>Accept: application/xml<br>Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,SUBSCRIBE,INFO,REFER,PRACK,UPDATE<br>Event: ua-profile;profile-type=application;auid=&quot;abcd&quot;<br>P-Asserted-Identity: &lt;sip:7200000001@open-ims.test&gt;<br>
P-Charging-Vector: icid-value=&quot;P-CSCFabcd50f394a8000000a0&quot;;icid-generated-at=10.199.74.5;orig-ioi=&quot;open-ims.test&quot;</p><p><br>&lt;-------------&gt;<br>--- (21 headers 0 lines) ---<br>Creating new subscription<br>
Sending to <a href="http://10.199.74.5:6060">10.199.74.5:6060</a> (no NAT)<br>Found peer &#39;7200000001&#39; for &#39;7200000001&#39; from <a href="http://10.199.74.5:6060">10.199.74.5:6060</a><br>Looking for 7200000001 in default (domain open-ims.test)</p>
<p>&lt;--- Transmitting (no NAT) to <a href="http://10.199.74.5:6060">10.199.74.5:6060</a> ---&gt;<br>SIP/2.0 404 Not Found<br>Via: SIP/2.0/UDP 10.199.74.5:6060;branch=z9hG4bKd164.9fb1d214.0;received=10.199.74.5<br>Via: SIP/2.0/UDP 10.199.74.5:14060;branch=z9hG4bKd164.8a8c6e96.0<br>
Via: SIP/2.0/UDP 10.199.74.34:5060;rport=5060;branch=z9hG4bK60037126600372066<br>From: &quot;7200000001&quot; &lt;sip:7200000001@open-ims.test&gt;;tag=24258278242583581<br>To: &lt;sip:7200000001@open-ims.test&gt;;tag=as7ad537f0<br>
Call-ID: 1608826711608827511<br>CSeq: 2 SUBSCRIBE<br>User-Agent: Asterisk PBX asteriskv6-20080107<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>Supported: replaces<br>Content-Length: 0</p><p><br>
&lt;------------&gt;<br>Really destroying SIP dialog &#39;1608826711608827511&#39; Method: SUBSCRIBE<br></p></div>