I need a little help here. I’ve setup freePBX with 3x Softphones and 2x Snom phones connected to it. Internal Calls work 100%.
I’m using Telfree as my SIP Provider.
I can make external calls via my SIP without any problem, but I can’t receive any incoming calls from the outside.
You need to make sure what digits your provider is sending as the DID. It could be the full 10 digits, 7 digits, 4 digits, or something else. It might even be prepending a 1 before the number.
The DID Number must match exactly what the provider is sending. Do you have an Any/Any route set? This will match any incoming DID.
I’ve change the DID number to the 10 digit (087754xxxx) number instead of the 9 digit (87754xxxx) that I had. I also change the User Context to the 10 digit number as I understand that the User Context and the DID number should be the same.
With these changes it still doesn’t work, I still get "the number you have dialed is incorrect.
you can look at the log file using freePBX … under tools you should see a link to log file … place a call and then pull up the log file immediately after and you should see the tracks of the call
the carrier is sending you 877543849 as the DID. The person who told you that it should be 10 digits was mistaken [probably assuming you were located in the US]. You should have an inbound route that is for 877543849 (with any CID) going to whatever destination you want. Should be straightforward. If there is still a problem, check and post the relevant log snippet again.
Don’t enter anything in DID Number in Inbound routes. From the tooltip:
Leave this blank to match calls with any or no DID info.
By doing this all calls will enter the system. Make an inbound call to see if it is working.
If you need to look at the log files, in FreePBX, go to Tools and click on Asterisk Logfiles. If you don’t have Asterisk Logfile, click on Module Admin and download Asterisk Logfiles from there.