[asterisk-users] PJSIP OPTIONS

volga629 at networklab.ca volga629 at networklab.ca
Sun Dec 3 08:42:37 CST 2017


Right now it reply 401 Unauthorized with message in log "No matching 
endpoint ..."
on Content 0 should reply 200 OK I guess

<--- Received SIP request (376 bytes) from UDP:10.30.100.41:5060 --->
OPTIONS sip:10.30.100.27:5080 SIP/2.0
Via: SIP/2.0/UDP 
10.30.100.41;branch=z9hG4bKf5eb.1ac76487000000000000000000000000.0
To: <sip:10.30.100.27:5080>
 From: 
<sip:vprx00 at 10.30.100.41>;tag=392222e512215177543fc3584bac4ab8-64cb
CSeq: 10 OPTIONS
Call-ID: 66bf010933a080fe-17271 at 10.30.100.41
Max-Forwards: 70
Content-Length: 0
User-Agent: kamailio (5.0.4 (x86_64/linux))


[Dec 3 09:40:38] NOTICE[3511]: res_pjsip/pjsip_distributor.c:659 
log_failed_request: Request 'OPTIONS' from '<sip:vprx00 at 10.30.100.41>' 
failed for '10.30.100.41:5060' (callid: 
66bf010933a080fe-17271 at 10.30.100.41) - No matching endpoint found
<--- Transmitting SIP response (556 bytes) to UDP:10.30.100.41:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 
10.30.100.41;rport=5060;received=10.30.100.41;branch=z9hG4bKf5eb.1ac76487000000000000000000000000.0
Call-ID: 66bf010933a080fe-17271 at 10.30.100.41
 From: 
<sip:vprx00 at 10.30.100.41>;tag=392222e512215177543fc3584bac4ab8-64cb
To: 
<sip:10.30.100.27>;tag=z9hG4bKf5eb.1ac76487000000000000000000000000.0
CSeq: 10 OPTIONS
WWW-Authenticate: Digest 
realm="asterisk",nonce="1512312038/f51da3d7bab5ef809cce1b595ca071dd",opaque="4d6ba4d64d09e4dc",algorithm=md5,qop="auth"
Server: Asterisk PBX 14.6.0
Content-Length: 0



volga629


On Sun, 3 Dec, 2017 at 10:36 AM, Joshua Colp <jcolp at digium.com> wrote:
> On Sun, Dec 3, 2017, at 10:34 AM, volga629 at networklab.ca wrote:
>>  Hello Everyone,
>>  How to configure PJSIP to reply 200 OK from upstream sip proxy on
>>  keepalive packet ?
>> 
>>  proxy ~> Keepalive OPTIONS ~> asterisk
>>   <~      200 OK  <~
> 
> You would need to show the OPTIONS and what is happening now.
> 
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> Check out the new Asterisk community forum at: 
> https://community.asterisk.org/
> 
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171203/6349469b/attachment.html>


More information about the asterisk-users mailing list