i think the issue is usrloc and jabber are trying to share the same
connection and creating an error. if i use dbmode=0 for usrloc, the error
goes away, but i want to use persist database for usrloc as well.. is there
a workaround?
<BLOCKQUOTE style='PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #A0C6E5
2px solid; MARGIN-RIGHT: 0px'><font
style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'><hr color=#A0C6E5
size=1>
From: <i>Daniel-Constantin Mierla
<[EMAIL PROTECTED]></i><br>Reply-To:
<i>[EMAIL PROTECTED]</i><br>To: <i>"Matt L. Zhu"
<[EMAIL PROTECTED]></i><br>CC:
<i>[email protected]</i><br>Subject: <i>Re: [Users] openser and
jabber</i><br>Date: <i>Wed, 05 Oct 2005 11:32:24
+0300</i><br>>Hello,<br>><br>>On 10/05/05 00:52, Matt L. Zhu
wrote:<br>><br>>>hi,<br>>><br>>>has anyone successfully
implemented the jabber module for openser? <br>>>i keep on getting
this error the moment i enable jabber.so in
<br>>>openser.cfg<br>>><br>>>1(0) get_connection():
Inherited open database connections, this is <br>>>not a good
idea<br>>>1(0) db_init(): Could not create a
connection<br>>>1(0) ERROR: child_init(-2): Error while connecting
database<br>>>1(0) init_mod_child(): Error while initializing module
usrloc<br>><br>>the error comes from the usrloc module. OpenSER was
unable to open <br>>the connection to MySQL server. Check the username,
password, host <br>>and database you gave to db_url parameter of usrloc
module.<br>><br>>Daniel<br>><br>>>1(0) ERROR: open_uac_fifo:
init_child failed<br>>>1(0) starting fifo server
failed<br>>>1(0) XJAB: Unloading module
...<br>>><br>>><br>>>without jabber, everything works
fine, here are my parameters.<br>>>modparam("jabber",
"db_url",
"mysql://root:[EMAIL PROTECTED]/sip")<br>>>modparam("jabber",
"jaddress",
"192.168.0.4")<br>>>modparam("jabber",
"jdomain",
"192.168.0.4")<br>>>modparam("jabber",
"proxy", "127.0.0.1:5060
localhost:5060")<br>>><br>>>please
help<br>>><br>>><br>>><br>>>_______________________________________________<br>>>Users
mailing
list<br>>>[email protected]<br>>>http://openser.org/cgi-bin/mailman/listinfo/users<br>>><br></font></BLOCKQUOTE>
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users