[Asterisk-Users] Re: Where is the Prefix() application in Asterisk1.2.1 ?

Eric "ManxPower" Wieling eric at fnords.org
Thu Jan 5 01:54:47 MST 2006


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.




More information about the asterisk-users mailing list