Re: [OpenSIPS-Users] modparam?

2010-11-16 Thread Brett Nemeroff
On Wed, Nov 10, 2010 at 5:02 AM, Anton Zagorskiy 
a.zagors...@oyster-telecom.ru wrote:

 I'm trying to make HA cluster with balancing.
 I have 2 servers with openSIPS with load_balanicng and mysql with
 replication.
 While both servers are working second openSIPS connects to mysql-master at
 the first server. When the first server fails then second should uses
 itself
 mysql database. So I need to change db_url parameter through all modules.


Anton,
You may want to check out db_virtual for this.
http://www.opensips.org/html/docs/modules/1.6.x/db_virtual

-Brett
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] modparam?

2010-11-16 Thread Bogdan-Andrei Iancu
Try to use db_virtual to create a failover between several real DB 
connections.


Regards,
Bogdan

Anton Zagorskiy wrote:

I'm trying to make HA cluster with balancing.
I have 2 servers with openSIPS with load_balanicng and mysql with
replication. 
While both servers are working second openSIPS connects to mysql-master at

the first server. When the first server fails then second should uses itself
mysql database. So I need to change db_url parameter through all modules.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagors...@oyster-telecom.ru
www.oyster-telecom.ru



  

-Original Message-
From: users-boun...@lists.opensips.org [mailto:users-
boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Wednesday, November 10, 2010 1:16 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] modparam?

Hi Anton,

no, you cannotwhat module are looking at ?

Regards,
Bogdan

Anton Zagorskiy wrote:


Hello.

Can I change module's parameter in the route block? I want to change
  

db_url


parameter.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagors...@oyster-telecom.ru
www.oyster-telecom.ru




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


  

--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro


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




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

  



--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro


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


Re: [OpenSIPS-Users] modparam?

2010-11-14 Thread Anton Zagorskiy
I'm trying to make HA cluster with balancing.
I have 2 servers with openSIPS with load_balanicng and mysql with
replication. 
While both servers are working second openSIPS connects to mysql-master at
the first server. When the first server fails then second should uses itself
mysql database. So I need to change db_url parameter through all modules.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagors...@oyster-telecom.ru
www.oyster-telecom.ru



 -Original Message-
 From: users-boun...@lists.opensips.org [mailto:users-
 boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
 Sent: Wednesday, November 10, 2010 1:16 PM
 To: OpenSIPS users mailling list
 Subject: Re: [OpenSIPS-Users] modparam?
 
 Hi Anton,
 
 no, you cannotwhat module are looking at ?
 
 Regards,
 Bogdan
 
 Anton Zagorskiy wrote:
  Hello.
 
  Can I change module's parameter in the route block? I want to change
 db_url
  parameter.
 
 
 
 
 
 
  WBR, Anton Zagorskiy
  VoIP Developer, Oyster Telecom
  Phone.: +7 812 601-0666
  Fax: +7 812 601-0593
  a.zagors...@oyster-telecom.ru
  www.oyster-telecom.ru
 
 
 
 
  ___
  Users mailing list
  Users@lists.opensips.org
  http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
 
 
 
 --
 Bogdan-Andrei Iancu
 OpenSIPS Bootcamp
 15 - 19 November 2010, Edison, New Jersey, USA
 www.voice-system.ro
 
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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


Re: [OpenSIPS-Users] modparam?

2010-11-10 Thread Bogdan-Andrei Iancu

Hi Anton,

no, you cannotwhat module are looking at ?

Regards,
Bogdan

Anton Zagorskiy wrote:

Hello.

Can I change module's parameter in the route block? I want to change db_url
parameter.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagors...@oyster-telecom.ru
www.oyster-telecom.ru




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

  



--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro


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


[OpenSIPS-Users] modparam?

2010-11-10 Thread Anton Zagorskiy
Hello.

Can I change module's parameter in the route block? I want to change db_url
parameter.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagors...@oyster-telecom.ru
www.oyster-telecom.ru




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


Re: [OpenSIPS-Users] modparam auth_db calculate_ha1 yes - does not work

2009-06-25 Thread Bogdan-Andrei Iancu
Hi Mani,

See http://www.opensips.org/html/docs/modules/1.5.x/auth_db.html#id228152

Regards,
Bogdan

mani sivaraman wrote:
 I'm using auth_db for uses to login. If have calculate_ha1 to yes in 
 config file, then opensips keeps sending 401 UnAuth, and user is not 
 able to login. So I set it to 'no' then every thign works fine. It 
 does password authentication even if I say 'no'. So what;s the diff if 
 I say 'yes' or 'no'.
  
 modparam(auth_db, calculate_ha1, no)

 Please let me know how to make the client login with 'yes'.

 Thanks in advance.
 

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


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


[OpenSIPS-Users] modparam auth_db calculate_ha1 yes - does not work

2009-06-24 Thread mani sivaraman
I'm using auth_db for uses to login. If have calculate_ha1 to yes in
config file, then opensips keeps sending 401 UnAuth, and user is not able to
login. So I set it to 'no' then every thign works fine. It does password
authentication even if I say 'no'. So what;s the diff if I say 'yes' or
'no'.

modparam(auth_db, calculate_ha1, no)

Please let me know how to make the client login with 'yes'.

Thanks in advance.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] modparam with RLS

2009-05-04 Thread Anca Vamanu
Hi Michael,

Setting those parameters means only informing the module which is the 
name of the tables it needs in the database. The module won't create 
those tables. So you should not expect to find those tables if you set 
the parameters.
The default names for the tables are rls_watchers and rls_presentity.  
Only if you choose to change the name of the tables in the database must 
you set those parameters.

regards,
Anca

Michael Ciupka wrote:
 Hello,

 sorry but i dont know and i cant go on with work.
 Which table i must fill in here:
 modparam(rls, rlsubs_table, rls_subscriptions)
 modparam(rls, rlpres_table, rls_notify)

 now i have in my database opensips
 rls_watchers and rls_presentity. 

 Regards
 Michael

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

   


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


[OpenSIPS-Users] modparam with RLS

2009-05-01 Thread Michael Ciupka
Hello,

i want to configure RLS in Opensips. In the docs/module i found this parameters:
modparam(rls, rlsubs_table, rls_subscriptions)
modparam(rls, rlpres_table, rls_notify)

but i dont found the table´s in database opensips. do i need this modparam?
or which table i must write there?

Regards
Michael

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


Re: [OpenSIPS-Users] modparam with RLS

2009-05-01 Thread Michael Ciupka
Hello Iñaki,

okay. but which table is the rls_subscription, the rls_watchers or the 
rls_presentity? 

REgards
Michael


 Original-Nachricht 
 Datum: Fri, 1 May 2009 16:38:49 +0200
 Von: Iñaki Baz Castillo i...@aliax.net
 An: Michael Ciupka opens...@michael-ciupka.de
 CC: users@lists.opensips.org
 Betreff: Re: [OpenSIPS-Users] modparam with RLS

 2009/5/1 Michael Ciupka opens...@michael-ciupka.de:
  Hello,
 
  i want to configure RLS in Opensips. In the docs/module i found this
 parameters:
  modparam(rls, rlsubs_table, rls_subscriptions)
  modparam(rls, rlpres_table, rls_notify)
 
  but i dont found the table´s in database opensips. do i need this
 modparam?
  or which table i must write there?
 
 Take a look to this page:
 
   http://www.opensips.org/html/docs/db/db-schema-1.5.x.html#AEN5036
 
 
 
 -- 
 Iñaki Baz Castillo
 i...@aliax.net

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


[OpenSIPS-Users] modparam with RLS

2009-05-01 Thread Michael Ciupka
Hello,

sorry but i dont know and i cant go on with work.
Which table i must fill in here:
modparam(rls, rlsubs_table, rls_subscriptions)
modparam(rls, rlpres_table, rls_notify)

now i have in my database opensips
rls_watchers and rls_presentity. 

Regards
Michael

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


[OpenSIPS-Users] modparam with RLS

2009-05-01 Thread Michael Ciupka
i solved the problem by my self. :)


Hello,

sorry but i dont know and i cant go on with work.
Which table i must fill in here:
modparam(rls, rlsubs_table, rls_subscriptions)
modparam(rls, rlpres_table, rls_notify)

now i have in my database opensips
rls_watchers and rls_presentity. 

Regards
Michael

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


Re: [OpenSIPS-Users] modparam(mi_xmlrpc, port, 8080)

2009-01-05 Thread J Santos
Thanks

I am sure it is NOT loaded.

J. Santos
 
 
 


 -Original Message-
 From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] 
 Sent: Monday, January 05, 2009 3:10 AM
 To: J Santos
 Cc: users@lists.opensips.org
 Subject: Re: [OpenSIPS-Users] modparam(mi_xmlrpc, port, 8080)
 
 
 Hi,
 
 Are you sure the mi_xmlrpc module is loaded - check the 
 messages before 
 the error your reported. Maybe because some issues with 
 linking to the 
 libxmlrpc-c3 lib, the module is not loaded by the opensips core.
 
 Regards,
 Bogdan
 
 J Santos wrote:
  Hello,
  I've been trying to compile opensips with libxmlrpc-c3. I installed
  version 1.10 because version  1.06 doesn't support 64 bits 
 OS. I am 
  using CentoOS 64.
  The documentation says
  if libxmlrpc-c3[-dev] package is not available on your system, you 
  may check if packages for your OS are not available on the 
  xmlrpc-cproject ( http://xmlrpc-c.sourceforge.net/). 
 Otherwise you 
  need to install the library and devel headers from the sources. In 
  both cases, keep in mind to use the 0.9.10 version!!. 
  I read somewhere that versions later than 0.9.1.10 could be 
 used though.
  When recompiling opensips I got
  Makefile:49: You are using an unsupported libxmlrpc-c3 
 version (1.10), 
  compile at your own risk!
  and when starting it I got
  Dec 31 11:45:43 localhost opensips: CRITICAL:core:yyerror: 
 parse error 
  in config file, line 191, column 22-23: Can't set module parameter
  Dec 31 11:45:43 localhost opensips: ERROR:core:main: bad 
 config file 
  (1 errors)
  Line 191 is
  modparam(mi_xmlrpc, port, 8080)
  So my question is , how can I make version 0.9.1.0 work for 
 64 bits OS 
  ? Or any other better option will be welcomed.
  Please help
  thanks
  Jair Santos
 
 
  
 --
  --
 
  ___
  Users mailing list
  Users@lists.opensips.org 
  http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 
 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com 
 Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release 
 Date: 1/3/2009 2:14 PM
 


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


Re: [OpenSIPS-Users] modparam(mi_xmlrpc, port, 8080)

2009-01-05 Thread Bogdan-Andrei Iancu
When you try to load the module, what is the error you get?

Regards,
Bogdan

J Santos wrote:
 Thanks

 I am sure it is NOT loaded.

 J. Santos
  
  
  


   
 -Original Message-
 From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] 
 Sent: Monday, January 05, 2009 3:10 AM
 To: J Santos
 Cc: users@lists.opensips.org
 Subject: Re: [OpenSIPS-Users] modparam(mi_xmlrpc, port, 8080)


 Hi,

 Are you sure the mi_xmlrpc module is loaded - check the 
 messages before 
 the error your reported. Maybe because some issues with 
 linking to the 
 libxmlrpc-c3 lib, the module is not loaded by the opensips core.

 Regards,
 Bogdan

 J Santos wrote:
 
 Hello,
 I've been trying to compile opensips with libxmlrpc-c3. I installed
 version 1.10 because version  1.06 doesn't support 64 bits 
   
 OS. I am 
 
 using CentoOS 64.
 The documentation says
 if libxmlrpc-c3[-dev] package is not available on your system, you 
 may check if packages for your OS are not available on the 
 xmlrpc-cproject ( http://xmlrpc-c.sourceforge.net/). 
   
 Otherwise you 
 
 need to install the library and devel headers from the sources. In 
 both cases, keep in mind to use the 0.9.10 version!!. 
 I read somewhere that versions later than 0.9.1.10 could be 
   
 used though.
 
 When recompiling opensips I got
 Makefile:49: You are using an unsupported libxmlrpc-c3 
   
 version (1.10), 
 
 compile at your own risk!
 and when starting it I got
 Dec 31 11:45:43 localhost opensips: CRITICAL:core:yyerror: 
   
 parse error 
 
 in config file, line 191, column 22-23: Can't set module parameter
 Dec 31 11:45:43 localhost opensips: ERROR:core:main: bad 
   
 config file 
 
 (1 errors)
 Line 191 is
 modparam(mi_xmlrpc, port, 8080)
 So my question is , how can I make version 0.9.1.0 work for 
   
 64 bits OS 
 
 ? Or any other better option will be welcomed.
 Please help
 thanks
 Jair Santos



   
 --
 
 --

 ___
 Users mailing list
 Users@lists.opensips.org 
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
   
   
 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com 
 Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release 
 Date: 1/3/2009 2:14 PM

 


   


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


Re: [OpenSIPS-Users] modparam(mi_xmlrpc, port, 8080)

2009-01-05 Thread Bogdan-Andrei Iancu
Hi,

Are you sure the mi_xmlrpc module is loaded - check the messages before 
the error your reported. Maybe because some issues with linking to the 
libxmlrpc-c3 lib, the module is not loaded by the opensips core.

Regards,
Bogdan

J Santos wrote:
 Hello,
 I've been trying to compile opensips with libxmlrpc-c3. I installed 
 version 1.10 because version  1.06 doesn't support 64 bits OS. I am 
 using CentoOS 64.
 The documentation says
 if libxmlrpc-c3[-dev] package is not available on your system, you 
 may check if packages for your OS are not available on the 
 “xmlrpc-c”project ( http://xmlrpc-c.sourceforge.net/). Otherwise you 
 need to install the library and devel headers from the sources. In 
 both cases, keep in mind to use the 0.9.10 version!!. 
 I read somewhere that versions later than 0.9.1.10 could be used though.
 When recompiling opensips I got
 Makefile:49: You are using an unsupported libxmlrpc-c3 version (1.10), 
 compile at your own risk!
 and when starting it I got
 Dec 31 11:45:43 localhost opensips: CRITICAL:core:yyerror: parse error 
 in config file, line 191, column 22-23: Can't set module parameter
 Dec 31 11:45:43 localhost opensips: ERROR:core:main: bad config file 
 (1 errors)
 Line 191 is
 modparam(mi_xmlrpc, port, 8080)
 So my question is , how can I make version 0.9.1.0 work for 64 bits OS 
 ? Or any other better option will be welcomed.
 Please help
 thanks
 Jair Santos


 

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


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


[OpenSIPS-Users] modparam(mi_xmlrpc, port, 8080)

2008-12-31 Thread J Santos
 
 
Hello,
 
I've been trying to compile opensips with libxmlrpc-c3. I installed version
1.10 because version  1.06 doesn't support 64 bits OS. I am using CentoOS
64.
 
The documentation  says 
 
if libxmlrpc-c3[-dev] package is not available on your system, you may
check if packages for your OS are not available on the xmlrpc-cproject (
http://xmlrpc-c.sourceforge.net/  http://xmlrpc-c.sourceforge.net/).
Otherwise you need to install the library and devel headers from the
sources. In both cases, keep in mind to use the 0.9.10 version!!. 
 
I read somewhere that versions later than 0.9.1.10 could be used though.
 
When recompiling opensips I got 
 
Makefile:49: You are using an unsupported libxmlrpc-c3 version  (1.10),
compile at your own risk!
 
and when starting it I got
 
Dec 31 11:45:43 localhost opensips: CRITICAL:core:yyerror: parse error in
config file, line 191, column 22-23: Can't set module parameter
Dec 31 11:45:43 localhost opensips: ERROR:core:main: bad config file (1
errors)

Line 191 is 
 
modparam(mi_xmlrpc, port, 8080)
 
So my question is , how can I make version 0.9.1.0 work for 64 bits OS ? Or
any other better option will be welcomed.
 
Please help
 
thanks
 
Jair Santos



 

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