Asterisk: create user with template via AMI

旧街凉风 提交于 2019-12-03 21:34:06
Milorad Lalovic
var amiAction = {
    action: 'UpdateConfig',
    reload: 'chan_sip',
    srcfilename: 'sip.conf',
    dstfilename: 'sip.conf',
    'action-000000': 'newcat',
    'cat-000000': '1000',
    'options-000000': 'inherit=template-name'
};

I'm sure you've tried this, but:

'cat-000000': '1000 [(mytemp)]',

... should work just fine. If it does not, what error message does it throw?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!