尝试使用 SipML5 和 Asterisk13(Chorme 中的一个用户和另一个 Firefox)进行视频音频调用,但在“响铃”(180) 后,调用者收到“此处 Not Acceptable ”(488)。 Asterisk 消息:
[Jan 23 11:38:27] NOTICE[11127][C-00000004] chan_sip.c:在音频应答中收到 AVP 配置文件,但 AVPF 已启用,禁用:音频 36436 RTP/AVP 111 8 0 101
[1 月 23 日 11:38:27] 警告[11127][C-00000004] chan_sip.c:我们正在请求 SRTP 音频,但他们没有回应!
关于我在几个页面中找到的 488:
488 Not Acceptable Here - The response has the same meaning as 606 (Not Acceptable), but only applies to the specific resource addressed by the Request-URI and the request may succeed elsewhere. A message body containing a description of media capabilities MAY be present in the response, which is formatted according to the Accept header field in the INVITE (or application/sdp if not present), the same as a message body in a 200 (OK) response to an OPTIONS request.
和
You have not enabled AVPF support in the peer, user, or friend entry using "avpf=yes" or have not allowed a codec that is supported by the caller.
但我没有找到任何方法来解决这个问题。是的,SIP 中的菜鸟。 我尝试的最好方法是更改 sip.conf 中的对等点(添加 avpf=true),但甚至连 Asterisk 消息都没有更改。
是否是编解码器问题?如果是这样,我该如何更改以适应这种情况? 如果不是,这是怎么回事?我已经有点失去理智了。 ^^"
最佳答案
Asterisk 可能遵循 RFC,并且您在协商安全 SRTP session 时需要使用 SAVP/SAVPF 配置文件。
关于asterisk - SipML5 和 Asterisk 在 makeCall 中返回 488,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28115878/