THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#339 - pua_reginfo: Fails to insert the contact into the location table
User who did this - Wonbin Cho (wbcho)
----------
A suggestion is:
"kamailio-4.0.1/modules/pua_reginfo/pua_reginfo.c"
#include "../../lib/srutils/sruid.h"
...
sruid_t _reginfo_sruid;
...
static int mod_init(void)
{
...
if(sruid_init(&_reginfo_sruid, (char)'-', "regi", SRUID_INC)<0)
return -1;
return 0;
}
"kamailio-4.0.1/modules/pua_reginfo/notify.c"
#include "../../lib/srutils/sruid.h"
...
extern sruid_t _reginfo_sruid;
int process_contact(udomain_t * domain, urecord_t ** ul_record, str aor, str
callid, int cseq, int expires, int event, str contact_uri) {
...
/* set ruid */
if(sruid_next(&_reginfo_sruid)<0) {
LM_ERR("failed to generate ruid");
} else {
ci.ruid = _reginfo_sruid.uid;
LM_DBG("generated ruid is: %.*s\n", ci.ruid.len, ci.ruid.s);
}
...
}
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=339#comment1070
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.
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev