Page 1 of 1

callmenu hangup option

PostPosted: Tue Dec 06, 2011 11:54 am
by raloheni
VERSION: 2.4-349a |BUILD: 111122-1333 | installed from scratch(raysolomon) | asterisk 1.4.39(vici) | digium 1port E1| 15agents

i have created a callmenu with options 1,2,3, and timeout and invalid.

is it possible to have an route option for hangup ie: the caller didnt selected any options and also hangedup the call befor timeout.

my idea behind this is send a nonagentapi when no option selected and hanged before timeout

PostPosted: Sun Dec 18, 2011 11:13 am
by williamconley
if a call hangs up, the ",h," extension is executed and other operations terminate so you would likely have to put any 'if the customer hung up' options in that extension.

alternately, you could assume "hung up" when entering the call menu and if the call does not leave the call menu (by selecting one of the other choices) within 60 seconds, then a script can assume that the "hung up" is true and execute your "hung up" option, whatever that may be.

timeout is the same as "didn't select any options", so I'm not sure what you're asking regarding that choice.

Re: callmenu hangup option

PostPosted: Fri Jan 29, 2016 5:05 pm
by ajax1515
Does the h extension trigger if you use the callmenu options to route to HANGUP, or is that a separate thing.