<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>At the moment I'm working in a project, in which I need to use OpenIMSCore with a presence server, so I decided to use Opensips (version 1.9).<br><br>When I tried to start it I get two errors. The first one is due to the script generated by the tool ./osipsconfig, specifically in this line:<br><br>----------------<br>modparam("presence|presence_xml", "db_url",<br>&nbsp;&nbsp;&nbsp; "mysql://opensips:opensipsrw@localhost/opensips")<br>----------------<br><br>As you can see in the documentation, the presence_xml module doesn't include the db_url parameter anymore. It would be great if you could fix it, so the ./osipsconfig tool would not generate the script this way :).<br><br>The second error is due to the presence_xml module. I want a presence server WITHOUT XCAP and my configuration script looks like:<br><br>----------------<br>#### PRESENCE modules<br>loadmodule "presence.so"<br>loadmodule "presence_xml.so"<br><br>modparam("presence", "db_url",<br>&nbsp;&nbsp;&nbsp; "mysql://opensips:opensipsrw@localhost/opensips") # CUSTOMIZE ME<br>modparam("presence", "server_address", "sip:x.x.x.x:5065") # CUSTOMIZE ME<br>modparam("presence_xml", "force_active", 1)<br>----------------<br><br>Here I'm just following the documentation:<br><br>force_active: Should be set to 1 if not using an xcap server<br><br>But every time I try to start Opensips I get this error:<br><br>----------------<br>ERROR:presence_xml:mod_init: Can't bind xcap<br>ERROR:core:init_mod: failed to initialize module presence_xml<br>ERROR:core:main: error while initializing modules<br>----------------<br><br>It doesn't make any sence if you read the documentation. I commented the lines involving the presence_xml module and everything worked fine, but sadly I DO need this module.<br><br>What is that due to? It's there a bug? <br><br>regards,<br>Estefania<br>                                               </div></body>
</html>