[OpenSIPS-Devel] Install document of "openSIPS + openXCAP"

2010-09-01 Thread Yita Wu
Is there any document of (about) install openXCAP with openSIPS v1.6.3 ?

if I already install openSIPS 1.6.3 and openXCAP successfully , how to
setting openSIPS or setting openXCAP then let they work together (use
openXCAP to save contact list and user picture)?


Thanks!!

Best regards,

YITA.
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] Install document of "openSIPS + openXCAP"

2010-09-03 Thread Yita Wu
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


Re: [OpenSIPS-Devel] Install document of "openSIPS + openXCAP"

2010-09-01 Thread Saúl Ibarra Corretgé
Hi,

On 09/02/2010 08:06 AM, Yita Wu wrote:
>
> Is there any document of (about) install openXCAP with openSIPS v1.6.3 ?
>

In the OpenXCAP package there is an example opensips.cfg file. It might 
be a little outdated, but it shouldn't be much effort to bring it up to 
date ;-)

> if I already install openSIPS 1.6.3 and openXCAP successfully , how to
> setting openSIPS or setting openXCAP then let they work together (use
> openXCAP to save contact list and user picture)?
>

OpenSIPS will use OpenXCAP for authorization policies, it's he client's 
responsibility to store the data (contact list, icon, etc.) in OpenXCAP.


Regards,

-- 
Saúl Ibarra Corretgé
AG Projects

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] Install document of "openSIPS + openXCAP"

2010-09-04 Thread Saúl Ibarra Corretgé
Hi,

On 09/04/2010 04:20 AM, Yita Wu wrote:
> 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 ?!
>

No, that is an *example* configuration. You need to dive into it and see 
how to configure OpenSIPS presence together with OpenXCAP in your 
particular scenario, as there is no "one fits all" solution.

Regards,

-- 
Saúl Ibarra Corretgé
AG Projects

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel