فهرست منبع

debug originate

Hal De 4 سال پیش
والد
کامیت
4a2e58a684
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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',