소스 검색

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',