Python中文
首页
教程
问答
标签
搜索
登录
注册
astcanary与asteris中的python脚本
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我正在建立一个新的voip系统。系统是一个星号后端。我有一个python脚本,在客户调用技术支持时验证客户数据。当我在call IVR菜单中触发脚本时,返回0,并且脚本实际上没有执行。我做到了:</p> <p>星号-rx“核心停止”</p> <p>星号-VVGC</p> <p>一旦我这样做了,脚本运行没有问题。我可以浏览整个菜单,核实客户信息,然后把电话转到技术支持分机。但Icinga显示,astcanary已经不再运行,并且在监控方面显示出了至关重要的作用。如果我重新启动asterisk/telephony服务,astcanary显示为ok,但我的脚本不再运行。脚本再次返回0,并且不执行它应该执行的操作。你知道吗</p> <p>有人知道这场冲突与什么有关吗?我已经监控了我的服务器的CPU使用情况,但是python脚本并没有空闲,而且在实际运行时几乎没有达到0.5%(我使用htop来观察进程),任何想法或想法都会受到欢迎和关注!谢谢。你知道吗</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>在大多数情况下,这样的问题是权限问题。Asterisk在Asterisk user下运行,而您喜欢在other user下运行(root?)你知道吗</p> <p>试着做</p> <pre><code>asterisk -rx "core stop now" su asterisk -c "asterisk -vvvgc" </code></pre> <p>你会看到错误。你知道吗</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
pyVISA GPIB GET(组执行触发器)
6 回答
Pyvisa IOerror设备:Korad K3005d电源
5 回答
PyVISA mac OS X(山狮)安捷伦33250
3 回答
Pyvisa Pyusb无法加载大于1 MB的序列
1 回答
pyVisa RS232太慢
8 回答
PyVISA RS232超时错误(安捷伦电源)
7 回答
PyVISA SCPI命令和查询(值更新问题)
5 回答
PyVISA SerialInstrument需要硬重置才能在故障后连接
2 回答
pyvisa,未找到函数viOpen
8 回答
pyVISA:以编程方式将仪器返回到本地模式
4 回答
pyvisa:接口类型是什么意思?
5 回答
pyvisa.errors.VisaIOError:VI_ERROR_TMO(1073807339):操作完成前超时
2 回答
PyVisa“更复杂的示例”根本不运行Keithley 2400不理解的命令
8 回答
PyVisapy后端
7 回答
PyVISA不能写入超过7F的十六进制字符
8 回答
PYVISA中的ENUM模块和cStringIO模块
2 回答
PyVisa代码的图形用户界面
5 回答
Pyvisa使用按键电源超时
7 回答
PyVISA和Kethley 2701只能从一个通道获取结果
10 回答
PyVisa和Printing New D
1 回答