res_pjsip-No matching endpoint found

Hi, can anyone help me to find why I’m getting this error when I receive a call on a PJSIP trunk:

NOTICE[1390]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request ‘OPTIONS’ from ‘“Unknown” sip:Unknown@192.168.1.37’ failed for ‘192.168.1.37:5160’ (callid: 668c6fbf573f12c22e6f8d6f3314a835@192.168.1.37:5160) - No matching endpoint found

And there is my configuration:
[sip_settings]
[outgoing]
host=192.168.1.39
username=pbx1
fromuser=pbx1
secret=SIPtrunck
type=peer
context=from-trunk
qualify=yes
disallow=all
allow=gsm
[incoming]
secret=SIPtrunck
type=user
context=from-trunk
host=192.168.1.39
disallow=all
allow=gsm
qualify=yes

Because you have provided a configuration for chan_sip, but are actually running pjsip.

If you did run chan_sip, it is unlikely that your incoming section would ever be used, as it is unlikely that the From: user would ever be “incoming”. (There may be cases where separate incoming and outgoing sections are useful, but I’ve never worked out when.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.