<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">My testbed is built on Ubuntu 7.04 and OpenIMScore, with openser(including mysql, presence, presence_xml and mi_xmlrpc module) and openxcap. Each component seems working fine according to syslog. But I am wondering how can I exactly know they integrate well?<br><br>I was running this testbed without openxcap to test presence using the following openser config(config 1). Notify request from openser is ok. However, the notify request disappears after shifting to integration of openser and openxcap(see config 2), and subscription state is 'pending' rather than 'active' as seen when testing without openxcap.<br><br>CONFIG 1:<br>=============================<br>loadmodule "presence.so"<br>loadmodule "presence_xml.so"<br>...<br># -- presence params --<br>modparam("presence", "db_url", "mysql://openser:openserrw@localhost:3306/openser")<br>modparam("presence", "presentity_table", "presentity")<br>modparam("presence", "active_watchers_table", "active_watchers")<br>modparam("presence", "watchers_table", "watchers")<br>modparam("presence", "clean_period", 100)<br>modparam("presence", "to_tag_pref", 'pres')<br>#modparam("presence", "lock_set_size", 8)<br>modparam("presence", "expires_offset", 10)<br>modparam("presence", "max_expires", 3600)<br>modparam("presence", "server_address", "sip:148.88.xxx.xxx:5065")<br>...<br># -- presence_xml params --<br>modparam("presence_xml", "db_url", "mysql://openser:openserrw@localhost:3306/openser")<br>modparam("presence_xml", "xcap_table", "xcap")<br>modparam("presence_xml", "force_active", 1)<br>=============================<br><br>CONFIG 2:<br>=============================<br>loadmodule "presence.so"<br>loadmodule "presence_xml.so"<br><br>loadmodule "mi_xmlrpc.so"<br><br>modparam("mi_xmlrpc", "log_file", "/var/log/openser-xmlrpc.log")<br>modparam("mi_xmlrpc", "port", 8888)<br><br># -- presence params --<br>modparam("presence", "db_url", "mysql://openser:openserrw@localhost:3306/openser")<br>modparam("presence", "presentity_table", "presentity")<br>modparam("presence", "active_watchers_table", "active_watchers")<br>modparam("presence", "watchers_table", "watchers")<br>modparam("presence", "clean_period", 100)<br>modparam("presence", "to_tag_pref", 'pres')<br>#modparam("presence", "lock_set_size", 8)<br>modparam("presence", "expires_offset", 10)<br>modparam("presence", "max_expires", 3600)<br>modparam("presence", "server_address", "sip:148.88.xxx.xxx:5065")<br><br># -- presence_xml params --<br>modparam("presence_xml", "db_url", "mysql://openser:openserrw@localhost:3306/openser")<br>modparam("presence_xml", "xcap_table", "xcap")<br>modparam("presence_xml", "force_active", 0)<br>modparam("presence_xml", "pidf_manipulation", 1)<br>modparam("presence_xml", "integrated_xcap_server", 1)<br>==============================<br>OPENXCAP config.ini:<br>address=0.0.0.0<br>port=8000<br>root=http://localhost/xcap-root<br>backend=Database<br>document_valication=Yes<br>type=basic<br>cleartest_passwords=Yes<br>default_realm=open-ims.test<br>trusted_peers=<br>authentication_db_uri=mysql://openser:openserrw@localhost:3306/openser<br>storage_db_uri=mysql://openser:openserrw@localhost:3306/openser<br>subscriber_table=subscriber<br>xcap_table=xcap<br>authentication_db_uri=mysql://openser:openserrw@localhost:3306/openser<br>
storage_db_uri=mysql://openser:openserrw@localhost:3306/openser<br>xcap_table=xcap<br>xmlrpc_url=http://localhost:8000<br>==============================<br><br><br>Anothter thing about apache, I have not create any virtual host just localhost points to /var/www/ (see the value of root in config.ini).&nbsp; According to the mechanism of openxcap, the subscribe request is sent as well as a HTTP GET. But I can't find anything about that http GET in both internal and external traces on port 4060,5060,6060,5065,8000,8888(no xml document in/var/www/xcap-root is created). Is this right? Or, do I need to redesign my sip client by adding a HTTP sending function when subscribing in order to test openxcap?<br><br>Thanks a billion!<br><br>Keivn,<br><br><br></div><br /><hr />使用新一代 Hotmail,更强大、更安全、更多存储空间! <a href='http://mail.live.com' target='_new'>立刻体验!</a></body>
</html>