浏览代码

debug originate

Hal De 4 年之前
父节点
当前提交
2060ce035b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/app.py

+ 1 - 1
app/app.py

@@ -791,7 +791,7 @@ class Originate(Resource):
              'Exten':number,
              'Priority': '1',
              'async':'false',
-             'Callerid': user}
+             'Callerid': '{} <{}>'.format(user, user)}
     app.logger.warning(_act)
     reply = await manager.send_action(_act)
     if isinstance(reply, Message):