<div id="geary-body"><div>If understand correctly type=identify is more for sip trunk configuration ?</div><div><br></div><div><br></div><div>;[mytrunk]</div><div>;type=identify</div><div>;endpoint=mytrunk</div><div>;match=198.51.100.1</div><div>;match=198.51.100.2</div><div><br></div><div><br></div><div>In chan_sip it was just reply 200 OK on keepalive packet without need define trunks.</div><div><br></div><div><br></div><div>volga629</div><div> </div></div><div id="geary-quote"><br>On Sun, 3 Dec, 2017 at 10:45 AM, Joshua Colp <jcolp@digium.com> wrote:<br><blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">On Sun, Dec 3, 2017, at 10:42 AM, <a href="mailto:volga629@networklab.ca">volga629@networklab.ca</a> wrote:
<blockquote> 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 <a href="sip:10.30.100.27">sip:10.30.100.27</a>:5080 SIP/2.0
Via: SIP/2.0/UDP
10.30.100.41;branch=z9hG4bKf5eb.1ac76487000000000000000000000000.0
To: <<a href="sip:10.30.100.27">sip:10.30.100.27</a>:5080>
From:
<<a href="sip:vprx00@10.30.100.41">sip:vprx00@10.30.100.41</a>>;tag=392222e512215177543fc3584bac4ab8-64cb
CSeq: 10 OPTIONS
Call-ID: <a href="mailto:66bf010933a080fe-17271@10.30.100.41">66bf010933a080fe-17271@10.30.100.41</a>
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 '<<a href="sip:vprx00@10.30.100.41">sip:vprx00@10.30.100.41</a>>'
failed for '10.30.100.41:5060' (callid:
<a href="mailto:66bf010933a080fe-17271@10.30.100.41">66bf010933a080fe-17271@10.30.100.41</a>) - No matching endpoint found
</blockquote>
You would need to add an endpoint for it and have it match, using a
"type=identify" section matching on IP address would work. You would
also need an "s" extension in the context since the OPTIONS request has
not extension provided.
<div>--
</div>Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: <a href="http://www.digium.com">www.digium.com</a> & <a href="http://www.asterisk.org">www.asterisk.org</a>
<div>--
</div>_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/">https://community.asterisk.org/</a>
New to Asterisk? Start here:
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</div></blockquote></div>