[sr-dev] Strange issue with presence_xml on FreeBSD

Olle E. Johansson oej at edvina.net
Mon Apr 16 21:30:14 CEST 2012


16 apr 2012 kl. 21:19 skrev Daniel-Constantin Mierla:

> 
> 
> On 4/16/12 7:48 PM, Olle E. Johansson wrote:
>> 16 apr 2012 kl. 19:25 skrev Daniel-Constantin Mierla:
>> 
>>> Hello,
>>> 
>>> is an installation from taraball or latest git branch?
>> Tarball 3.2.2
>> 
>>> How do you set the modparam, with single module name or a regexp?
>> Single module name - copied from your knowledgebase.
>> 
>>> If you use xmlops, be sure you use latest git branch, there was an issue you reported some time ago about conflicting internal names -- that can be the cause.
>> I'm testing presence recipies your Astipto cookbook. I can disable xmlops and test without it.
> the tarball of 3.2.2 is missing this patch.
> 
> http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3259ef734158d9cd63ce3fa94565f5cd4260e3f6

Right, but the issues down here is "presence_xml" :-)

/O
> 
> Cheers,
> Daniel
> 
>> 
>> /O
>>> Cheers,
>>> Daniel
>>> 
>>> On 4/15/12 3:46 PM, Olle E. Johansson wrote:
>>>> Got the following error:
>>>> 
>>>> 0(86255) DEBUG:<core>   [modparam.c:96]: set_mod_param_regex: 'presence_xml' matches module 'presence_xml'
>>>> 0(86255) DEBUG:<core>   [sr_module.c:763]: find_param_export: found<db_url>   in module presence_xml [/usr/local/lib64/kamailio/modules_k/presence_xml.so]
>>>> 0(86255) DEBUG:<core>   [modparam.c:113]: set_mod_param_regex: found<db_url>   in module presence_xml [/usr/local/lib64/kamailio/modules_k/presence_xml.so]
>>>> 0(86255) DEBUG:<core>   [mem/q_malloc.c:369]: qm_malloc(0x800c00000, 73) called from<core>: modparam.c: set_mod_param_regex(124)
>>>> 0(86255) DEBUG:<core>   [mem/q_malloc.c:413]: qm_malloc(0x800c00000, 80) returns address 0x800c5bde0 frag. 0x800c5bdb0 (size=80) on 1 -th hit
>>>> 0(86255) DEBUG:<core>   [modparam.c:96]: set_mod_param_regex: 'presence_xml' matches module 'presence_xml'
>>>> 0(86255) DEBUG:<core>   [sr_module.c:769]: find_param_export: parameter<db_url>   not found in module<presence_xml>
>>>> 0(86255) ERROR:<core>   [modparam.c:151]: set_mod_param_regex: parameter<db_url>   not found in module<presence_xml>
>>>> 
>>>> 
>>>> First it seams to find db_url in presence_xml, then when trying to configure the parameter, it's nowhere to be found...
>>>> The same applies for all other mod_params in presence_xml.
>>>> 
>>>> Kamailio 3.2.2 on FreeBSD.
>>>> 
>>>> I don't even know where to start looking for this. THe source code for presence_xml clearly defines db_url as a parameter.
>>>> 
>>>> /O
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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
>>> Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
>>> http://www.asipto.com/index.php/kamailio-advanced-training/
>> ---
>> * Olle E Johansson - oej at edvina.net
>> * Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden
>> 
>> 
>> 
> 
> -- 
> Daniel-Constantin Mierla
> Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
> http://www.asipto.com/index.php/kamailio-advanced-training/

---
* Olle E Johansson - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden






More information about the sr-dev mailing list