feature: detect hangup to send a different notification #42
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
you can detect hangup event with another twilio function
https://stackoverflow.com/questions/58324956/twilio-for-incoming-calls-how-do-i-detect-hang-up-from-caller
Could use this to update DDB and change the notification if the call was ended before unlock
would need to add ddb entry about call status perhaps
PROPERTIES
Who Hung Up
Post-Dial Delay
0.072 seconds
Last SIP Response
487 Request Terminated
Call State
noanswer
Twilio RTP Latency (ms)
this can help to fix experience with 487 terminated phone call
https://help.twilio.com/articles/223132267-Tracking-the-Status-of-an-Outbound-Twilio-Voice-Call
I don't think this is worthy either. If it is hangup event, we just won't unlock and the user won't get the unlock notification