[SR-Users] dispatcher weight dont work

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 8 11:36:02 CET 2015


Hello,

what version are you using? Can you paste here the records you have for
the destination set (you can replace the ip addresses, I am interested
in attributes) and the ds_select_dst() or ds_select_domain() lines from
your config?

Cheers,
Daniel

On 08/01/15 04:07, Yuriy Gorlichenko wrote:
> Hello I use dipatcher  algorithm that works with weight. I added  2
> Asterisks and try to call its with my kam, but this still works like 4
> algorithm. Weight does not work.
> How I must configure dispatchr for working with weight?
> My configuration now is
>
> modparam("dispatcher", "db_url",DBURL)
> modparam("dispatcher", "table_name", "dispatcher")
> modparam("dispatcher", "setid_col", "setid")
> modparam("dispatcher", "destination_col", "destination")
> modparam("dispatcher", "force_dst", 1)
> modparam("dispatcher", "flags", 3)
> modparam("dispatcher", "dst_avp", "$avp(i:271)")
> modparam("dispatcher", "grp_avp", "$avp(i:272)")
> modparam("dispatcher", "cnt_avp", "$avp(i:273)")
> modparam("dispatcher", "ds_ping_from", "sip:proxy at 10.0.1.1
> <mailto:sip%3Aproxy at 10.0.1.1>")
> modparam("dispatcher", "ds_ping_interval",15)
> modparam("dispatcher", "ds_probing_mode", 1)
> modparam("dispatcher", "ds_ping_reply_codes",
> "class=2;code=403;code=404;code=484;class=3")
> modparam("tm", "reparse_on_dns_failover", 0)
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150108/e214103f/attachment.html>


More information about the sr-users mailing list