2024-06-16 14:06:11 发布
网友
我正试图通过星号从python脚本发送短信给我的手机。 我已经在树莓3上安装了树莓,上面有陈冬乐。
手动操作正常:
asterisk -vvvr
然后
我的想法是编写python脚本来打开星号cli,并输入命令发送sms。
如此:
但没用!有人能帮我吗?
谢谢。瑞士的问候(今天天气不好)
你应该这样做:
asterisk -rx "core show channels"
-x command Connect to a running Asterisk process and execute a command on a command line, passing any output through to stan‐ dard out and then terminating when the command execution completes. Implies -r when -R is not explicitly supplied.
你应该这样做:
相关问题 更多 >
编程相关推荐