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
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