[asterisk-users] Capture dead phone?

Eric Wieling EWieling at nyigc.com
Thu Nov 7 21:53:35 CST 2013

I don't have an answer for you, but I can suggest some areas to investigate.

"stuck" calls could be detected using SIP session timers.   I've had bad luck using session times in Asterisk, but the problem might somehow be unique to our setup.

Dead peers can be detected using qualify

Asterisk supports some RTP keepalive features.

Asterisk has the ability to continue in the dialplan after one leg of the call hangs up.  See hangup handlers (new in 11.x or 10.x) and the options to Dial

See sip.conf.sample included in Asterisk, "core show application dial" and the UPGRADE*.txt files in Asterisk.

The most effective thing to do is avoid phones going away unexpectedly.     Get reliable switches, get your switches on battery backed up power, move important stuff away from people's feet.   

The BOFH in me thinks a shock sensor attached things which might get kicked, connected to a locomotive horn nearby is a delightful idea, but is neither nice nor practical.      I know from personal experience a locomotive horn can cause a sleeping person to levitate several feet in the air.  I imagine it would have a similar effect on a call center agent.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mitch Claborn
Sent: Thursday, November 07, 2013 7:51 PM
To: Asterisk Users Mailing List
Subject: [asterisk-users] Capture dead phone?

Asterisk 11.1

Is it possible to catch the fact that an IP phone has died in the middle of a call and do something with it in the dialplan?

Background: we run a small call center.  Our agents sit in two groups, with their IP phones running from 2 different switches. Every once in a while the power on one side of the room will go out, or one of the switches will die, or one of the agents will knock something loose with their foot.  If/when that happens while the agent is on a call with a customer, I'd like to be able to save that caller and put them back in the queue (at the head of the queue).



-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

More information about the asterisk-users mailing list