Re: [OpenSIPS-Users] [opensips_cp]: Blank Page after Login

2015-01-12 Thread Bogdan-Andrei Iancu
Hi Markus, Take a look at the logs from apache/httpd server - there should be some messages over there indicating the nature of your problem. Based on my experience, I pretty sure there is something wrong with the DB access (either the mysql MDB2, either credentials). Regards,

[OpenSIPS-Users] [opensips_cp]: Blank Page after Login ERROR-messages

2015-01-12 Thread Markus Klaus Schäffauer
Hello, thank you for your feedback Bogdan-Andrei! This is what I get in /var/log/apache2/error.log when trying to access the web-interface: [Mon Jan 12 10:26:08 2015] [error] [client xx.xx.xx.xx] PHP Warning: Creating default object from empty value in /var/www/opensips-cp/config/db.inc.php on

Re: [OpenSIPS-Users] Concerns with 1.x series and new 2.1 Opensips

2015-01-12 Thread Bogdan-Andrei Iancu
Hi John, Indeed, depending on the nature of the query, some answers can be cached, other not. If not, you need to be sure your DB server is as efficient as possible in answering. Accounting via flatstore file can be realtime (data is written in RT into file and you can rote them when you

Re: [OpenSIPS-Users] How to set up user accounts?

2015-01-12 Thread Bogdan-Andrei Iancu
Hi Karl, In order to configure accounts/users (with auth), you need to use the auth_db module - it requires a DB backend. Use the opensipsdbctl tool to create the DB and opensipsctl to add users into it. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Call sequence in serial forking

2015-01-12 Thread Bogdan-Andrei Iancu
Hi John, AFAIK, there is no need to increase the cseq during normal serial forking. The only known issue is if you do the serial forking for authentication purposes (you received a 401/7 and you do serial forking with credentials) - is this case you need to increase the cseq. But once

Re: [OpenSIPS-Users] Concerns with 1.x series and new 2.1 Opensips

2015-01-12 Thread John Nash
Ok I will test flatstore and will see how it goes if I try to insert into real DB using some other process (May be some script which will check for new records in loop) On Mon, Jan 12, 2015 at 4:06 PM, Bogdan-Andrei Iancu bog...@opensips.org wrote: John, Using exec has its own penalties -

Re: [OpenSIPS-Users] Concerns with 1.x series and new 2.1 Opensips

2015-01-12 Thread John Nash
OK..I think doing accounting in exec makes perfect sense. On Mon, Jan 12, 2015 at 2:36 PM, Bogdan-Andrei Iancu bog...@opensips.org wrote: Hi John, Indeed, depending on the nature of the query, some answers can be cached, other not. If not, you need to be sure your DB server is as efficient

Re: [OpenSIPS-Users] Concerns with 1.x series and new 2.1 Opensips

2015-01-12 Thread Bogdan-Andrei Iancu
John, Using exec has its own penalties - the exec itself is CPU consuming as the Operating System has to create a new process each time. Os it is not I/O, but it is CPU (system time). For the accounting part, I still recommend the flatstore as the most efficient approach. Regards,

[OpenSIPS-Users] How to set up user accounts?

2015-01-12 Thread Karl Karpfen
Hi, I'm new to OpenSIPS and this may be a stupid question but I did not find the related information somewhere... So I set up OpenSIPS on my Ubuntu 12.04 LTS successfully (without database backend) and configuration seems to be OK, but it tells me no aliases exist. I don't know if an alias is

[OpenSIPS-Users] Call sequence in serial forking

2015-01-12 Thread John Nash
I am testing one setup where opensips drouting module sends call to Freeswitch and I encountered one situation ... UA sends Invite to opensips, opensips uses drouting module and sends Invite to Freeswitch , callee rejects the call and opensips sends ACK to freeswitch and sends second invite

Re: [OpenSIPS-Users] [opensips_cp]: Blank Page after Login ERROR-messages

2015-01-12 Thread Alex Ionescu
Hi Markus, Please paste here the content of the file /var/www/opensips-cp/config/db.inc.php Also paste the output of the command pear list From my experience, 99% of the times that error is generated because of the wrong credentials. But it might be something different this time. Regards,

[OpenSIPS-Users] [opensips_cp]: Blank Page after Login

2015-01-12 Thread Markus Klaus Schäffauer
Hello, this is the relevant part of my /var/www/opensips-cp/config/db.inc.php : ### //database driver mysql or pgsql $config-db_driver = mysql; //database host $config-db_host = localhost; //database port - leave empty for default $config-db_port

Re: [OpenSIPS-Users] [opensips_cp]: Blank Page after Login

2015-01-12 Thread Alex Ionescu
Hi Markus, You DB config and pear modules look just fine. I've just made some tests. I try to make a mistake in my DB config and I get this: Warning: Creating default object from empty value in /home/alex/_work/opensips_cp_full/opensips-cp-code/branches/6.0/config/db.inc.php on line 25

Re: [OpenSIPS-Users] Call sequence in serial forking

2015-01-12 Thread Nguyen Dang Vo
Hi John Did you try changing the Call-ID of every INVITE? Merged Request should be generated with requests that have same From tag, Call-ID, and CSeq https://tools.ietf.org/html/rfc3261#section-8.2.2.2 Regards, On Mon, Jan 12, 2015 at 2:09 AM, John Nash john.nash...@gmail.com wrote: I am

[OpenSIPS-Users] OpenSIPs load balancer question

2015-01-12 Thread Mohammad Sajedi
Hi Bogdan, I have created three servers, and connected them in the following topology: SIPp (10.241.88.34/27) (10.241.88.36/27) OpenSIPs (10.241.88.68/27) --- (10.241.88.67/27) Asterisk On OpenSIPs Have added -- opensips_loadbalancer_2015-1-8_11\:43\:20.cfg