Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Off-Hook Timer to default to call an emergency number

Is it possible to set per phone/ or does it have to be a global setting, that when a phone goes off-hook and does not receive any response for say 1-x minutes that it would automatically call whomever yo wanted most likely an onsite security or emergency center?


New Member

Re: Off-Hook Timer to default to call an emergency number

If the phones are conencted to a gateway having TCL IVR capability and the users are required to dial the called-number number after going off-hook, this is how it can be done:

Modify the session TCL application (app_session.tcl)

so that the intial digit timeout for digit collection is 1-x minultes in proc act_Setup. You have to set the required value in param(initialDigitTimeout) before calling "leg collectdigits leg_incoming param". Now, check for digit collect timeout (cd_001) in proc act_GotDest. If the digit collect status is cd_001, place a call to the required emergency number like this:

elseif { $status == "cd_001" } {

puts "Digit collect timed out"

puts "Placing call to $emergency_no"

leg setup $emergency_no callInfo leg_incoming


Load the TCL application in the gateway and configure it under the required POTS dial-peers.

Please refer TCL IVR programming guide for more info:


CreatePlease login to create content