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). -- Mitch
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). -- Mitch -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On 13-11-07 07:51 PM, Mitch Claborn wrote:> 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). >No, you won't be able to save the call if the far end goes down. Best you could do would be to enable qualify, track then the agent phone goes offline, if a call also drop around that time frame, initial some sort of callback. However, solve the issue at the source. Spend the money for a UPS at each desktop, convert your phones to PoE and install a UPS in your server room. -- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger
Mitch Claborn ????? 08.11.2013 02:51:> Is it possible tocatch the fact that an IP phone has died in the middle> of a call anddo something with it in the dialplan? Maybe you can connect agents and callers via MeetMe, and when AMI gets the "MeetMe Leave" event, put the caller on hold and return him to the queue (maybe in the first position). Just a guess, for I've never used such setup. But I strongly agree with people who say you'd better change your hardware. -- With Best Regards Mikhail Lischuk -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131108/16d12650/attachment.html>