[asterisk-users] Script to show asterisk stuff

Tiago Geada tiago.geada at gmail.com
Mon Jan 4 11:31:22 CST 2010


2010/1/4 Will Payne <will at teambadger.co.uk>

>
> On 4 Jan 2010, at 16:46, Tiago Geada wrote:
>
> > Hello folks.
> >
> > I'm looking into having a web page displaying asterisk callers.
> > We are a call centre, and having operators answering calls at home or
> whatever, they would need to have a real time application to display how
> manny callers are queuing, for how long etc.
> >
> > At first, I thought of phpagi. It connects to the manager and does a
> "core show channels concise".
> > This has most of the info I want.
> > After tweaking with php to parse the text to exatcly how I wanted, I
> found out that the script would be slow if it was self refreshing (say 2
> secs) and with about 30 people opening it at the same time.
> >
> > So now I was thinking in a script that would connect to the Manager, and
> parse that output into a mysql table.
> > A Web page would consult the mysql table, showing the wanted results.
>
> Or, if you want less work..  have a script which connects to the manager,
> formats the data and creates an HTML page. Then wait x seconds and loop.
>
> Then, home workers just view that one static page and use a meta-refresh or
> something.. Only one script is doing any real work and serving a static page
> to clients shouldn't overload the server.
>
>
> Will
> __________________


Hi Will.

Thanks for replying.

That was sort of my second thought. But once I connect to the manager I can
listen to all the events, Calls comming in, which extension they are dialed
to, lots of info... so I just got sort of confused for whitch path I should
take.

I guess I will do just that.

Thanks

> _____________________________
> -- 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/20100104/53d11240/attachment.htm 


More information about the asterisk-users mailing list