Re: [asterisk-users] Removing Parsing /etc/asterisk/manager.conf from CLI

2008-04-10 Thread Stefan Reuter
Adrian A wrote:
 Is there any way of removing this line from showing on the console? I
 have a script that logs in every few seconds to manager (...)

Maybe a better solution is to rethink your architecture. The Manager API
is well suited for long running connections, so there is no need to
reconnect every few seconds.

=Stefan

-- 
reuter network consulting
Neusser Str. 110
50760 Koeln
Germany
Telefon: +49 221 1305699-0
Telefax: +49 221 1305699-90
E-Mail:  [EMAIL PROTECTED]
Jabber:  [EMAIL PROTECTED]
WWW: http://www.reucon.com

Steuernummern 215/5140/1791 USt-IdNr. DE220701760



signature.asc
Description: OpenPGP digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Removing Parsing /etc/asterisk/manager.conf from CLI

2008-04-10 Thread Steve Davies
On 10/04/2008, Stefan Reuter [EMAIL PROTECTED] wrote:
 Adrian A wrote:
   Is there any way of removing this line from showing on the console? I

  have a script that logs in every few seconds to manager (...)

  Maybe a better solution is to rethink your architecture. The Manager API
  is well suited for long running connections, so there is no need to
  reconnect every few seconds.

Or use astmanproxy, which will open a persistent * Manager connection
and allow you to make occasional polls to the proxy.

Regards,
Steve

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Removing Parsing /etc/asterisk/manager.conf from CLI

2008-04-10 Thread Tzafrir Cohen
On Wed, Apr 09, 2008 at 11:55:13PM -0700, Adrian A wrote:
 Hello,
 
 Is there any way of removing this line from showing on the console? I have a
 script that logs in every few seconds to manager and it makes the CLI output
 very hard to follow because of the   == Parsing
 '/etc/asterisk/manager.conf': Found. (Yes, Found! manager.conf was there 3
 seconds ago, guess what it's still there.)

What verbosity level do you use?

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Removing Parsing /etc/asterisk/manager.conf from CLI

2008-04-10 Thread Adrian A
Anything more than 'core set verbose 1' produces this message, however
verbose 1 does not display much of anything.

On Thu, Apr 10, 2008 at 1:53 AM, Tzafrir Cohen [EMAIL PROTECTED]
wrote:

 On Wed, Apr 09, 2008 at 11:55:13PM -0700, Adrian A wrote:
  Hello,
 
  Is there any way of removing this line from showing on the console? I
 have a
  script that logs in every few seconds to manager and it makes the CLI
 output
  very hard to follow because of the   == Parsing
  '/etc/asterisk/manager.conf': Found. (Yes, Found! manager.conf was
 there 3
  seconds ago, guess what it's still there.)

 What verbosity level do you use?

 --
   Tzafrir Cohen
 icq#16849755  jabber:[EMAIL PROTECTED][EMAIL PROTECTED]
 +972-50-7952406   mailto:[EMAIL PROTECTED]
 http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Removing Parsing /etc/asterisk/manager.conf from CLI

2008-04-10 Thread Adrian A
There is an OpenSER proxy in front of Asterisk which handles the clients.
The script is called by OpenSER whenever a client sends a SUBSCRIBE request
for MWI. It uses php to connect to Asterisk like so:
fsockopen($mhost,5038, $errno, $errstr, 5) and gets the user's voicemail
counts.

I'm not sure how I would maintain this as a persistent connection that would
live if I restart Asterisk. I'd have to detect that somehow.

Adrian

On Thu, Apr 10, 2008 at 12:14 AM, Stefan Reuter [EMAIL PROTECTED]
wrote:

 Adrian A wrote:
  Is there any way of removing this line from showing on the console? I
  have a script that logs in every few seconds to manager (...)

 Maybe a better solution is to rethink your architecture. The Manager API
 is well suited for long running connections, so there is no need to
 reconnect every few seconds.

 =Stefan

 --
 reuter network consulting
 Neusser Str. 110
 50760 Koeln
 Germany
 Telefon: +49 221 1305699-0
 Telefax: +49 221 1305699-90
 E-Mail:  [EMAIL PROTECTED]
 Jabber:  [EMAIL PROTECTED]
 WWW: http://www.reucon.com

 Steuernummern 215/5140/1791 USt-IdNr. DE220701760


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Removing Parsing /etc/asterisk/manager.conf from CLI

2008-04-10 Thread Tzafrir Cohen
On Thu, Apr 10, 2008 at 12:21:46PM -0700, Adrian A wrote:
 Anything more than 'core set verbose 1' produces this message, however
 verbose 1 does not display much of anything.

So obviously there are two ways to resolve thins (apart from leaving
things as they are now) - demoting the priority of this message, or
promoting the priority of those important messages you miss.

That message is often useful for me, if I have #include-s .

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users