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

Jayesh Nambiar jayesh1017 at gmail.com
Tue Jul 5 16:55:12 CEST 2016


Thank you very much Daniel. That solved the problem. Consequences of random
upgrade. Will keep in mind for the future :)

- Jayesh

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

> It looks like you installed it for first time long time ago, without
> proper upgrade. If you run kamailio 4.4, the version value has to be 4.
>
> The module works also with older table versions/structures, but it doesn't
> select the new columns.
>
> Cheers,
> Daniel
>
> On 05/07/16 16:34, Jayesh Nambiar wrote:
>
> 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
>>
>
> --
> Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://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/90c30924/attachment.html>


More information about the sr-users mailing list