[OpenSIPS-Devel] how subscription-state change from pending to active by opensips used integrated with openxcap

夜雨萧萧~~~ loringlin at foxmail.com
Mon Aug 6 07:30:05 CEST 2012


Hi
 I want to use opensips as integrated xcap mode that uses a database as an interface with the OpenXcap server.
 configuration file of opensips reference  http://www.opensips.org/Resources/OpenxcapPresConfig.
 config.ini of OpenXcap shows:[Server]
address = 0.0.0.0
port = 5090
;root = http://xcap.example.com/xcap-root
root = http://192.168.10.123/xcap-root
backend = OpenSIPS
allow_external_references = No
; List os applications that won't be enabled on the server
disabled_applications = 
 [Authentication]
; The HTTP authentication type, this can be either 'basic' or 'digest'. The
; standard states 'digest' as the mandatory, however it can be changed to
; basic
type = digest
default_realm = 192.168.10.123
trusted_peers = any
[Database]
authentication_db_uri = mysql://opensips:opensipsrw@localhost/opensips
storage_db_uri = mysql://opensips:opensipsrw@localhost/opensips
 subscriber_table = subscriber
xcap_table = xcap
[OpenSIPS]
; The address and port of the xml-rpc management interface
xmlrpc_url = http://192.168.10.123:8080
; Publish xcap-diff event via OpenSIPS management interface 
enable_publish_xcapdiff = yes
 my test:
1)eyebeam to register to opensips(ip:192.168.10.123).
2)eyebeam send an initail subscription to opensips, and then recv 202 which means the subscription-state is
  pendding.
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  give some tip?
  
  
 Thanks and Best regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20120806/1c201bd6/attachment.htm>


More information about the Devel mailing list