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

2006-01-05 Thread Eric \ManxPower\ Wieling

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


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

2006-01-03 Thread Steven
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.

-- 
-- 
Steven

May you have the peace and freedom that come from abandoning all hope of having 
a better past.
----  ---  - - -   -- -   -   --  - - - --- - --   - - 
--- - - -- -  -- --   -   --
Bukoka Budoka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 Hi ,

 thank you for your answer,

 If Prefix() command is only in CVS-HEAD, then how can you prepend leading 
 digits in a stable version?

 It does not make any sense not to have this feature in a version downloaded 
 from thw Digium FTP site...

 Budoka.

 _
 Don't just search. Find. Check out the new MSN Search! 
 http://search.msn.click-url.com/go/onm00200636ave/direct/01/

 ___
 --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
 



___
--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