I have a new freepbx server installed with a Sangoma A200 4 port FXO card.
I had trouble getting any outgoing call to go through. Local numbers would just say could not be completed as dialed.
Long distance numbers would say “you must dial a 1 or 0 in front of the number”.
So, I started monitoring asterisk, and verified that it was dialing the numbers with the 1 included on long distance numbers.
So, I started playing around with the Outgoing Route Dial Patterns, and found that if I prepend a digit in front of all outgoing numbers, they work (kinda).
So, I am prepending a 9 in front of all numbers. It shows the prepend number in the asterisk log as it is dialed, but the Sangoma card must be dropping that digit somewhere because the call goes through.
This includes local and long distance numbers.
Could the Sangoma card be dialing before a dial tone is established?
Now that I have it working, sorta, at least 50% of the time, we get a fast busy signal on all long distance calls. We can hang up immediately and redial the number, and it may go through perfectly.
All incoming calls work great. This problem is only with outgoing calls.
Doing a little research, it looks like I may need to add some delay to the outbound calls. But I am not sure how to do it.
I tried adding ww to the prepend section in the Dial patterns, but it does not save them.
Remove the 9 prepend in your Outbound Route. For the trunk in question, Dialed Number Manipulation Rules, try setting Outbound Dial Prefix to “ww” (without the quotes). Submit, then Apply Changes.