Hal De 4 anni fa
parent
commit
4a2e58a684
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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',