We want to terminate if they don’t have voice activity for some period of time
the only option i found is to use AMI RPC , it’s function TALK_DETECT and ChannelTalkingStop/ChannelTalkingStart events generated.
possible course of action is
- -enable TALK_DETECT on the system so that all new channels will have it enabled
- -periodically scan list of opened channels
- -for every channel in both directions check if the last event for the channel is ChannelTalkingStop
- -if the time passed from ChannelTalkingStop is >600/1200 seconds ( and there were no ChannelTalkingStop) , terminate the channel
Did anybody implement something similar ? Please help.