jambonz / jambonz-feature-server

Core telephony feature server for the jambones platform
MIT License
43 stars 38 forks source link

enhancement: actionHookDelayAction to have action to be triggered for noResponseGiveupTimeout #902

Closed vdharashive closed 21 hours ago

vdharashive commented 2 weeks ago

current implementation on triggering noResponseGiveupTimeout jambonz hangup the call , rather then hangup call there can be a new giveactions array which will have array of verbs that needs to be executed in sequence

{ "verb": "config", "actionHookDelayAction" : { "enabled": true, "retries": 2, "noResponseTimeout": 5, "noResponseGiveupTimeout": 20, "actions": [ { "verb": "say", "text": "Please hold while we complete your transaction" }, { "verb": "say", "text": "Please continue to hold." } ], "giveupactions": [ { "verb": "say", "text": "Thank you" }, { "verb": "hangup", } ]

} }

giveupactions is optional configuration if giveupactions is not provided then jambonz can drop the call