Hi,<br><br>Thanks once again,<br><br>Let me put is clear. I'm using TRIXBOX which many out here feel - its for kids- but i do like it an use it for sometime.<br><br>As all i do have extensions and trunks configured on it. I want one of my extensions to use a particular outbound route only. I have rightly done all the setup in the extensions_custom.conf. Hence i do want the 55 to be an identifier for his route hence the 55 will be sent from the PAP2 without the user knowing the setup itself.
<br><br>Hope you got what i intend. I don't know if there is any other solution other than this as all user will be using the same number format to dial.<br><br>Thanks for the support.<br><br>Dan<br><br><br><br><div><span class="gmail_quote">
On 20/10/06, <b class="gmail_sendername">Brian Candler</b> <<a href="mailto:B.Candler@pobox.com">B.Candler@pobox.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Oct 20, 2006 at 03:09:56PM +0300, <a href="mailto:sdcharly@gmail.com">sdcharly@gmail.com</a> wrote:<br>> I have a Linksys PAP2-NA connectd to my asterisk. I would like the<br>> device to add 2 characters in front of the dialled number always when
<br>> it send the call to my asterisk. I dont know how to do that. I will<br>> summarise my requirement.<br>> My friend dials 1-210-1234345, i want the asterisk to get<br>> 55-1-210-1234345.<br><br>
What actual problem are you trying to solve?<br><br>It's very likely that you can solve it better in Asterisk without touching<br>the ATA.<br><br>For example, if what you actually want is for calls from the PAP2 which<br>
Asterisk routes outwards via a POTS card to be prefixed with 55, you can do<br>that in your dialplan (extensions.conf) by modifying the rule for placing<br>outbound calls.<br><br>[internal]<br>exten => _1.,1,Dial(Zap/4/55${EXTEN})
<br> ^^^^^^^^^^<br><br>Brian.<br></blockquote></div><br>