Hi all,

sometimes our customers are looking after a call center system using the 
Asterisk VOIP server.

So far, using the asterisk POC module, we think it's quite easy to open a CRM 
business partner card when a call is intercepted by Asterisk.

The simplest way to do that in eTiny seems to let the web browser actively 
pooling to the server to ask every 20 seconds if it should open a new business 
partner card. Askterisk notify the OpenERP server and then next time the client 
ask it will be notified. Ajax active pooling is a one liner using 
PeriodicalUpdater in the Prototype javascript library fro instance.

Still, by doing such an "active pooling", we can imagine to support only a very 
limited number of such call center enabled clients (5? 20?). Also the 
reactivity will be quite low: like 20 seconds before opening the customer 
business card after the call is intercepted.

A much better way would be to use an Ajax 'push' technology like Comet
( http://en.wikipedia.org/wiki/Comet_(programming)#Comet )

Such push technologies are generally used in live chat web clients such as 
GTalk or Mibbit (DHTML irc client).

I see on the extra addons SVN that Tiny.be seems to be developping a 'live 
chat' module. Is it using AJAX push?

If yes then it might be use as a transport technology to convey business 
partner card window opening request directly from the server (after it receives 
a python shell call from the Asterisk server).
Any taker?
I think this would totally rocks and shouldn't be that complex.

In the case Ajax push is not use for that live chat module (would be sad), or 
in any case, on can get inspired by a Java example of VOIP and web application 
integration. See the explanations and source code sample here:
http://java.dzone.com/news/ajax-push-and-telephone

(using an extra Java server layer if required to do so is OK in my opinion if 
OpenERP doesn't come with an easy solution to such a problem).

Best regards,

Raphaël Valyi.

------------------------
http://www.smile.fr




_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to