[asterisk-users] Removing "Parsing /etc/asterisk/manager.conf" from CLI
Adrian A
adrianvoip at gmail.com
Thu Apr 10 14:26:03 CDT 2008
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 <stefan.reuter at reucon.com>
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: stefan.reuter at reucon.com
> Jabber: stefan.reuter at reucon.com
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080410/b853ead5/attachment.htm
More information about the asterisk-users
mailing list