[SR-Users] dispatcher module not fetching attrs col from DB

Jayesh Nambiar jayesh1017 at gmail.com
Tue Jul 5 14:51:51 CEST 2016


Hi,
I'm trying to use the dispatcher module with algo 9 for weighted
distribution. I have a column attrs in the dispatcher table with value in
the format "weight=90" for my destination addresses.
But somehow the ds_list command always shows attrs as blank. I checked that
kamailio doesn't fetch the attrs column at all; neither while starting up
nor while calling ds_reload. This is the query that kamailio sends to my DB
while starting up or calling the fifo ds_reload:

select `setid`,`destination`,`flags`,`priority` from `dispatcher`

I dont even see an attr column modparam in the documentation although
kamailio didnt throw an error when I defined attr_col modparam for
dispatcher module. Is there a different way to tell kamailio to fetch the
attrs from the DB??

I'm using the 4.4.1 version. Thanks for any suggestion or pointers to solve
this.

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


More information about the sr-users mailing list