[Asterisk-Users] re-write statement

Ronald Wiplinger ronald at elmit.com
Fri Mar 25 05:38:12 MST 2005


I have some numbers, which should be treated equally. To avoid double 
coding, I would like that this extension could be re-written.

E.g., some users are used to dial "002" ~ "009" as international prefix, 
while I have choosen to use the USA way ("011").

It would be nice if the user can dial 9-002-43-456-3456-7890 and it 
would be re-written to: 9-011-43-456-3456-7890

and

9-02-2345-6789  as 9-011-886-2-2345-6789

and than with a Goto statement to the right place.


bye

Ronald




More information about the asterisk-users mailing list