[asterisk-users] Looking for a way to show caller id information onthe desktop
Danny Nicholas
danny at debsinc.com
Thu Sep 10 13:07:17 CDT 2009
I'll second this thought. -rx is a good method for newbies, but the AMI is
a more robust way to accomplish this and the AGI is IMO the best method.
Using the AGI from the dialplan will allow real-time update of the
information without polling traffic.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Edwards
Sent: Thursday, September 10, 2009 1:02 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Looking for a way to show caller id
information onthe desktop
Un-top-posting...
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonathan
> Moore
>
> My problem, I can't figure out how to ask this question. So, hopefully
> someone out here can point me to the FM on this.
>
> I would like to have either a web page or an application that I can view
> that whenever a call arrives on the Asterisk server the application will
> display the callerid information. I've found quite a few examples of
> the reverse of this. To where a script is called to GET the callerid
> information, but that's not what I'm looking for.
>
> Is it possible, and if so, where should I start looking to find a
> solution to this? I've failed at google so far, and I think I'm just
> not asking the right question.
On Thu, 10 Sep 2009, Danny Nicholas wrote:
> The asterisk GUI offers this. To "Roll your own", simply do an asterisk
> -rx "core show channels" and filter that output to your browser.
It kind of depends on what you are trying to accomplish. With the limited
information provided, there are several ways. It's up to you to choose :)
As Danny says, "-rx" is one way. I'd suggest AMI as less resource
intensive. Both of these are "polling" Asterisk and you're limited to the
information you can scrape out of the output. If all you want is the ANI,
"show channels concise" will do. Otherwise, you'd have to iterate over all
the channels with "show channel foo." Yuk.
Another way would be to call an AGI in your dialplan after the call is
answered to stuff the CID and whatever else you want into a database and
then call an AGI (via "h") at the end of the call to clear it.
I used the "AGI" method in an inbound call center a few years ago where
there were 6-10 supervisors and managers viewing the agent's status via a
web page that refreshed every couple of seconds. All the "abuse" was on
the database instead of Asterisk.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list