问题
外拨时触发failed事件,返回SIP Failure Code (SIP/2.0 422 Session Interval Too Small, status_code:422)
FreeSwitch不接受INVITE中Session-Expires的值为90导致的,必须在call的options中指定sessionTimersExpires的值(必须大于90,且该值不能小于90)或者调整configuration中session_timers的值为false。
参考:
外拨时触发failed事件,返回Incompatible SDP (SIP/2.0 488 Not Acceptable Here, status_code: 488)。FreeSwitch控制台报警告:NO candidate ACL defined, Defaulting to wan.auto
方案一 :
在call的options中指定pcConfig/iceServers
方案二 :
在配置文件sip_profiles/internal.xml中添加如下内容

在使用JsSip进行WebRTC通话时遇到FreeSwitch不接受INVITE中特定值的问题,解决方案包括在JsSip配置中设定SIP失败代码或修改FreeSwitch配置文件以允许兼容的SDP。同时,还需要关注Access Control List (ACL)的设置以确保通信正常。
最低0.47元/天 解锁文章
598

被折叠的 条评论
为什么被折叠?



