<DIV>&nbsp;</DIV>
<DIV><BR>Hi</DIV>
<DIV>I want to use opensips as integrated xcap mode that uses a database as an interface with the OpenXcap server.</DIV>
<DIV>configuration file of opensips reference&nbsp; <A href="http://www.opensips.org/Resources/OpenxcapPresConfig">http://www.opensips.org/Resources/OpenxcapPresConfig</A>.</DIV>
<DIV>config.ini of OpenXcap shows:[Server]<BR>address = 0.0.0.0<BR>port = 5090<BR>;root = <A href="http://xcap.example.com/xcap-root">http://xcap.example.com/xcap-root</A><BR>root = <A href="http://192.168.10.123/xcap-root">http://192.168.10.123/xcap-root</A><BR>backend = OpenSIPS<BR>allow_external_references = No<BR>; List os applications that won't be enabled on the server<BR>disabled_applications = </DIV>
<DIV>[Authentication]<BR>; The HTTP authentication type, this can be either 'basic' or 'digest'. The<BR>; standard states 'digest' as the mandatory, however it can be changed to<BR>; basic<BR>type = digest<BR>default_realm = 192.168.10.123<BR>trusted_peers = any<BR>[Database]<BR>authentication_db_uri = mysql://opensips:opensipsrw@localhost/opensips<BR>storage_db_uri = mysql://opensips:opensipsrw@localhost/opensips</DIV>
<DIV>subscriber_table = subscriber<BR>xcap_table = xcap<BR>[OpenSIPS]<BR>; The address and port of the xml-rpc management interface<BR>xmlrpc_url = <A href="http://192.168.10.123:8080">http://192.168.10.123:8080</A><BR>; Publish xcap-diff event via OpenSIPS management interface <BR>enable_publish_xcapdiff = yes</DIV>
<DIV>my test:<BR>1)eyebeam to register to opensips(ip:192.168.10.123).<BR>2)eyebeam send an initail subscription to opensips, and then recv 202 which means the subscription-state is<BR>&nbsp; pendding.<BR>I have no idea how to make subscription-state change from pending to active and how opensips communicate with openxcap,is any rule have to make ? could you &nbsp;give some tip?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks and Best regards!<BR></DIV>