Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有可能在 perl AGI 脚本中调用星号函数,如 CHANNEL 函数。
扩展名.conf
exten => _X.,1,NoOp(${CHANNEL(dahdi_channel)})
以上 NoOp 将打印当前呼叫通道号。我在 perl AGI 脚本中也需要。
如果你使用 perl Asterisk::AGI或 fastagi 版本,你可以使用
$AGI->get_full_variable('${CHANNEL(dahdi_channel)}');