Hal De před 4 roky
rodič
revize
2b833acb8e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/app.py

+ 1 - 1
app/app.py

@@ -714,7 +714,7 @@ class Originate(Resource):
     if device in NONEs:
       return noUserDevice(user)
     reply = await manager.send_action({'Action':'Originate',
-                                       'Channel':'local/{}@from-internal'.format(user),
+                                       'Channel':'PJSIP/{}'.format(device),
                                        'Context':'from-internal',
                                        'Exten':number,
                                        'Priority': '1',