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
84686033
Commit
84686033
authored
Jan 25, 2017
by
okhin
Browse files
Let's santize more
parent
e137e13e
Pipeline
#800
passed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
piphone.py
View file @
84686033
...
...
@@ -355,7 +355,7 @@ class Call(object):
except
Exception
as
e
:
raise
e
# Step 2, moving channels
channels
=
","
.
join
([
self
.
id
+
'-'
+
self
.
caller
,
self
.
id
+
'-'
+
self
.
callee
])
channels
=
","
.
join
([
self
.
id
+
'-'
+
sanitize_phonenumber
(
self
.
caller
)
,
self
.
id
+
'-'
+
sanitize_phonenumber
(
self
.
callee
)
])
phone_logger
.
debug
(
"Moving channels to the created bridge: {}"
.
format
(
bridge
.
name
,))
bridge
.
addChannel
(
channels
)
phone_logger
.
info
(
"Call now fully connected: {} <-> {}"
.
format
(
self
.
caller
,
self
.
callee
))
...
...
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