Inbound Not A Working Number

My PBX had previously been working just fine with no issues.

I rarely use it, though.
I decided to randomly call my number one day and received a message “The number you have dialed is not a working number”

I use SIP through Flowroute. My server is showing registration on Flowroute, however I am seeing multiple lines there where in the past, I only saw one.

sip:172.223.119.XXX :37465;transport=udp 2017-10-13 10:27:15 FPBX-AsteriskNOW-13.0.192.19(13.12.1)
sip:172.223.119.XXX :41301;transport=udp 2017-10-13 10:24:29 FPBX-AsteriskNOW-13.0.192.19(13.12.1)
sip:172.223.119.XXX :30160;transport=udp 2017-10-13 10:21:03 FPBX-AsteriskNOW-13.0.192.19(13.12.1)

Internal calling is working.
Softphone clients are able to connect over the internet and make calls.

Outbound works, but only if you dial the country code. Example 1-555-555-5556 vs 555-555-5556.

I think you should call FlowRoute first and see what they tell you. I’d bet they want something in your account updated - a Credit Card number would be my first guess. If that isn’t it, whey will be able to tell you why the calls to your number are failing.

Turns out I had a setting in Flowroute incorrect.

I had an inbound route set there to my hostname and not the SIP registration.

Inbound is working again.

I have another question:

[2017-10-13 11:24:04] NOTICE[38180]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from ‘sip:[email protected]’ failed for ‘185.107.83.52:64411’ (callid: 811647640-964002703-953038529) - No matching endpoint found
[2017-10-13 11:25:22] NOTICE[38180]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from ‘“260” sip:[email protected]’ failed for ‘89.163.210.101:5071’ (callid: 1afff60caf387df71fef0ce2b96e951a) - No matching endpoint found
[2017-10-13 11:32:59] NOTICE[38180]: res_pjsip/pjsip_distributor.c:525 log_failed_request: Request ‘INVITE’ from ‘sip:[email protected]’ failed for ‘185.107.83.52:65024’ (callid: 1234632413-1020855691-1709433919) - No matching endpoint found
PBX2*CLI>

Random connections like this will fill the console output.
Are these a concern or just normal problems of an internet facing machine?

Easy.

They tried to register a phone and there was no place to register. You don’t have an extension 260 (or any of the other examples). If it’s happening with phones you are expecting to work, you are connecting the phone to the wrong SIP port (5060 and 5160, for example). To clarify - if you set up a Chan-SIP extension and then try to connect the phone through 5060 (which could be PJ-SIP, depending on your configuration). Note that this is all based on your setup, so the actual numbers and ports may vary.