Hi guys,
Trying to resolve this. I have a PSTN number from ISP through Grandstream HT813 ATA and as a pjsip trunk. It currently works with incoming calls only. If I dial out from extension dedicated for this trunk, the call dials as that PSTN number but PBX jumps to the next pjsip trunk I have and uses it.
It also shows rejected status in the Asterisk Info module when I click on registries.
Here are some most notable packets flow from an sngrep utility:
2022/10/01 18:00:10.256519 10.100.20.2:5060 → 10.100.20.5:5060
REGISTER sip:10.100.20.5:5060 SIP/2.0
Via: SIP/2.0/UDP 10.100.20.2:5060;rport;branch=z9hG4bKPjb88e208a-67cc-484a-a3cf-01d2e443f7f7
From: <sip:My PSTN #@10.100.20.5>;tag=46784501-4b91-4fb1-b846-48ce0bad7d2b
To: <sip:My PSTN #@10.100.20.5>
Call-ID: 11d12f0e-47fe-4c86-895e-39c532e46910
CSeq: 52626 REGISTER
Contact: sip:[email protected]:5060;line=fqwchcb
Expires: 3600
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Max-Forwards: 70
User-Agent: FPBX-15.0.23.25(13.38.3)
Content-Length:
2022/10/01 18:02:10.335524 10.100.20.5:5060 → 10.100.20.2:5060
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 10.100.20.2:5060;rport=5060;branch=z9hG4bKPj42fbb7f2-d48d-4899-b25e-c83f0e3d7a19
From: <sip:My PSTN #@10.100.20.5>;tag=b8862028-5aa3-4788-abcc-7ace5cec533c
To: <sip:My PSTN #@10.100.20.5>;tag=1881867613
Call-ID: 11d12f0e-47fe-4c86-895e-39c532e46910
CSeq: 52634 REGISTER
Supported: replaces, path, timer, eventlist
User-Agent: Grandstream HT813 1.0.13.3
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
It persistently shows 405 Method Not Allowed, I’m not sure how to debug this.
My FreePBX IP is 10.100.20.2
ATA IP is 10.100.20.5
SIP port is 5060
Let me know what you think might be an issue with settings on both sides.
Thank you.