Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 kamailio 作为负载平衡器和两台星号机器作为 pstn 网关。
在 dispatcher.list 我有两个星号机器的条目。在 kamailio 和 asterisk.all 工作正常之间成功建立了 Sip 中继,
有什么方法可以为同一个 kamailio 服务器创建多个 sip 中继,以便我可以根据 sip 中继将呼叫路由到不同的上下文。
kamailio 世界中没有“不同的背景”。
你有配置文件。一个配置文件。kamailio 的配置文件实际上是描述要做什么的程序。
您可以通过调度程序 ds_from_list 或通过 avp_pairs 访问组逻辑或 sql 查询放入配置文件检查 ip 地址(静态)或组检查。之后,您可以通过 lcr 或调度程序模块进行路由。你可以写任何逻辑。