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

exten => _55.,1,Dial(IAX2/userid:[EMAIL PROTECTED]/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
> [EMAIL PROTECTED]
> 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.

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to