Asterisk SIP user vs peer

网友投稿 258 2022-11-29

Asterisk SIP user vs peer

Asterisk SIP 'users' and 'peers' are have been the source of much confusion for Asterisk users. With newer versions of Asterisk the concept of SIP 'users' will be phased out. Quotes from Kevin Fleming of ​​​Digium​​ on Asterisk Mailing list Dec 23, 2005:

As of Asterisk 1.2, there is no reason to actually use 'user' entries any more at all; you can use 'type=peer' for everything and the behavior will be much more consistent. All configuration options supported under 'type=user' are also supported under 'type=peer'. The difference between friend and peer is the same as defining _both_ a user and peer, since that is what 'type=friend' does internally. The only benefit of type=user is when you _want_ to match on username regardless of IP the calls originate from. If the peer is registering to you, you don't need it. If they are on a fixed IP, you don't need it. 'type=peer' is _never_ matched on username for incoming calls, only matched on IP address/port number (unless you use insecure=port or higher).

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

上一篇:Asterisk SIP channels
下一篇:一文带你初识java中的String类
相关文章

 发表评论

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