LinuxMCE Forums
General => Users => Topic started by: willow3 on February 20, 2013, 08:11:45 pm
-
I made a fresh install of 10.04 which worked like a charm (thanks l3mce!).
I have a problem with outgoing calls. For some reason my area code is prepended to all numbers I dial, which makes outgoing calls impossible. I don't know how the system figured out my are code and why it decided to prepend it.
Since freepbx is no longer available I have no idea how to fix this problem. I would guess I have to fiddle with either the dial patterns or dial rules, but I do not know how to do that. I have digged around in the asterisk mysql database without really finding my way.
Advice would be appreciated! Maybe someone has a link that describes the asterisk real time database? I have searched the wiki without result.
Regards
-
Look in the webadmin, Wizard > Phone Lines, it gets the dial rules from this screen.
-Thom
-
Yes, I saw that one. It gives me the possibility to enter prefix (which I have left blank) and emergency numbers (which I filled in).
This is somewhat limited functionality compared to what the dial rule language has to offer. Or did I miss something?
Regads
-
we're trying to keep the overall UI simple. This is intentional. What else do you need?
-Thom
-
I need my problem solved that asterisk prepends my area code to all outgoing calls. This prevents me from making outgoing calls to e.g. cell phones. My guess is that this is because of some misconfiguration of the dial rules. The phone line wizard just can't solve this.
-
have you looked @ the asterisk db in mysql? perhaps if you can see what you need changed in there, you or us can make a patch?
-Thom
-
Yes, I have looked at it. I just couldn't find the dial rules in there. I need some help to orient myself in the db. Do you know of any documentation? Couldn't find anything on the wiki.
-
perhaps look here: http://www.voip-info.org/wiki/view/Asterisk+RealTime
I did not write this code, foxi352 did. You may want to talk to him on IRC. freenode #linuxmce, or #linuxmce-devel
-Thom
-
willow3
i try to help you.
how your line is configured .
carlos
-
I didn't do anything special when I configured my SIP provider. See attached picture.
-
you need to configure a prefix to dial out.
-
Why? ???
-
the current dialing rules, need a prefix to indicate which route should be used.
-
OK. Not sure I understand. Outgoing calls actually work. The problem is that my area code is prepended to the number I dial which means I always call someone else than I wanted...
What should I put in the prefix field?
-
i have 3 lines configured and i use "0" for the first line , 99 for the second and 88 for the third
-
I also have 3 lines configured, but would be nicer to have a way to define a dialplan, instead of having 3 dialout prefixes :(.
-
I'm working on it
-
Setting a prefix does not change anything. Outgoing calls are still prepended with my area code. I call can dial local calls, but all other calls won't work. ???
-
you can post asterisk logs ?
and result off
this query
use asterisk
select * from extensions where context like 'outbound-allroutes%';
-
I'm working on it
Hi Carlos,
news about the dialplan?
BR,
Paulo