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

Jayesh Nambiar jayesh1017 at gmail.com
Tue Jul 5 16:34:06 CEST 2016


Version is 3.

- Jayesh

On Tue, Jul 5, 2016 at 7:19 PM Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> 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 listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160705/b65956e0/attachment.html>


More information about the sr-users mailing list