Hi,

 

I have a SRV setup with three equal priority entries and equal weights. I expected openser (version 1.3.3) to distribute the INVITE requests equally to all 3 hosts, but it seems that all requests are forwarded to only one host.

 

The SRV entries look like this:

 

    _sip._udp.mydomain.com. 8805 IN SRV 100 33 5060 proxy1.mydomain.com.

    _sip._udp.mydomain.com. 8805 IN SRV 100 34 5060 proxy1.mydomain.com.

    _sip._udp.mydomain.com. 8805 IN SRV 100 33 5060 proxy1.mydomain.com.

 

 

And my routing for INVITE request looks like this:

 

    rewritehost("mydomain.com");

    rewriteport("");

   

    if (!t_relay()) {

         sl_reply_error();

    };

    exit;

 

Am I wrong in expecting this to distribute equally to the three proxy hosts? I thought this would just “work”.

 

Thanks,

 

Brian.