<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I´m trying to setup asterisk for outbound
calls. Exactly we want to select a channel depending of the first number
dialed.</font>
<br><font size=2 face="sans-serif">for example,</font>
<br>
<br><font size=2 face="sans-serif">We want when an asterisk user dial 01700XXXXXXX,
in her phone,</font>
<br><font size=2 face="sans-serif">asterisk make a call dialing only 1700XXXXXXX,
without the first 0. choosing the IAX2 channel.</font>
<br>
<br><font size=2 face="sans-serif">I`m trying the ignorepat instruction
without success.</font>
<br>
<br><font size=2 face="sans-serif">Here is the config I have in extension.conf
to do that, but actualy it don`t work like i want.</font>
<br>
<br><font size=2 face="sans-serif">[ext-line]</font>
<br><font size=2 face="sans-serif">ignorepat =&gt; 0</font>
<br><font size=2 face="sans-serif">exten =&gt; _01700XXXXXXX,1,Dial(IAX2/user:pass@iaxtel.com/${EXTEN}@iaxtel)</font>
<br>
<br><font size=2 face="sans-serif">(The ext-line is include in the correct
context)</font>
<br>
<br><font size=2 face="sans-serif">¿anyone could help me?</font>
<br><font size=2 face="sans-serif">any clue will be appreciated.</font>
<br>
<br><font size=2 face="sans-serif">Thanks </font>
<br>
<br><font size=2 face="sans-serif">Ismael GIl.</font>