Thanks Alex,<br><br>There is some problem in some part of monit as netstat -tlnp does not show listen on <a href="http://127.0.0.1:2812/" target="_blank">127.0.0.1:2812</a>, i am clueless about this, 'monitrc' and 'boxes.global.inc.php' are seems to be okey as 'boxes.global.inc.php' is configured to listen to :2812 for monit, any suggestions regarding this.<br>
<br><br>Thanks,<br>Amanpret Singh<br><br><div class="gmail_quote">On Tue, May 25, 2010 at 7:02 PM, <span dir="ltr"><<a href="mailto:users-request@lists.opensips.org">users-request@lists.opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Send Users mailing list submissions to<br>
<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:users-request@lists.opensips.org">users-request@lists.opensips.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:users-owner@lists.opensips.org">users-owner@lists.opensips.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. cpled - CPL script doesn't respect CPL grammar (Karl Harris)<br>
2. Re: Opensips-CP Monit is not working (Albert Paijmans)<br>
3. cpled - CPL script doesn't respect CPL grammar (mehdi boudou)<br>
4. media-relay warning (Jeff Pyle)<br>
5. Re: media-relay warning (Laszlo)<br>
6. Re: Opensips-CP Monit is not working (Alex Ionescu)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 25 May 2010 08:09:15 -0400<br>
From: Karl Harris <<a href="mailto:karlh626@gmail.com">karlh626@gmail.com</a>><br>
Subject: [OpenSIPS-Users] cpled - CPL script doesn't respect CPL<br>
grammar<br>
To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
Message-ID:<br>
<<a href="mailto:AANLkTil-9kiNhs01ijKbo0bcs7GIuHGU1u5Ns3g06lZR@mail.gmail.com">AANLkTil-9kiNhs01ijKbo0bcs7GIuHGU1u5Ns3g06lZR@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I am trying out the CPLED java program which is available at<br>
<br>
<a href="https://sourceforge.net/projects/cpled/" target="_blank">https://sourceforge.net/projects/cpled/</a><br>
<br>
I have created the following xml using the above tool:<br>
<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<cpl xmlns="urn:ietf:params:xml:ns:cpl" xmlns:xsi="<br>
<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xsi:schemaLocation="urn:ietf:params:xml:ns:cpl cpl.xsd" ><br>
<subaction id="overflow" ><br>
<location url="sip:990010004@...domain-hidden..." /><br>
</subaction><br>
<incoming ><br>
<location clear="yes" url="sip:990010007@...domain-hidden..." ><br>
<proxy timeout="5" ><br>
<noanswer ><br>
<sub ref="overflow" /><br>
</noanswer><br>
</proxy><br>
</location><br>
</incoming><br>
</cpl><br>
<br>
<br>
When I type the command<br>
<br>
opensipsctl fifo LOAD_CPL "sip:<username>@domain" /path/xmlfile.cpl.xml<br>
<br>
I get the error...<br>
<br>
Log:: Error: CPL script doesn't respect CPL grammar<br>
<br>
If I then remove all parameters from the cpl tag it compiles without<br>
errors.<br>
<br>
Has anyone run into this before?<br>
<br>
Oh, I am running CPLED from windows xp.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.opensips.org/pipermail/users/attachments/20100525/e91b61c7/attachment-0001.htm" target="_blank">http://lists.opensips.org/pipermail/users/attachments/20100525/e91b61c7/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 25 May 2010 14:31:20 +0200<br>
From: Albert Paijmans <<a href="mailto:albert@vraagalex.nl">albert@vraagalex.nl</a>><br>
Subject: Re: [OpenSIPS-Users] Opensips-CP Monit is not working<br>
To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
Message-ID:<br>
<<a href="mailto:AANLkTiml5Yrj7N1a_sdEcm7zu5oGLqGvtSAuZvI90VEV@mail.gmail.com">AANLkTiml5Yrj7N1a_sdEcm7zu5oGLqGvtSAuZvI90VEV@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
I have some problems connecting to monit and mi<br>
Installed xmlrpc (deb packages) and running monit -t gives an ok<br>
Starting OpenSIPS gives an ok to.<br>
<br>
But in the control panel I get these error messages:<br>
Cannot connect to OpenSIPS Server via Management Interface (<a href="http://127.0.0.1/8000" target="_blank">127.0.0.1/8000</a>)<br>
And cannot connect tot <a href="http://127.0.0.1:2812" target="_blank">127.0.0.1:2812</a> (monit tool)<br>
<br>
OpenSIPS seems to run and listening on udp ports for sip messages.<br>
So I am missing something? Did the install for monit from the readme.<br>
<br>
Thanks,<br>
<br>
Albert<br>
<br>
<br>
On Tue, May 25, 2010 at 10:43 AM, Aman <<a href="mailto:goforaman@gmail.com">goforaman@gmail.com</a>> wrote:<br>
<br>
><br>
> Greetings,<br>
><br>
> Need a help, i am getting the error on monit on OpenSIPS-CP that<br>
> "I can't connect!", when i run<br>
> monit -t for syntax check, its shows error,<br>
><br>
> May 24 10:17:26 opensips monit: /etc/monit/monitrc:241: Warning: include<br>
> files not found '/etc/monit/conf.d/*'<br>
> May 24 10:50:49 opensips monit: /etc/monit/monitrc:241: Warning: include<br>
> files not found '/etc/monit/conf.d/*'<br>
> May 24 11:08:14 opensips monit: /etc/monit/monitrc:241: Warning: include<br>
> files not found '/etc/monit/conf.d/*'<br>
><br>
> But this file does not exist on defined path, i have also skipped the<br>
> following configuration part in 'monitrc'<br>
><br>
> " check process opensips with pidfile /var/run/opensips.pid<br>
> #Below is actions taken by monit when service got stuck.<br>
> start program = "/etc/init.d/opensips start"<br>
> stop program = "/etc/init.d/opensips stop"<br>
> # Admin will notify by mail if below of the condition satisfied.<br>
> if cpu is greater than 70% for 2 cycles then alert<br>
> if cpu > 90% for 5 cycles then restart "<br>
><br>
> as this shows error opensips already icluded, please advice to make the<br>
> monit work.<br>
> Any suggestions are really appreciable.<br>
><br>
><br>
><br>
> --<br>
> Amanpreet Singh<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.opensips.org/pipermail/users/attachments/20100525/a09081a6/attachment-0001.htm" target="_blank">http://lists.opensips.org/pipermail/users/attachments/20100525/a09081a6/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 25 May 2010 14:43:16 +0200<br>
From: mehdi boudou <<a href="mailto:mehdi.boudou@gmail.com">mehdi.boudou@gmail.com</a>><br>
Subject: [OpenSIPS-Users] cpled - CPL script doesn't respect CPL<br>
grammar<br>
To: "<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>" <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
Message-ID:<br>
<<a href="mailto:AANLkTikOPVhmn8BDJsUeSWGTMc-cpgA0_aWgEYK_OQbA@mail.gmail.com">AANLkTikOPVhmn8BDJsUeSWGTMc-cpgA0_aWgEYK_OQbA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
You have to pay attention to your dtd path, you may change<br>
<br>
<cpl xmlns="urn:ietf:params:xml:ns:cpl" xmlns:xsi="<br>
<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
<<a href="http://www.w3.org/2001/XMLSchema-instance%22" target="_blank">http://www.w3.org/2001/XMLSchema-instance%22</a>><br>
xsi:schemaLocation="urn:ietf:params:xml:ns:cpl cpl.xsd" > by<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<!DOCTYPE cpl SYSTEM<br>
"/home/xxxxx/opensips-1.5.0-notls/modules/cpl-c/cpl-06.dtd"><br>
<cpl><br>
<br>
<br>
Regards<br>
<br>
Mehdi BOUDOU<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.opensips.org/pipermail/users/attachments/20100525/93f47eaf/attachment-0001.htm" target="_blank">http://lists.opensips.org/pipermail/users/attachments/20100525/93f47eaf/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 25 May 2010 09:15:35 -0400<br>
From: Jeff Pyle <<a href="mailto:jpyle@fidelityvoice.com">jpyle@fidelityvoice.com</a>><br>
Subject: [OpenSIPS-Users] media-relay warning<br>
To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
Message-ID: <<a href="mailto:D54D1C2F-03D8-440E-B6AC-850EFD3FE8A2@fidelityvoice.com">D54D1C2F-03D8-440E-B6AC-850EFD3FE8A2@fidelityvoice.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hello,<br>
<br>
warning: Aggregate speed calculation time exceeded 10ms: 10818 us for 120 sessions<br>
<br>
I've got a bunch of these on all my relays. I've never seen that before. My users experienced some one-way audio and other ugliness during the timeframe of these warnings. What's the scoop?<br>
<br>
<br>
- Jeff<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 25 May 2010 15:26:08 +0200<br>
From: Laszlo <<a href="mailto:laszlo@voipfreak.net">laszlo@voipfreak.net</a>><br>
Subject: Re: [OpenSIPS-Users] media-relay warning<br>
To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
Message-ID:<br>
<<a href="mailto:AANLkTikxaku4M0sfdtywFgMA38JnGsNxEd087TuGFXZN@mail.gmail.com">AANLkTikxaku4M0sfdtywFgMA38JnGsNxEd087TuGFXZN@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Jeff,<br>
<br>
Maybe it's related to traffic_sampling_period in config.ini<br>
<br>
-Laszlo<br>
<br>
2010/5/25 Jeff Pyle <<a href="mailto:jpyle@fidelityvoice.com">jpyle@fidelityvoice.com</a>><br>
<br>
> Hello,<br>
><br>
> warning: Aggregate speed calculation time exceeded 10ms: 10818 us for 120<br>
> sessions<br>
><br>
> I've got a bunch of these on all my relays. I've never seen that before.<br>
> My users experienced some one-way audio and other ugliness during the<br>
> timeframe of these warnings. What's the scoop?<br>
><br>
><br>
> - Jeff<br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.opensips.org/pipermail/users/attachments/20100525/445035ff/attachment-0001.htm" target="_blank">http://lists.opensips.org/pipermail/users/attachments/20100525/445035ff/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Tue, 25 May 2010 16:31:59 +0300<br>
From: Alex Ionescu <<a href="mailto:alex@opensips.org">alex@opensips.org</a>><br>
Subject: Re: [OpenSIPS-Users] Opensips-CP Monit is not working<br>
To: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
Message-ID: <<a href="mailto:4BFBD14F.9070203@opensips.org">4BFBD14F.9070203@opensips.org</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Albert,<br>
<br>
Please, try this command : netstat -tlnp . See if opensips is listening<br>
also on port 8000 (this should be the xmlrpc port - if this is what<br>
you've set up in your opensips config)<br>
and also see if monit is configured to listen on <a href="http://127.0.0.1:2812" target="_blank">127.0.0.1:2812</a>. If this<br>
info is not shown in the output of the command then in means something<br>
is not working correctly.<br>
<br>
Also see monit's config file : monitrc. See if it is set up to listen on<br>
the same IP:PORT that you have set up in the OpensipsCP config<br>
(boxes.global.inc.php)<br>
<br>
Regards,<br>
Alex<br>
On 5/25/2010 15:31, Albert Paijmans wrote:<br>
> Hi,<br>
><br>
> I have some problems connecting to monit and mi<br>
> Installed xmlrpc (deb packages) and running monit -t gives an ok<br>
> Starting OpenSIPS gives an ok to.<br>
><br>
> But in the control panel I get these error messages:<br>
> Cannot connect to OpenSIPS Server via Management Interface<br>
> (<a href="http://127.0.0.1/8000" target="_blank">127.0.0.1/8000</a> <<a href="http://127.0.0.1/8000" target="_blank">http://127.0.0.1/8000</a>>)<br>
> And cannot connect tot <a href="http://127.0.0.1:2812" target="_blank">127.0.0.1:2812</a> <<a href="http://127.0.0.1:2812" target="_blank">http://127.0.0.1:2812</a>> (monit<br>
> tool)<br>
><br>
> OpenSIPS seems to run and listening on udp ports for sip messages.<br>
> So I am missing something? Did the install for monit from the readme.<br>
><br>
> Thanks,<br>
><br>
> Albert<br>
><br>
><br>
> On Tue, May 25, 2010 at 10:43 AM, Aman <<a href="mailto:goforaman@gmail.com">goforaman@gmail.com</a><br>
> <mailto:<a href="mailto:goforaman@gmail.com">goforaman@gmail.com</a>>> wrote:<br>
><br>
><br>
> Greetings,<br>
><br>
> Need a help, i am getting the error on monit on<br>
> OpenSIPS-CP that "I can't connect!", when i run<br>
> monit -t for syntax check, its shows error,<br>
><br>
> May 24 10:17:26 opensips monit: /etc/monit/monitrc:241: Warning:<br>
> include files not found '/etc/monit/conf.d/*'<br>
> May 24 10:50:49 opensips monit: /etc/monit/monitrc:241: Warning:<br>
> include files not found '/etc/monit/conf.d/*'<br>
> May 24 11:08:14 opensips monit: /etc/monit/monitrc:241: Warning:<br>
> include files not found '/etc/monit/conf.d/*'<br>
><br>
> But this file does not exist on defined path, i have also skipped<br>
> the following configuration part in 'monitrc'<br>
><br>
> " check process opensips with pidfile /var/run/opensips.pid<br>
> #Below is actions taken by monit when service got stuck.<br>
> start program = "/etc/init.d/opensips start"<br>
> stop program = "/etc/init.d/opensips stop"<br>
> # Admin will notify by mail if below of the condition satisfied.<br>
> if cpu is greater than 70% for 2 cycles then alert<br>
> if cpu > 90% for 5 cycles then restart "<br>
><br>
> as this shows error opensips already icluded, please advice to<br>
> make the monit work.<br>
> Any suggestions are really appreciable.<br>
><br>
><br>
> --<br>
> Amanpreet Singh<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Alex Ionescu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.opensips.org/pipermail/users/attachments/20100525/b8147392/attachment.htm" target="_blank">http://lists.opensips.org/pipermail/users/attachments/20100525/b8147392/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
End of Users Digest, Vol 22, Issue 87<br>
*************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>((cheers))<br>Amanpreet Singh<br>