[sr-dev] [tracker] Comment added: Crash in presence_reginfo/presence.so

sip-router admin at sip-router.org
Tue Feb 7 11:01:13 CET 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#203 - Crash in presence_reginfo/presence.so
User who did this - Carsten Bock (carstenbock)

----------
Strange:
In my config i have:
####### Modules Section ########
# set paths to location of modules
mpath="/usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/"
loadmodule "presence_reginfo.so"
loadmodule "presence.so"

And as a result, my Kamailio does not start:
Feb  7 10:56:04 proxy1 /usr/sbin/kamailio[6650]: ERROR: presence_reginfo [presence_reginfo.c:75]: can't bind presence
Feb  7 10:56:04 proxy1 /usr/sbin/kamailio[6650]: ERROR: <core> [sr_module.c:932]: init_mod(): Error while initializing module presence_reginfo (/usr/lib64/kamailio/modules_k/presence_reginfo.so)
(unless i change the order)

Works as designed, i'd say.

In the module:
    bind_presence= (bind_presence_t)find_export("bind_presence", 1,0);
    if (!bind_presence) {
	LM_ERR("can't bind presence\n");
	return -1;
    }
So, if the "presence" module is not loaded, it will not start, according to the source.

Can you provide further info, how i can reproduce this?
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=203#comment497

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list