Re: [OpenSIPS-Users] cvs for mediaproxy and cdrtools

2009-12-23 Thread Saúl Ibarra Corretgé
Hi Gabriel, Thanks, it would be great to have the darcs repositories for the packages that you host at http://ag-projects.com/debian, that way if we can build older versions if he most recent doesn't work on the Linux we choose to use. Again thanks for your help IIRC most of the packages

[OpenSIPS-Users] Load balancer - releasing resources

2009-12-23 Thread Peter P GMX
Hello, we use OpenSIPS as a load balancer in front of a Freeswitch cluster. We use the load_balancer module for load_balancing and redirecting requests to this 2 machines. For each machine we have defined a number of resources (e.g. 3000 for each server). After a while these resources are full,

Re: [OpenSIPS-Users] CDRtool freeradius mysql error

2009-12-23 Thread Saúl Ibarra Corretgé
Hi, On 22/12/09 9:24 PM, osiris123d wrote: Also in the /var/www/CDRTool/setup/radius/radius_accounting.proc file at the very end you have some testing statements when I get into mysql and copy and paste one I get an error mysql -u root -pPASSWORD -h localhost radius Welcome to the MySQL

Re: [OpenSIPS-Users] mediaproxy DB

2009-12-23 Thread Saúl Ibarra Corretgé
Hi, On 22/12/09 10:30 AM, Darshak Modi wrote: Ok. But in config.ini, I have only radius based accounting. [Database] ; This section needs to be configured if database accounting is enabled ; Database URI in the form: scheme://user:passw...@host/database ;dburi =

Re: [OpenSIPS-Users] Disabling TCP or UDP (RFC forbidden)

2009-12-23 Thread opensipslist
Hello Samuel, An mer., déc 23, 2009, samuel schrieb: TCP is very resource demanding and for those situations where the server is not required to work with TCP is very usefull to have the option of disabling TCP part. There are examples, such as embedded platforms with controlled SIP UA

Re: [OpenSIPS-Users] CDRtool freeradius mysql error

2009-12-23 Thread osiris123d
It still isn't working. The radacctMM table is never created in the radius database. I have logging turned on in MySQL and I never see the radius user execute the INSERT command to create the database. Can you explain to me when exactly does the radacctMM database get created? That

[OpenSIPS-Users] Opensips 1.6.1 dos not start on Ubuntu 9.1 64bits

2009-12-23 Thread Antonio Anderson M. de Souza
Dear All, I've installed the Opensips 1.6.1 on my Ubuntu 9.10 64bits form the source, the installation was done without any problem. Opensips abnormally stops during the initialization of Dialplan module (follows logs bellow) Dec 23 13:38:30 asouza-laptop opensips[7233]: NOTICE:core:main:

Re: [OpenSIPS-Users] CDRtool freeradius mysql error

2009-12-23 Thread Saúl Ibarra Corretgé
On 23/12/09 4:40 PM, osiris123d wrote: It still isn't working. The radacctMM table is never created in the radius database. I have logging turned on in MySQL and I never see the radius user execute the INSERT command to create the database. Can you explain to me when exactly does the

Re: [OpenSIPS-Users] Opensips 1.6.1 dos not start on Ubuntu 9.1 64bits

2009-12-23 Thread opensipslist
Hello Antonio, An mer., déc 23, 2009, Antonio Anderson M. de Souza schrieb: I've installed the Opensips 1.6.1 on my Ubuntu 9.10 64bits form the source, the installation was done without any problem. Opensips abnormally stops during the initialization of Dialplan module (follows logs bellow)

[OpenSIPS-Users] Help with the dialog module please

2009-12-23 Thread opensipslist
Hello list, Does the dialog module define a dialog as from the: First INVITE that appears with Call-ID '1234' ...or Second INVITE that appears with Call-ID '1234' I'm asking because if a unauthenticated INVITE arrives the sending UAC will be forced to send a second INVITE (with a new

Re: [OpenSIPS-Users] CDRtool freeradius mysql error

2009-12-23 Thread osiris123d
I edited /etc/mysql/my.cnf with the following server-id = 1 log_bin = /var/log/mysql/mysql-bin.log binlog_do_db = include_database_name binlog_ignore_db = include_database_name When I restart mysql the following file is created under /var/log/mysql mysql-bin.01 But when I start up

Re: [OpenSIPS-Users] Opensips 1.6.1 dos not start on Ubuntu 9.1 64bits

2009-12-23 Thread Antonio Anderson M. de Souza
Hi Brian, A correction I'm using the 1.6.0 version i downloaded it from http://opensips.org/pub/opensips/1.6.0/src/ Using the 1.6.0 version I removed the dialplan module from the script and Opensips started properly, after that i updated the opensips to the 1.6.1 version, but in the 1.6.1 it

[OpenSIPS-Users] AVP DB Query

2009-12-23 Thread Antonio Anderson M. de Souza
Dear all, The SQL query used to get the data from the database is executed syncronaly with the avp_db_load, every call to the avp_db_load will trigger a SQL Query in the dadatbase, or there are some cache in memory to minimize the database access to load AVPs? Thank you very much, Antonio

Re: [OpenSIPS-Users] AVP DB Query

2009-12-23 Thread osiris123d
I believe you will want to look into the memcache module in OpenSIPS 1.6. There is also a tutorial for this on the OpenSIPS documentation page. Hope thats what you were looking for. Antonio Anderson M. de Souza wrote: Dear all, The SQL query used to get the data from the database is

Re: [OpenSIPS-Users] CDRtool freeradius mysql error

2009-12-23 Thread osiris123d
One more bit of info. If I start freeradius in debug mode I see the following CDRTool:/etc/init.d# freeradius -X Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /etc/freeradius/proxy.conf Config: including file:

[OpenSIPS-Users] Error on new install

2009-12-23 Thread Daniel Goepp
I'm setting up a new system here, same as all my other ones, this one is the latest version 1.6.1 checked out today. The config is basically just the default config, I haven't changed much, just deleted presence related stuff, and uncommented db support for aliases and domains, same as all my

[OpenSIPS-Users] Authentication problem

2009-12-23 Thread Daniel Goepp
I am having another issue with this latest version also, and I believe it could perhaps be related to my last post. Very straight forward here, I have just two users on this new lab system. The problem: First register comes in, challenged with 401 no problem, then a register with auth header,

[OpenSIPS-Users] Bypass UAC IP

2009-12-23 Thread Ahmed Munir
Hi, I want to know how can I bypass UAC IP through OpenSIPS. Like my UAC IP is xx.xx.xx.xx, my OpenSIPS IP is yy.yy.yy.yy and Asterisk IP is zz.zz.zz.zz, where I'm using OpenSIPs as redirect server, when I make a call I want UAC IP displayed on Asterisk machine not OpenSIPs IP. Kindly advise me

Re: [OpenSIPS-Users] Bypass UAC IP

2009-12-23 Thread Bogdan-Andrei Iancu
Hi Ahmed, If Asterisk dislpays the IP from the network level, you cannot change it. Otherwise you can do a trick and make opensips to place the UAC IP into a SIP header to be passed to Asterisk and maybe you can convince Asterisk to display the IP from the header. Regards, Bogdan Ahmed Munir