I have been using FreePBX for about a month. I have setup a single PSTN line, callcentric account and attached 4 SIP trunks which are attached to a SIM bank for mobile phones. Everything works great, especially the LCR with callcentric, SIM cards and PSTN line.
Now I would like to receive an external SIP call from an outside address on the internet and terminate it onto my SIM cards. However this has proven to be VERY difficult. Here is procedure below can someone steer me in the right direction?
I have enabled “Allow Anonymous Inbound SIP Calls”
Modified my file below in /etc/asterik
bindport=5060 ; UDP Port to bind to
bindaddr=0.0.0.0 ; (0.0.0.0 binds to all)
I am sending a mobile number to my asterisk box as follows
My Outbound route has the dial pattern setup to strip off the country code and dial the number 791234. Doing this via my x-lite registered softphone works perfectly both internally on my LAN and over the internet from home. No firewall issues.
What am I missing from this setup to make this work?
Thank you, sorry for the long post!