Asterisk 13.12.2 log_failed_request: Request 'INVITE' No matching endpoint found

Just finished building a new machine using nerdvittles.com/?p=14208 and copying every setting from our old PBX.
However, when I try to make IB calls (OB works fine) with iptables off, I get the following.
The trunk is setup by IP authentication, not username.
Any help is GREATLY appreciated!

Connected to Asterisk 13.12.2 currently running on voip (pid = 2612)
[2016-11-21 18:19:32] NOTICE[9771]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from ‘“" sip:**********@64.2.142.15’ failed for ‘64.2.142.15:5060’ (callid: [email protected]) - No matching endpoint found
[2016-11-21 18:19:32] NOTICE[9771]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from '"
sip:**********@64.2.142.15’ failed for ‘64.2.142.15:5060’ (callid: [email protected]) - No matching endpoint found
[2016-11-21 18:19:32] NOTICE[9771]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from ‘“" sip:**********@64.2.142.15’ failed for ‘64.2.142.15:5060’ (callid: [email protected]) - Failed to authenticate
[2016-11-21 18:19:32] NOTICE[9771]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from '"
sip:**********@64.2.142.15’ failed for ‘64.2.142.15:5060’ (callid: [email protected]) - No matching endpoint found
[2016-11-21 18:19:32] NOTICE[9771]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from ‘“" sip:**********@64.2.142.15’ failed for ‘64.2.142.15:5060’ (callid: [email protected]) - Failed to authenticate
[2016-11-21 18:19:32] NOTICE[9771]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from '"
sip:**********@64.2.142.15’ failed for ‘64.2.142.15:5060’ (callid: [email protected]) - No matching endpoint found
[2016-11-21 18:19:32] NOTICE[9771]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from ‘"**********" sip:**********@64.2.142.15’ failed for ‘64.2.142.15:5060’ (callid: [email protected]) - Failed to authenticate

Do you have PJ-SIP assigned to port 5060, or Chan-SIP?

IP authentication only works with Chan-SIP (last I checked).

Check your port assignments in the Advanced SIP settings tab. I’ll be you’ve got everything set up for one and are using the other on port 5060.

1 Like

Holy mother of god… what?!

Chan SIP Settings, Bind Port = 5061

Misc PJSip Settings:
Allow Sip guests, yes
Advanced, no.
udp - 0.0.0.0 - All
tcp - 0.0.0.0 - All
ws - 0.0.0.0 - All

Then section udp - external ip:
Port to Listen On 5060
Domain the transport comes from blank
External IP Address external ip
Local network blank

Woohoo… I re-read your post and it processed in my head.
Changed my ports and now I get IB calls.
But now the extension which is assigned to the IB call doesn’t ring.
It has followme setup (I disabled and it didn’t make a difference), and it does call out to the cell phone as it should.
But it never rings at the actual phone where the extension is registered.

Could there be some conflict?

Probably not. I’m gonna guess it’s something silly like you forgot to turn the ringer volume up.

To make sure, watch the ‘/var/log/asterisk/full’ log file as you make an incoming call. You will get a feel for what’s going on by watching the progress of the call through the system.

If you’d rather you can also try running “asterisk -vvvvr” and watch what happens there. The log file has more info, but the CLI is a little easier to read.

Ok, I’m slow but not that slow.
It switched the extension to SIP and it works now.

Thank you for all your help and giving us Dave’s a good name!
Gobble Gobble

1 Like