Hello,
I find "/opt/xcap/openxcap-1.2.1/opensips/opensips.cfg" in xcap source
folder.
So you mean I just copy this configure file to my openSIPS server replace
original opensips.cfg,
Then openSIPS + openXCAP will working with each other ?!
If I use XCAP's opensips.cfg, Could the openSIPS still process "sip call
routing" ?
I think maybe I need add some code into opensips.cfg ...
list part of opensips.cfg ...
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
modparam("mi_datagram", "socket_name", "/var/run/opensips/socket")
modparam("mi_datagram", "unix_socket_user", "opensips")
modparam("mi_datagram", "unix_socket_group", "opensips")
modparam("mi_fifo", "fifo_name", "/var/run/opensips/fifo")
modparam("mi_fifo", "fifo_user", "opensips")
modparam("mi_fifo", "fifo_group", "opensips")
# -- presence params --
modparam("presence", "db_url", "mysql://
opensips:passw...@192.168.11.126/opensips")
modparam("presence", "server_address",
"sip:prese...@192.168.11.126
")
modparam("presence", "fallback2db", 1)
modparam("presence", "clean_period", 30)
# -- xcap params --
modparam("presence_xml", "db_url", "mysql://
opensips:passw...@192.168.11.126/opensips")
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "pidf_manipulation", 1)
modparam("presence_xml", "integrated_xcap_server", 1)
# -- rls params --
modparam("rls", "db_url", "mysql://
opensips:opensip...@192.168.11.126/opensips")
modparam("rls", "server_address",
"sip:r...@192.168.11.126
")
modparam("rls", "to_presence_code", 5)
modparam("rls", "integrated_xcap_server", 1)
# - setting module-specific parameters ---
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
modparam("mi_datagram", "socket_name", "/var/run/opensips/socket")
modparam("mi_datagram", "unix_socket_user", "opensips")
modparam("mi_datagram", "unix_socket_group", "opensips")
modparam("mi_fifo", "fifo_name", "/var/run/opensips/fifo")
modparam("mi_fifo", "fifo_user", "opensips")
modparam("mi_fifo", "fifo_group", "opensips")
# -- presence params --
modparam("presence", "db_url", "mysql://
opensips:passw...@192.168.11.126/opensips")
modparam("presence", "server_address",
"sip:prese...@192.168.11.126
")
modparam("presence", "fallback2db", 1)
modparam("presence", "clean_period", 30)
# -- xcap params --
modparam("presence_xml", "db_url", "mysql://
opensips:passw...@192.168.11.126/opensips")
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "pidf_manipulation", 1)
modparam("presence_xml", "integrated_xcap_server", 1)
# -- rls params --
modparam("rls", "db_url", "mysql://
opensips:opensip...@192.168.11.126/opensips")
modparam("rls", "server_address",
"sip:r...@192.168.11.126
")
modparam("rls", "to_presence_code", 5)
modparam("rls", "integrated_xcap_server", 1)
# - request routing logic ---
Best regards,
YITA.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel