[Asterisk-Users] Exclude dialed numbers for outbound calls

igil at itranser.com igil at itranser.com
Wed Sep 29 02:55:52 MST 2004


Thank you Daniel.

It works fine for me.

Ismael.




administrator tootai <admin at tootai.net> 
Enviado por: asterisk-users-bounces at lists.digium.com
29/09/2004 11:27
Por favor, responda a
Asterisk Users Mailing List - Non-Commercial Discussion 
<asterisk-users at lists.digium.com>


Para
Asterisk Users Mailing List - Non-Commercial Discussion 
<asterisk-users at lists.digium.com>
cc

Asunto
Re: [Asterisk-Users] Exclude dialed numbers for outbound calls






igil at itranser.com a écrit :

>
> Hello,
>
> I´m trying to setup asterisk for outbound calls. Exactly we want to 
> select a channel depending of the first number dialed.
> for example,
>
> We want when an asterisk user dial 01700XXXXXXX, in her phone,
> asterisk make a call dialing only 1700XXXXXXX, without the first 0. 
> choosing the IAX2 channel.
>
> I`m trying the ignorepat instruction without success.
>
> Here is the config I have in extension.conf to do that, but actualy it 
> don`t work like i want.
>
> [ext-line]
> ignorepat => 0
> exten => _01700XXXXXXX,1,Dial(IAX2/user:pass at iaxtel.com/${EXTEN}@iaxtel)

exten => _01700XXXXXXX,1,Dial(IAX2/user:pass at iaxtel.com/${EXTEN:1}@iaxtel)

-- 
Daniel
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040929/76bd14d2/attachment.htm


More information about the asterisk-users mailing list