i have configured a freepbx version 13. i am able to make intern calls and inbound calls through an analog trunk. But when I am testing outbound calls, i am getting “your call cannot be completed as dialed”. I am attaching a screenshot of my dail plan an outbound route
The Outbound Route you posted is assuming that users will dial 9 before an outside number. This is not recommended for modern systems, but if you are replacing a legacy system that required dialing 9, you might want to keep it the same.
The device you are calling from is probably not set up for an initial 9 and may send the call to Asterisk after 10 digits have been received, which would cause your call to fail.
hey @Stewart1, i have used 9 because we have a grandstream pbx which we want to replace with the freepbx. And with the grandstream pbx, we used 9. that is why I kept the dial pattern like this. Now I am testing the freepbx analog line by using a panasonic pbx (analog). Is that maybe also the issue? And can you explain me how i can configure a dial pattern whici makes it possible to dial any digits and it would not matter how many of them is received by the freepbx
Numbers could be modified by the device, the Outbound Route, the Trunk, or whatever the trunk is connected to.
If you remove the 9 prefix from the Outbound Route (leave it blank) and keep X. for the match pattern, the Outbound Route will not modify the number.
If you still have trouble, make a test call and go to Reports->Asterisk Logfiles. Look for a line containing e.g. Executing [1234@from-internal:1]
This shows that 1234 is what was received from the calling device. If it’s wrong, you have to fix it in the device’s settings.
Towards the end of the log, you’ll see a line containing “Called” with e.g. Analog1/1234 .
The number after the / is what got sent out on the trunk. If it’s wrong, there is a problem with your Outbound Route or Trunk settings.
Hi,
One thi i have not told is that i am using a grandstream phone. On this phone is the following dial plan configured: {[*x]+}. I hope this is not conflicting with the freepbx
hi @mcgrathr
I am using an Fxo card and yes it is the right port. I am using port 8 and in the configuration of the dahdi i have indicated channel 8. And i am able to make inbound call. So there is osmething wrong with the outbound rule, I only do not know what exactly.
hey @mcgrathr i have tried with connecting the analog line to port 1 instead of port 8. the reult is the same. outbound route is not working. Here are screenshots of my conconfiguration.
hey you were absolute right.
the the port was not port 8, it was port 1. Now i have connected to port 1(acording to me), i got the same issue. After changing channel to 8 for the “port 1” which is actually port 8, it worked. Now the issue has been solved. I am so sorry for my stupidity. Thank you for showing me that…have a nice day
this issue has been solved. The issue was that I had mistaken in thinking that port 1 is port 8.
After changing channel 8 to chanel 1, the issue has been solved. Thank you all for your advices