​

Hello,

I am currently using rtpproxy with opensips and need to add more rtpproxies
(hosted on different servers)

I thought to use rtp_cluster as the frontend for multiple rtpproxies.

Although the rtp_cluster socket does respond fine via the rtpproxy command
protocol. And, I get:

INFO:rtpproxy:rtpp_test: rtp proxy <unix:/var/run/rtpcluster.sock> found,
support for it enabled

Here's the error I get on opensips when I switch rtpproxy_sock to the UDP
or UNIX socket of rtp_cluster:

ERR:rtpp_command_pre_parse:GLOBAL: lookup command syntax error: invalid
number of arguments (8)

My config is attached. Has someone used rtp_cluster with opensips? Please
share your experience.

Regards,

Owais
<rtp_cluster_config>

  <rtp_cluster>
    <name>Supercluster#1</name>
    <protocol>UNIX</protocol>
    <address>/var/run/rtpcluster.sock</address>

    <capacity_limit type="hard" />

    <rtpproxy>
      <name>RTPPROXY1</name>
      <protocol>UDP</protocol>
      <address>10.20.30.40:22222</address>
      <weight>50</weight>
      <capacity>2500</capacity>
      <status>ACTIVE</status>
      <wan_address>1.2.3.4</wan_address>
    </rtpproxy>

    <rtpproxy>
      <name>RTPPROXY2</name>
      <protocol>UNIX</protocol>
      <address>/var/run/rtpproxy2.sock</address>
      <weight>50</weight>
      <capacity>2500</capacity>
      <status>ACTIVE</status>
    </rtpproxy>
  </rtp_cluster>

</rtp_cluster_config>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to