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

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 5 15:49:41 CEST 2016


Hello,

what is the table_version in version table for dispatcher?

select * from version

Cheers,
Daniel


On 05/07/16 14:51, Jayesh Nambiar wrote:
> 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
>
>
>
> _______________________________________________
> 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://www.asipto.com - http://www.kamailio.org
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/20160705/1954b621/attachment.html>


More information about the sr-users mailing list