Re: [OpenSIPS-Users] No voice in mediaproxy 2.3.8

2010-03-12 Thread Saúl Ibarra Corretgé
Hi, On 12/3/10 6:04 AM, Jiang Jinke wrote: Dear All, I'm having the following error with mediaproxyx 2.3.8, and all the call will have no voice after running mediaproxy for a few days in a high loading (40 calls) server. I check the new mediaproxy with the same line in send, there is no

Re: [OpenSIPS-Users] No voice in mediaproxy 2.3.8

2010-03-12 Thread Jiang Jinke
Hi, Thanks for your reply. I re-check the system and found there is a raid fail message pops up in the dmesg. [root ~]# cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[1] sda1[0] 104320 blocks [2/2] [UU] md3 : active raid1 sdb2[1] sda2[2](F) 432983808 blocks [2/1]

Re: [OpenSIPS-Users] No voice in mediaproxy 2.3.8

2010-03-12 Thread Saúl Ibarra Corretgé
Hi, On 12/3/10 9:30 AM, Jiang Jinke wrote: Hi, Thanks for your reply. I re-check the system and found there is a raid fail message pops up in the dmesg. [root ~]# cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[1] sda1[0] 104320 blocks [2/2] [UU] md3 : active

[OpenSIPS-Users] CDRTool - Not rating Answered calls 1 Second long.

2010-03-12 Thread Alan Frisch
I am using CDRTool and am noticing that certains calls from one particular user get rated as a Free Call. The user makes a call to a PSTN number (probably his own) and upon answer, hangs up immediately (probably some kind of system monitoring call). Since the call is answered (200 OK) and

Re: [OpenSIPS-Users] 1.6.2-notls perl module not compiling on Centos

2010-03-12 Thread Alan Frisch
1.6.2-tls compiles fine on my CentOS 5.3 Box. On Thu, Mar 11, 2010 at 4:14 PM, erik pepermans c...@telenet.be wrote: Hi, When compiling the perl module on version 1.6.2-notls on Centos : make prefix=/ all I receive : ... make[1]: Entering directory

Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0

2010-03-12 Thread Do Nguyen Ha
HI Alex i have the same issue : Invalid Username / Password do i miss something to do Please help Thank you Ha` and the step i did:    step 1.  apt-get install apache2 php5    step 2.  apt-get install php5-mysql php5-xmlrpc php-pear    step 3.  pear install MDB2    step 4.  pear install

Re: [OpenSIPS-Users] global variables

2010-03-12 Thread Bogdan-Andrei Iancu
Hi Josip, Josip Djuricic wrote: Sorry I missed this email, I'll think about using db_virtual, but back to global vars issue, for a test I defined just a global counter variable, so a global C variable, right ? and created new function inside siptrace module, so every time a siptrace

Re: [OpenSIPS-Users] lb_reload

2010-03-12 Thread Dmitri G.
Hi Bogdan, As I see with diff, 1.6.2 also contains these modifications. I have installed 1.6.2, and lb_reload works like a charm! Thank you for your help! Dimitri 2010/3/11 Bogdan-Andrei Iancu către OpenSIPS arată detaliile 17:19 (acum 18 ore) Hi Dmitri, found the bug and fixed it :). If

Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0

2010-03-12 Thread Alex Ionescu
Hi, The problem seems to be your step 11 : step 11. INSERT INTO ocp_admin_privileges (username,password,ha1,available_tools,permissions) values ('admin','admin','admin:admin','all','all'); You must encode the *ha1* field. So, I believe that the correct query would be : INSERT INTO

Re: [OpenSIPS-Users] Virtual DB failover wrangling

2010-03-12 Thread Bogdan-Andrei Iancu
Hi Jock, Jock McKechnie wrote: Greetings folks; I've been attempting to get a working db_virtual failover setup going and am having some very basic functionality problems while in testing, I was wondering if someone could shed some light one what I, presumably, am doing wrong.

Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo

2010-03-12 Thread Bogdan-Andrei Iancu
Hi Erick, er...@netcrc.net wrote: I have with the following problem: The file /tmp/opensips_fifo for any reason disappears for example if send the command for reboot the server. The opensips using mi_fifo module. With the command opensips -c said is ok opensipsctl moni said (if not

Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo

2010-03-12 Thread Erick Chinchilla Berrocal
Hi Bogan The problem continuos My comments I use Opensips 1.6.1 with Control Panel 4.0 - Opensisps Status # /etc/init.d/opensips status Status of opensips: opensips is not running. # /etc/init.d/opensips start Starting opensips: opensipsListening on udp: 127.0.0.1 [127.0.0.1]:5060

Re: [OpenSIPS-Users] global variables

2010-03-12 Thread Josip Djuricic
In this case we can forget global c variable. I'm thinking about this solution, building custom module, that will start as a single process (one fork), and siptrace will be putting all the data on fifo queue (inside of shared memory) instead of db, and then this new module will take data from

Re: [OpenSIPS-Users] [NEW] OpenSIPS 1.6.2 is released

2010-03-12 Thread Bogdan-Andrei Iancu
Debian packages (unstable, etch and lenny) are available under: http://opensips.org/pub/opensips/latest/packages/debian/ and also via the local apt depo: http://www.opensips.org/apt/ Regards, Bogdan Bogdan-Andrei Iancu wrote: Hi all, OpenSIPS 1.6.2 is the first release following

Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo

2010-03-12 Thread Erick Chinchilla Berrocal
Bogan More info, according remember, before you install the Control Panel 4.0 , The OpenSIPS 1.6.1 worked well, phone register and tests. But not for now does not work. I reviewed the manual step by step and find nothing different from what the manual says opensipsctl restart database engine

Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo

2010-03-12 Thread Bogdan-Andrei Iancu
Hi Erick, maybe opensips is not starting - see http://www.opensips.org/Resources/DocsTsStart Regards, Bogdan Erick Chinchilla Berrocal wrote: Bogan More info, according remember, before you install the Control Panel 4.0 , The OpenSIPS 1.6.1 worked well, phone register and tests. But not

Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0

2010-03-12 Thread Alex Ionescu
Sorry, My mistake ... the MD5 should be applied on the value not on the field name ... So, it is : INSERT INTO ocp_admin_privileges (username,password,ha1,available_tools,permissions) values ('admin','admin',md5('admin:admin'),'all','all'); On 3/12/2010 13:06, Alex Ionescu wrote: Hi,

Re: [OpenSIPS-Users] Virtual DB failover wrangling

2010-03-12 Thread Jock McKechnie
Greetings Bogdan; On Fri, Mar 12, 2010 at 5:29 AM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: If I start OpenSIPs and then on the .100 DB do an iptables REJECT to simulate a DB problem OpenSIPs will simply retry the alias lookup infinitely. the retry is from mysql lib or from

Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo

2010-03-12 Thread Erick Chinchilla Berrocal
Bogan I fixed the problem with the OpenSIPS , but the other problems with the Control Panel continues. Now is working (Opensips) I problem was in the file opensips.cfg. In the username and password for the database ## /home/netcrc# /etc/init.d/opensips status Status of opensips: opensips is

Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo

2010-03-12 Thread Bogdan-Andrei Iancu
Erick, as probably you run opensips as user root, the fifo file is owned by root, so opensips-cp (run by apache, with user apache/www-data) has no permission to write into the fifo. A simple solution will be to grant larger permissions to the fifo file (in opensips.cfg):

Re: [OpenSIPS-Users] 1.6.2-notls perl module not compiling on Centos

2010-03-12 Thread erik pepermans
Yes, it works for me now as well, after having done 'make clean' Thanks Erik -Oorspronkelijk bericht- Van: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] Namens Alan Frisch Verzonden: vrijdag 12 maart 2010 11:05 Aan: OpenSIPS users mailling list Onderwerp: Re:

Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo

2010-03-12 Thread Erick Chinchilla Berrocal
Bodgan Thanks for your assistant. After of change the file opensips.cfg the configuration is # - mi_fifo params - modparam(mi_fifo, fifo_name, /tmp/opensips_fifo) modparam ( mi_fifo, fifo_mode, 0666) if only use the line modparam ( mi_fifo, fifo_mode, 0666) not work Now in the Control

Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo

2010-03-12 Thread Erick Chinchilla Berrocal
Bodgan I made the following change in the file etc/monit/monitrc The manual said insert the line check process opensips with pidfile /var/run/opensips.pid and i changed to check process opensips with pidfile /var/run/opensips/opensips.pid with this change in the control panel the module MONIT

[OpenSIPS-Users] opensips to asterisk and viceversa

2010-03-12 Thread bhrugu mehta
Hi, all i have used opensips as registrar. my scenario, opensips-asterisk(routing logic)-opensips i have done with opensips to asterisk call . asterisk deside where to call go , and if local call then go to opensips. asterisk to opensips call not done. any suggetion? -- Bhrugu Mehta Sr. S/W