Explorar el Código

debug originate

Hal De hace 4 años
padre
commit
4a2e58a684
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/app.py

+ 1 - 0
app/app.py

@@ -784,6 +784,7 @@ class Originate(Resource):
     device = await getUserDevice(user)
     if device in NONEs:
       return noUserDevice(user)
+    device = device.replace('{}&'.format(user), '')
     reply = await manager.send_action({'Action':'Originate',
                                        'Channel':'PJSIP/{}'.format(device),
                                        'Context':'from-internal',