Explorar o código

originate test

Hal De %!s(int64=4) %!d(string=hai) anos
pai
achega
0d0992ee6f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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/{}'.format(user),
+                                       'Channel':'local/{}@from-internal'.format(user),
                                        'Context':'from-internal',
                                        'Exten':number,
                                        'Priority': '1',