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

Laurent asterisk at voip.nc
Fri Feb 6 18:48:57 CST 2009


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)                                                                           
> 
> exten => _00.,n,Hangup

This seems to work for me -  what makes you say it doesn't ? It
does strip the + and add the international prefix. I didn't try to
Dial, the translation of the digits being the issue.

> What am I doing wrong here?

Well... contexts perhaps ?

Cheers

-- 
Laurent Steffan               Consultant VOIP
tél:  +(687) 767 868
mail: laurent at VOIP.nc
Web:  http://VOIP.nc




More information about the asterisk-users mailing list