Re: [asterisk-users] Rewriting numbers while processing dial plan?

2009-02-10 Thread Martin Lima
> What I am trying to do, is get rid of the initial "+" in phone numbers > coming in from VoIP clients on mobile phones. I have outgoing extensions > that choose which of two providers to choose (based on cost for different > destinations), and I was hoping not having to have two sets of extension

Re: [asterisk-users] Rewriting numbers while processing dial plan?

2009-02-06 Thread Laurent
Le 06.02.2009 22:02, Jan-Aage Frydenbø-Bruvoll a écrit : > A banale example (which does not work): > > [outgoing] > > exten => _+.,1,Goto(outgoing,00${EXTEN:1},1) > > exten => _00.,1,Verbose(International call 00 - Vyke) > exten => > _00.,n,Dial(SIP/vyke/$EXTEN,30,tr)

[asterisk-users] Rewriting numbers while processing dial plan?

2009-02-06 Thread Jan-Aage Frydenbø-Bruvoll
Hi list, I am still a newbie and struggling with tweaking the dial plan to my requirements. I have tried googling for this specific problem, and apologies if I have overlooked the obvious answer already. If you could please be so kind as to point me in the right direction, that would be most a