Selaa lähdekoodia

debug originate

Hal De 4 vuotta sitten
vanhempi
sitoutus
4a2e58a684
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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',