[Asterisk-Users] Regex howto proof and change a dialed number
Guido Hecken
guido.hecken at gwsnettech.de
Tue Mar 22 08:28:54 MST 2005
> > this would change +49(2244)870663 to 002244870663 in every line of the
> > file,
> > named number.
> >
> > But how can I achieve this in asterisk dialplan?
> > ...
>
> It sounds like an AGI perl script would work well.
Thanks for the tip with AGI I'll have a closer look at it.
Neveretheless I put an easy number-manipulation tool on my asterisk
wishlist.
Wouldn't it be nice if something like this could do the job:
exten => \+(XX)\((X.)\)(X.),1,Dial/SIP/00$1$2$3 at gateway,60,tTr)
Regards
Guido Hecken
More information about the asterisk-users
mailing list