[Asterisk-Users] Dial Rules in localprefixes.conf

Michael Sampson msampson at yourccsteam.com
Wed Jan 18 08:47:32 MST 2006


I want to set up a dial rule like this 
9304752#w9#w+NXXXXXXXXX 
 
The point of this is. It will dial into a pbx with the account number 
9304752, wait a second, dial 9 to get an outside line, wait a second for 
the outside line, and then dial the number to be called. When ever I 
save this in amp anything after the first # disappears. When I try to 
call out it doesn't do the adding of the prefix. I don't think its even 
able to parse localprefixes.conf. does anyone know how I can accomplish 
this?

if I get rid of the #'s it adds the prefix and dials fine, but the pbx 
doesn't know the answer after the account number without it, so I get an 
"all circuits are busy" because of "no answer"

If in AMP I set up that string under Outbound Dial Prefix rather then 
Dial Rules, then it works fine. But that does it for all numbers and I 
just want it to do it for 10 digit numbers.



More information about the asterisk-users mailing list