[asterisk-users] ASP web phone

Alex Balashov abalashov at evaristesys.com
Wed May 21 16:17:06 CDT 2008


Gustavo A Gonzalez wrote:

> Hello! I am working on a CRM web application developed on ASP and I need 
> to integrate a webphone to make/receive/transfer/pause calls for each 
> agent logued through the CRM interface. Is there a solution that I could 
> use out there?. On the other hand, I need that a web browser pops up an 
> url with the clients data for each call received. How I can generate 
> this events? Thanks for any help

For the softphone bit, you can use most soft phones as a helper 
application to the browser and define it to be triggered for "sip:" 
URIs.  Then, just produce SIP URIs as links.

To do CRM screen-pops of client data, there are a variety of approaches. 
  Unless you're going to use a Java applet or a Flash form or something 
else that has the potential to bypass HTTP's statelessness, all of them 
revolve around the CRM app / browser going out and polling a web server 
-- rather frequently -- for any indication that an incoming call is 
being received.  This is ugly, nasty, potentially resource-intensive, 
and largely unavoidable because there is not really a way for servers to 
actively "push" data to HTTP clients, HTTP keepalive and all that 
notwithstanding.

You can do such polling with XMLHttpRequest and the associated 
accoutrements of "web 2.0" programming.

-- Alex

-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599



More information about the asterisk-users mailing list