我使用的是Kamailio,并且已经安装了所有设备并向系统添加了两个订户。 我想知道是否有办法根据扩展变量发送INVITE请求,而不是使用订户的用户名。 谢谢你,并有一个伟大的。
I am using Kamailio and have just setup everything and added two subscribers to the system. I would like to know if there is a way to send INVITE requests according to an extension variable, instead of using the subscriber's username. Thank you and have a great one.
最满意答案
如果你寻找的是同一用户的更多身份,那么是的,这是可能的。 要明确,我的意思是有可能使用1001@sipdomain.com或manager@sipdomain.com致电alice@sipdomain.com 。
一种方法是使用alias_db模块,该模块使用别名和主SIP标识之间的关联来保存表。 默认的kamailio.cfg有一个选项来启用这样的功能,查找WITH_ALIASDB定义。
If what you look for is more identities for the same user, then yes, it is possible. To be clear, by this I mean to have the possibility to call alice@sipdomain.com using also 1001@sipdomain.com or manager@sipdomain.com.
One way to do it is using alias_db module, which keeps a table with the association between aliases and the main SIP identity. The default kamailio.cfg has an option to enable such a feature, look for WITH_ALIASDB define.
更多推荐
发布评论