如何在 Asterisk/FreePBX 的拨号计划中后台运行 System()
在 Asterisk 中,类似这样的 System() 命令
extensions_custom_example.conf
exten => 123456,n,System(mycommand)通常在前台运行,即 Asterisk 会等待命令完成后再继续拨号计划。
然而,就像在任何普通 Linux shell 中一样,你可以在末尾添加 & 来在后台运行命令:
extensions_custom_bg.conf
exten => 123456,n,System(mycommand &)Check out similar posts by category:
FreePBX
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow