[Asterisk-Users] Prepending for 9NxxNxxx - adding the area code for 7 digit dialing {Scanned}

Christopher Wilber chris at wilber.me.uk
Sat Jun 12 02:54:49 MST 2004


If I have understood correctly then this is what you want:

exten => _55.,1,Dial(IAX2/userid:passwd at iax.voiptalk.org/441332${EXTEN}||r)

The last line is what you are after I think. All local calls in my area begin 
with 5-7 so I pattern match this and then extend it with 44 (UK code) and 
1332 (local trunk) before passing to my VOIP/PSTN gateway.

Regards
Chris Wilber

On Saturday 12 June 2004 09:14, Jacob Hunter wrote:
> How do you prepend.  I want to be able to dial 7 digits instead of of
> 11 for local calls.
>
> Can someone post there extensions.conf part that is relavent?
>
> _______________________________________________
> 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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.




More information about the asterisk-users mailing list