freeswitch 呼入 ‘WRONG_CALL_STATE‘
问题:
处理呼入的时候,出现自动挂断,挂断原因:"WRONG_CALL_STATE"
解决:
根因是acl控制策略,找到文件
查找
<param name="apply-inbound-acl" value="domains"/>
//改成
<param name="apply-inbound-acl" value="my_custom_acl"/>
配置好准入acl.conf.xml,添加
<list name="my_custom_acl" default="allow"><node type="allow" cidr="xxx.xx.xx.xx/16"/><node type="allow" cidr="xxx.xx.xx.xx/12"/></list>
关注我少走弯路