futel / asteriskserver

SIP server for Futel
Creative Commons Zero v1.0 Universal
25 stars 7 forks source link

implement hang up the phone challenge #518

Open kra opened 2 years ago

kra commented 2 years ago

Immediately after challenge is selected, a harsh recorded voice yells "Hang up the phone!" If the caller remains on the line for 2 seconds, a harsher voice yells "Hang up the phone!!" If the caller remains on the line for 2 more seconds, a buzzer buzzes and the caller is disconnected without passing. If the caller hangs up before being disconnected, the caller passes.

I don't know how implementable this is, it depends on what kind of control we keep after caller hangup. Currently a challenge has only one outcome, return to dialplan, at which time the caller passes. We would need to return to dialplan after caller hangup (or change implementation, which is not preferable).