Repository navigation
Add uuid_kill, sched_hangup and sched_del commands - #23
Closed
henrikbjorn wants to merge 1 commit into
Closed
henrikbjorn wants to merge 1 commit into
henrikbjorn wants to merge 1 commit into
Conversation
uuid_kill(uuid, cause = nil), sched_hangup(time, uuid, cause = nil) and sched_del(id), next to uuid_park and uuid_bridge. sched_del takes a task id or a group; a call's scheduled tasks are grouped by its uuid.
This was referenced Oct 1, 2026
Member
Author
|
Folded into #25, which collects these changes in one PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three
mod_commandsAPI commands get named methods, next touuid_parkanduuid_bridge:uuid_kill(uuid, cause = nil)hangs up a call.sched_hangup(time, uuid, cause = nil)schedules a hangup.timeis seconds from now with a leading+, or an epoch time.sched_del(id)deletes a scheduled task by its id, or every task in a group. A call's scheduled tasks (sched_hangup,sched_transfer, …) are grouped by its uuid.Baritone claims a parked call with
sched_del(cancelling the dialplan'ssched_transferfallback) and caps it withsched_hangup.Stacked on #22.