[OpenSIPS-Users] Load Balancer looses Load on Reboot

2011-06-06 Thread Robert Thomas
Hi, We are implementing a Active, Standby redundancy setup for out load balancer using pacemaker. We have dialog support on our config file, and db_mode setup to 1 ( realtime ) to keep the ongoing dialogs in the database. I can restart opensips ( using the init.d / not sure why my opensipsctl

Re: [OpenSIPS-Users] OpenSips always returning cause code 503

2011-06-06 Thread Aman
Thanks Mario for taking time to replay. Its resolved now by using scripting variable return code '$rc', it is returning the carrier release code to caller. Now i am looking how can i display time in siptrace window of CDRTool ... will you advice me about this. -- *Cheers, Amanpreet Singh *

Re: [OpenSIPS-Users] Dialogs remain stale on status 5

2011-06-06 Thread Vlad Paiu
Hello Marcello, If the dialog is in state 1 or 2, it means that there was no 200 Ok received. From dialog point of view, it doesn't make sense to send BYEs both ways, because there is no confirmed dialog. This was fixed in trunk and in the 1.6 branch, in the sense that you can not terminate

Re: [OpenSIPS-Users] /etc/init.d/opensips restart returns OK when opensips is down...

2011-06-06 Thread Toyima Dias
Let me see if i understand, If opensips has not started (ps -ef | grep opensips doesn't show any opensips pid), how is possible that /etc/init.d/opensips returns [OK] when you execute /etc/init.d/opensips restart...is this beacuse of mysql? is that what you mean...this script should return 1 (not

Re: [OpenSIPS-Users] OpenXCAP - failed to create OpenXCAP 2.0.0: Document is empty

2011-06-06 Thread Dani Popa
when start openxcap, it try to take schema from www.w3.org/2001/xml.xsd and www.w3.org doesn't responde. I changed schemaLocation in /usr/local/pymodules/python2.6/xcap/appusage/xml-schemas/xcap-directory.xsd and pointed to local file. Dani On 06/06/11 03:01, duane.lar...@gmail.com wrote:

Re: [OpenSIPS-Users] OpenXCAP - failed to create OpenXCAP 2.0.0: Document is empty

2011-06-06 Thread Saúl Ibarra Corretgé
Hi Dani, On Jun 6, 2011, at 3:07 PM, Dani Popa wrote: when start openxcap, it try to take schema from www.w3.org/2001/xml.xsd and www.w3.org doesn't responde. I changed schemaLocation in /usr/local/pymodules/python2.6/xcap/appusage/xml-schemas/xcap-directory.xsd and pointed to local

Re: [OpenSIPS-Users] /etc/init.d/opensips restart returns OK when opensips is down...

2011-06-06 Thread Andrew Pogrebennyk
On 06.06.2011 14:15, Toyima Dias wrote: If opensips has not started (ps -ef | grep opensips doesn't show any opensips pid), how is possible that /etc/init.d/opensips returns [OK] when you execute /etc/init.d/opensips restart...is this beacuse of mysql? is that what you mean...this script should

Re: [OpenSIPS-Users] OpenXCAP - failed to create OpenXCAP 2.0.0: Document is empty

2011-06-06 Thread Duane Larson
That fixed it. OpenXCAP worked a while back so I am not sure how it got messed up. Thanks for the fix Dani On Mon, Jun 6, 2011 at 8:07 AM, Dani Popa dani.p...@gmail.com wrote: when start openxcap, it try to take schema from www.w3.org/2001/xml.xsdand www.w3.org doesn't responde. I changed

[OpenSIPS-Users] CDRTool - Database error's

2011-06-06 Thread Duane Larson
I am having some database errors with a new install of CDRTool. One error I keep seeing in my syslog is Database error: Invalid SQL: select *, UNIX_TIMESTAMP(AcctStartTime) as timestamp#012from radacct201105 where (1=1) and Normalized = '0' and AcctStopTime not like '-00-00

Re: [OpenSIPS-Users] /etc/init.d/opensips restart returns OK when opensips is down...

2011-06-06 Thread Toyima Dias
Ok, but it any case, the script should return 1 if opensips failed to initialize; i'm thinking to build a HA infraestructure with opensips (heartbeat, cluster glue...) and this opensips init script behavior seems not to be appropriate; i will have to take a deeper look at the opensips.init script

Re: [OpenSIPS-Users] /etc/init.d/opensips restart returns OK when opensips is down...

2011-06-06 Thread Robert Thomas
I have an HA setup with Pacemaker using heartbeat stack. I created a script that monitors opensips via the pid file. Eventhough the start event succeed and then opensips crash due to a module. The next monitor round will report an error, and the resource would be migrated to the next node. I