[Kamailio-Users] openser not distributing to all DNS SRV entries

Brian brian at proximosystems.com
Tue Feb 24 20:58:22 CET 2009


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.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090224/42f02eca/attachment.htm>


More information about the sr-users mailing list