Steven wrote:
Just do:
exten => _12xx,2,Dial(${TRUNK}/0${EXTEN}|30,r) ; adding zero
exten => _012xx,2,Dial(${TRUNK}/${EXTEN}|30,r) ; not adding zero
The zero is added before ${EXTEN}.
I have only ever used the stable versions and have always done it this way.
Never trust anyone that tells you to use the "r" option to dial. It's a
classic newbie mistake. In this case, he is correct about how to prefix
a digit.
Here is an example of what happens when you use "r" when dialing out an
analog port to a busy number.
Caller hears a ringing sound (ringback) when Asterisk is dialing the digits.
Caller hears a busy tone when Asterisk is finished dialing.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users