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:[email protected]>;tag=392222e512215177543fc3584bac4ab8-64cb
CSeq: 10 OPTIONS
Call-ID: [email protected]
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:[email protected]>' failed for '10.30.100.41:5060' (callid: [email protected]) - 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: [email protected]
From: <sip:[email protected]>;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 <[email protected]> wrote:
On Sun, Dec 3, 2017, at 10:34 AM, [email protected] 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

-- 
_____________________________________________________________________
-- 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

Reply via email to