Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-sip
Commits
cf0a3d05
Commit
cf0a3d05
authored
May 09, 2016
by
okhin
Browse files
Adding the Bridge.delete()
parent
8acb208f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ari.py
View file @
cf0a3d05
...
...
@@ -68,6 +68,15 @@ class Bridge(object):
return
ari_call
(
self
.
config
,
[
'bridges'
,
self
.
name
,
'addChannel'
],
'POST'
,
{
'channel'
:
channel
})
except
:
raise
def
delete
(
self
):
'''
Let's delete the bridge
'''
try
:
return
ari_call
(
self
.
config
,
[
'bridges'
,
self
.
name
],
'DEL'
,
{})
except
:
raise
class
Channel
(
object
):
'''
This class is used to regroup all the method to manage a Channel
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment