Hi Team,
I want to build an emergency system for our Lift phone where we want when someone picks up the phone, it will automatically play an announcement or greeting that “if you are in an emergency please press 1 or press pound to hangup”
when the user presses 1, it rings the emergency responder ringgroup and connect the call with emergency responder squad.
Currently I used this approach but guide me further as this is not working on off-hook
Extension context changed to emergency-lift
[emergency-lift]
exten => s,1,Answer()
exten => s,n,Wait(1) ; Optional pause before TTS
exten => s,n,Playback(demo-congrats)
;exten => s,n,Flite("If This is an emergency. Please press one to connect to the operator.")
exten => s,n,Hangup()