Hei!

I need to accomplish something and I don't know how. Asterisk version is 
1.2.13. I need to make a routing decision based on how long the call has been 
in ringing state. Lets say I have a few extensions and I want to ring each of 
them for 5 seconds (I can't use queue for technical reasons) Of course when 
some exten is busy it will try the next and so on. But the difficult part is, I 
want to play a file when call has been ringing for 10 seconds. No matter where 
in the routing the call may be ringing at that moment. There for I can't just 
play the file inside the routing.
        Is there some counter or variable which I could check before each next 
hop? Or do I have to do the math based on timestamp? That could be messy ... 
for me at least.

Best regards

Rennes Neps
Norby Telecom


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.6.10/1638 - Release Date: 27.08.2008 
19:06

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to