asterisk - SipML5 和 Asterisk 在 makeCall 中返回 488

标签 asterisk webrtc codec sipml

尝试使用 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/

相关文章:

linux - Derby 安 "unable to allocate memory"

ios - WebRTC iOS : remote video is not shown in iOS client

tcp - 通过 tcp 的 Webrtc 媒体?

python - 即时将 GSM 编解码器音频从网络传输到扬声器

audio - MP3 Player() 函数在声音播放后暂停 2 秒,然后执行下一条命令

linux - 在 modprobe.conf 中订购相同类型、相同产品 ID 和相同供应商 ID 的多张卡

file - Asterisk 作为文件转换器

javascript - 如何将音频从浏览器流式传输到 WebRTC native C++ 应用程序

encoding - 如何在使用 ffmpeg 进行实时 rtmp 发布期间自适应地将编码比特率更改为带宽?

c++ - 如何使用live555提取H264帧