Hope that someone can help me!
i need to implement the following feature on my crs script:
if a call is in a queue for more than 4 minutes, i need to redirect the call to another extension number.
Any help would be much appreciated.
Depending on your queue logic you may need to add an if statement, here is the typical way this is done.
call is queued where every 30 seconds a prompt is played, followed by MOH, the MOH is provided from CM by using the Hold step, your logic would look somthing like this:
if counter > 8
delay 30 sec
goto queue label
the counter is an integer varialble with intial value of 0, everytime a call has gone through the 30 seconds of queue the variable is increment, until the desired timer is met and the call is redirected to external number.