Outbound calls to disconnect after 5 minutes. Possible?

Status
Not open for further replies.

bdmonsey

Member
Jul 23, 2019
152
6
18
43
I'm doing a summer camp project with phones on the wall designated for the kids to call home. They would like that calls should disconnect after 5 min of talking . Is that possible to do?
 

Ian@ITEL7

New Member
Jan 4, 2021
10
0
1
42
Provided that you only need to add the line <action application="sched_hangup" data="[+]<time>[ <hangup_cause>]"/> into the dial plan then in theory yes. I believe you will need to set a condition to match the extension in the dial plan that you don't want the hangup to apply to and a another to catch all and apply the hangup. I have never done this myself but looking as some of the other dailplan configs such as do-not-disturb it has multiple conditions that are to be matched and it used the break on true to execute the commands it should be possible.
 
Status
Not open for further replies.