We have Yeastar TG100 GSM Gateway. Everything worked well till today and i don’t know why that has changed. PJSIP Trunk has been created in order to GSM gateway and FreePBX communicate properly. We can make outbound calls but incoming calls fails, and this is what asterisk debug says:
No matching peer for [phone number] from [gsm gateway local ip address]
The only solution is to set both settings
Allow Anonymous Inbound SIP Calls and Allow SIP Guests
to Yes, and that is only way we can have inbound calls, but i don’t want to do that because of potential security risks. Also, i didn’t touch that settings before and incoming calls worked perfectly fine, so i don’t see the reason to set it up now. If i change Allow SIP Guests to Yes i hear the message The number you have dialed is not in service
One more important information - we have SIP trunk that works perfectly well, thank to God, both incoming and outgoing calls, nothing has changed there.
I’m desperate, so please help!
Current PBX Version: 15.0.16.77
Current System Version: 12.7.8-2008-1.sng7