by mollett » Thu Feb 06, 2014 8:24 pm
I have some old Aastra phones that have this autodial feature which is really handy in an unattended lobby application. Someone picks up the phone, and it automatically dials a preset number. Well, I have a potential client that could use something like that, and I'd love to be able to put a Digium phone in there, rather than an Aastra. The API has no trouble dialing a number, but I don't see an event that would let me know that the phone had gone off hook. Is there a direct or indirect way to determine that? It looks like I might be able to set an idle screen app, and then watch for a digium.app.idle_screen_hide event, but that could get triggered, I think, by events other than the phone going off hook (like a Switchvox config update).