[sr-dev] presence pua crash when using db_cluster

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 27 17:14:50 CEST 2012


Hello,

a quick look over the pua_db.c file shows that dbf.use_table(...) is not 
used before doing the queries. That is required for db_cluster. Perhaps 
someone that is able to test the module can add the fix quickly -- I 
cannot do it for the next few days.

Cheers,
Daniel


On 9/27/12 4:58 PM, Juha Heinanen wrote:
> Peter Dunkley writes:
>
>> >From a quick look at the code this could happen if the table name or
>> length was a bad pointer.
> peter,
>
> i didn't change table names when i turned on cluster.  i just changed
> this:
>
> modparam("pua", "db_url", "cluster://pres_serv_cluster")
>
> crash happens on timer before presence server has got any requests.
>
> without db_cluster, presence works fine. have you tried presence with
> db_cluster?
>
> -- juha
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu




More information about the sr-dev mailing list