【问题标题】:Asterisk AMI Kamailio load balancerAsterisk AMI Kamailio 负载均衡器
【发布时间】:2020-01-20 07:38:11
【问题描述】:

我正在尝试使用 Asterisk 配置 Kamailio 以进行负载平衡。 所以期望是:

1:我有 1 个 Kamailio 服务器

2:2 Asterisk 服务器

3: 1 个应用程序管理服务器,它将向 Kamailio 发送 AMI 请求

4:将在我的应用程序服务器的端口 5038 上调用星号 AMI。

5:Kamailio 应该理解并使用相同的端口将 AMI 请求(端口 5038)路由到 Asterisk 服务器。

【问题讨论】:

    标签: asterisk kamailio


    【解决方案1】:

    Kamailio 是 SIP 代理,它对 AMI 协议一无所知。

    使用 HAProxy 等通用代理或特定 AMI 代理

    经理代理

    Octopasty is a Python based multi-client/multi-server proxy for the Asterisk Manager Interface (AMI)
    AACC daemon, allows large number of agents to connect to asterisk and get CTI functionality.
    AstManProxy is a Multi-Threaded Manager Proxy with support for multiple I/O formats, including XML
    Asterisk Flash Operator Panel contains a manager proxy in perl
    Asterisk Simple Manager Proxy simplified version of the proxy in Asterisk Flash Operator Panel
    Astguiclient contains a manager proxy that uses a MySQL to queue requests
    Asterisk GUI DeStar contains a Python based manager proxy
    DialApplet, Unified communications
    TclMyAst offers a proxy that maintains channel state.
    RAMI contains a built-in manager proxy in Ruby
    CommServer is a Proxy server which gives the complete user profiling and billing managment for voip services using AMI.
    (amiws) Asterisk Management Interface (AMI) to Web-socket proxy on C. Can work with multiple AMI servers via TCP/TLS.
    

    https://www.voip-info.org/asterisk-manager-proxy/

    【讨论】:

      【解决方案2】:

      Kamailio 不是智能软件(不基于功能),您可以将其用作代理或负载平衡器,通过星号分派呼叫。对于 AMI 方面,据我所知,Asterisk 可以与 AMI 交谈。 在 kamailio 中,您应该使用调度程序模块在 Asterisks 上进行负载平衡。在这种情况下,Kamailio 可以使用您想要的一种算法来调度呼叫。根据我的经验,循环是最好的选择。

      【讨论】:

        猜你喜欢
        • 2021-12-07
        • 1970-01-01
        • 2013-07-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-08-26
        • 1970-01-01
        • 2023-04-05
        相关资源
        最近更新 更多