opensips and openxcap with RLS

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

opensips and openxcap with RLS

Michael Ciupka-2
Hello,

now i have configure opensips.cfg to get a RLS.
i write this command in the file:
modparam("rls","db_url", "mysql://opensips:opensipsrw@localhost/opensips")
modparam("rls", "xcap_table", "xcap")
modparam("rls", "rlsubs_table", "rls_watchers")
modparam("rls", "rlpres_table", "rls_presentity")
modparam("rls", "clean_period", 100)
modparam("rls", "waitn_time", 10)
modparam("rls", "xcap_root", "http://192.168.2.6:8000/xcap-root")
modparam("rls", "integrated_xcap_server", 1)
modparam("rls", "to_presence_code", 10)
modparam("rls", "presence_server", "sip:192.168.2.6:5060")
modparam("rls", "server_address", "sip:192.168.2.6:5060")


I must also configure the openxcap file? if so  what commands i need or what commands are significant?

Regards
Michael

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips and openxcap with RLS

Anca Vamanu-2
Michael Ciupka wrote:

> Hello,
>
> now i have configure opensips.cfg to get a RLS.
> i write this command in the file:
> modparam("rls","db_url", "mysql://opensips:opensipsrw@localhost/opensips")
> modparam("rls", "xcap_table", "xcap")
> modparam("rls", "rlsubs_table", "rls_watchers")
> modparam("rls", "rlpres_table", "rls_presentity")
> modparam("rls", "clean_period", 100)
> modparam("rls", "waitn_time", 10)
> modparam("rls", "xcap_root", "http://192.168.2.6:8000/xcap-root")
> modparam("rls", "integrated_xcap_server", 1)
> modparam("rls", "to_presence_code", 10)
> modparam("rls", "presence_server", "sip:192.168.2.6:5060")
> modparam("rls", "server_address", "sip:192.168.2.6:5060")
>
>
>  
Just as a remark: why do you set the parameters to their default value?

modparam("rls", "rlsubs_table", "rls_watchers")
modparam("rls", "rlpres_table", "rls_presentity")
modparam("rls", "clean_period", 100)
modparam("rls", "waitn_time", 10)
modparam("rls", "to_presence_code", 10)


In the documentation default value means that the parameter already has this value and that you should set it only if you wish to change it.



 
> I must also configure the openxcap file? if so  what commands i need or what commands are significant?
>
>
>  
What do you mean by this question??
You must of course configure the openxcap server and you will find
documentation for this on the openxcap.org page.
> Regards
> Michael
>  

regards,
Anca
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips and openxcap with RLS

Michael Ciupka-2
In reply to this post by Michael Ciupka-2
Hello Anna,

thanks for your answer. yes i know with the openxcap. my openxcap file show like this:
address = xcap.open-ims.test
port = 8000
root = https://xcap.example.com/xcap-root
root = http://open-ims.test/xcap-root
root = http://192.168.2.6/xcap-root
backend = OpenSIPS
document_validation = Yes
log_stacktrace
log_stacktrace=500
log_stacktrace=any
log_response_body=400,409
log_request_headers=401
type = basic
cleartext_passwords = Yes
default_realm = example.com
trusted_peers = 192.168.2.6
certificate = tls/server.crt
private_key = tls/server.key
authentication_db_uri = mysql://opensips:opensipsrw@localhost/opensips
storage_db_uri = mysql://opensips:opensipsrw@localhost/opensips
subscriber_table = subscriber
xcap_table = xcap
xmlrpc_url = http://192.168.2.6:8080
enable_publish_xcapdiff = yes

now i want to manage a RLS Server and configure them in opensips.cfg.
is my config.cfg from openxcap ready for RLS or i must write there something?

Regards
Michael

-------- Original-Nachricht --------
> Datum: Mon, 04 May 2009 14:58:46 +0300
> Von: Anca Vamanu <[hidden email]>
> An: Michael Ciupka <[hidden email]>
> CC: [hidden email]
> Betreff: Re: [OpenSIPS-Users] opensips and openxcap with RLS

> Michael Ciupka wrote:
> > Hello,
> >
> > now i have configure opensips.cfg to get a RLS.
> > i write this command in the file:
> > modparam("rls","db_url",
> "mysql://opensips:opensipsrw@localhost/opensips")
> > modparam("rls", "xcap_table", "xcap")
> > modparam("rls", "rlsubs_table", "rls_watchers")
> > modparam("rls", "rlpres_table", "rls_presentity")
> > modparam("rls", "clean_period", 100)
> > modparam("rls", "waitn_time", 10)
> > modparam("rls", "xcap_root", "http://192.168.2.6:8000/xcap-root")
> > modparam("rls", "integrated_xcap_server", 1)
> > modparam("rls", "to_presence_code", 10)
> > modparam("rls", "presence_server", "sip:192.168.2.6:5060")
> > modparam("rls", "server_address", "sip:192.168.2.6:5060")
> >
> >
> >  
> Just as a remark: why do you set the parameters to their default value?
>
> modparam("rls", "rlsubs_table", "rls_watchers")
> modparam("rls", "rlpres_table", "rls_presentity")
> modparam("rls", "clean_period", 100)
> modparam("rls", "waitn_time", 10)
> modparam("rls", "to_presence_code", 10)
>
>
> In the documentation default value means that the parameter already has
> this value and that you should set it only if you wish to change it.
>
>
>
>  
> > I must also configure the openxcap file? if so  what commands i need or
> what commands are significant?
> >
> >
> >  
> What do you mean by this question??
> You must of course configure the openxcap server and you will find
> documentation for this on the openxcap.org page.
> > Regards
> > Michael
> >  
>
> regards,
> Anca
> > _______________________________________________
> > Users mailing list
> > [hidden email]
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >  

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips and openxcap with RLS

Michael Ciupka-2
In reply to this post by Anca Vamanu-2
Hello Anca,

I have the file opensips.cfg added to the email. it would be great if you take a look and write me if i have misstep in relation to RLS. f.e. the Route[2] at the end of the file.

Regards
Michael

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

opensips.cfg (12K) Download Attachment