Asterisk SIP media path

网友投稿 256 2022-08-29

Asterisk SIP media path

In a normal ​​SIP proxy​​​, the server is not involved in the media between the phones. With Asterisk, sometimes Asterisk stays in the path. It depends on many variables and configurations. Asterisk mostly sets up the SIP phone call with itself in the media path. When the phone call is connected, Asterisk normally sends ​​​SIP reinvites​​ to both clients to redirect the media path so that Asterisk does not have to handle the media stream any more.

If the phones do not support reinvite

Some clients do not support re-invites. If this is the case, you have to configure asterisk NOT to re-invite. See ​​​Asterisk sip canreinvite​​ for more information.

If the phones support reinvites

Asterisk will bridge a call in some cases and not in others. If codec conversion is required between phones, its stays in the middle. If the two phones can agree upon a common codec, etc, * is not in the middle from a pure communications perpective. In that particular case, what the phone does when the # key is press is totally a function of how the phone was programmed (and not asterisk). If the phone, as an example only, has an implementation bug that says I'm not going to forward the # key to asterisk during a conversation, obviously * can't interpret it.

If the Dial() statement forces the path thru Asterisk

Certain options to the Dial() statement require that Asterisk is in the media path, and consequently Asterisk will not let go of it: t, ''T", "h", "H", "w", "W" or "L" (with multiple arguments). Probably there are more.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:如何策划一场出色的品牌营销?(如何品牌策划和营销)
下一篇:MessageDigest的功能及用法
相关文章

 发表评论

暂时没有评论,来抢沙发吧~