[Asterisk-Users] Dial Plan - How to prepend a digit

Franco Bellagamba fbellagamba at ssatelital.com.ar
Mon Apr 25 12:53:45 MST 2005


Daniel, try

_X.,1,Dial(123${EXTEN})

That will prefix "123" to the dialed number.

Franco
----- Original Message ----- 
From: "Daniel Salama" <dsalama at user.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Monday, April 25, 2005 4:05 PM
Subject: [Asterisk-Users] Dial Plan - How to prepend a digit


> I'd like to create a dial rule that when someone tries to dial a
> particular number, the same number is dialed, except that prefixed with
> some additional digit(s). How can this be specified on extensions.conf?
>
> Thanks,
> 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




More information about the asterisk-users mailing list