Hello everyone!
Sorry in advance for bad English and almost no knowledge in asterisk.
I have a really old FreePBX server that uses a SIP trunk to our provider.
I’m trying to migrate to a new server and use PJSIP (since SIP is legacy now)
Everything is working except for inbound calls - there are literally no logs when I’m trying to call to our number, and our provider answers that “All circuits are busy, please call later”.
I tried outbound/inbound/both/none authentication and all of them works the same - no inbound calls, but outbound is working.
When I enabled and setup SIP trunk with the config above on the new server - it worked (I also natted 5060 inbound to 5160 on new server to check legacy SIP), so the problem is definitely somewhere in trunk settings.
Please help me figure out what I’m doing wrong because it’s driving me crazy and our provider is not willing to help at all
pjsip show registrations
YYYY/sip:x.x.x.x YYYY Registered (exp. 791s)
sip show peers - shows nothing
pjsip show endpoints - there is a bunch of extensions and this trunk:
Endpoint: YYYY Not in use 0 of inf
OutAuth: YYYY/YYYY
Aor: YYYY 0
Contact: YYYY/sip:[email protected] 44f6179949 Avail 3.016
Transport: 0.0.0.0-udp udp 3 96 0.0.0.0:5060
Identify: YYYY/YYYY
Match: x.x.x.x/32