[Vtigercrm-developers] Asterisk Configuration - Labelling Bug?

Alan Lord alanslists at gmail.com
Tue Oct 2 04:21:47 PDT 2012


We have a couple of customers who have slightly modified Asterisk call 
manager code to support click-to-call with a VOIP provider called Gradwell.

Their API only does click-to-call and so we do not need to poll vtiger 
every 5 seconds to see if there are any incoming calls...

However, the label in the User Configuration "Receive Incoming Calls" is 
wrong. It actually means "Use Asterisk". Without that box checked you 
lose the ability to click on phone numbers to make a call and this also 
means that every user's browser (tabs) does a 5 second poll of vtiger to 
check for incoming calls.

So I guess this is either a labelling bug or the javascript should be 
changed so that we only poll for incoming calls on users that have the 
checkbox checked.

Al

PS - Polling vtiger and then asterisk like this seems to be very 
resource intensive. Why not use the Asterisk AGI to signal to vtiger 
that there is an incoming call in the first place, rather than sending 
hundreds of requests? Also, perhaps using websockets in the future might 
be a better way to handle the browser->vtiger interface?



More information about the vtigercrm-developers mailing list