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
