admin管理员组文章数量:1435524
In my dial plan, extensions.conf, I have a the following variables:
SALES=Dahdi/9&Dahdi/10&Dahdi/11
CUSTSVC=Dahdi/12&Dahdi/13&Dahdi/14
I would like to get the value of the second variable from a file which contains only the Dahdi extensions string of people available. I have tried:
CUSTSVC=/home/richard/InTheOffice.txt
CUSTSVC=FILE(/home/richard/InTheOffice.txt)
CUSTSVC=ReadFile(/home/richard/InTheOffice.txt)
However none seem to assign the global variable with the value in the file. Anyone know how I can achieve this?
本文标签: AsteriskHow to get Global Variable value from a fileStack Overflow
版权声明:本文标题:Asterisk, How to get Global Variable value from a file - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744143442a2592722.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论