Commit 84686033 authored by okhin's avatar okhin 🚴

Let's santize more

parent e137e13e
Pipeline #800 passed with stage
in 2 seconds
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment