<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><div>this might fix all issues, we have noticed a collation of problems to the endless loop of inbound notification</div>

<div> </div>

<div>but we have no way of knowing the root cause of this endless loop, all we can see is data streams on the ports your webapp.sh and agi.sh + the 2 streams on cli and AMI, and that only if we have stream open in terminal we dont listen all the time and log, takes far to much resource</div>

<div> </div>

<div>what are we trying to accomplish in this meeting, we have a couple test servers are you wanting access? live testing what? also have a few guys that have more knowledge in certain areas so I might need to check there schedules</div>

<div> </div>

<div> </div>

<div> </div>

<div> </div>

<div> </div>

<div> </div>

<div> </div>

<div> </div>

<hr align="center" size="2" width="100%" />
<div><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><b>From</b>: "Prasad" <prasad@vtiger.com><br />
<b>Sent</b>: Wednesday, August 27, 2014 11:32 AM<br />
<b>To</b>: "vtigercrm-developers@lists.vtigercrm.com" <vtigercrm-developers@lists.vtigercrm.com><br />
<b>Cc</b>: "vtiger@camden.net" <vtiger@camden.net><br />
<b>Subject</b>: Re: [Vtigercrm-developers] Asterisk Good News</span>

<div> </div>

<div dir="ltr">I noted a scenario that can get the popup stuck on UI due to unexpected / no-response - 
<div>hopefully when we meet this can be reviewed: <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8195">http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8195</a></div>

<div> </div>

<div>Regards,</div>

<div>Prasad</div>
</div>

<div class="gmail_extra"> 
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
 

<div class="gmail_quote">On Wed, Aug 27, 2014 at 8:10 PM, Akshath T.A <span dir="ltr"><<a href="mailto:akshath.t@vtiger.com" target="_blank">akshath.t@vtiger.com</a>></span> wrote:

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Are you free for meeting now? I will send you the meeting link.</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> </div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">??</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> </div>

<div class="gmail_extra"> 
<div class="gmail_quote">
<div>On Wed, Aug 27, 2014 at 7:39 PM, <a href="mailto:vtiger@camden.net" target="_blank">vtiger@camden.net</a> <span dir="ltr"><<a href="mailto:vtiger@camden.net" target="_blank">vtiger@camden.net</a>></span> wrote:</div>

<div>
<div class="h5">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">yes I am aware of what it was saying... but 101 was most certainly a valid extension, at the same time this was going on we could send our own origination command to AMI for 101 to call out and it worked just fine, that error is not produced by asterisk at all, its not a valid asterisk error return, you are mis-interrupting some other error and reporting it back as a asterisk error </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">I think it was some error inside your java, at the time this was happening we only saw data stream on webapp.sh on the click to call attempts, we where also looking at data streams on your agi.sh saw nothing, the cli with agi and verbose 10 notifications enabled saw nothing, and we also looking at the AMI stream, nothing there as well, so we dont even think your connector was even talking to asterisk at all</span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><span style="font-size:10pt">we fixed the issue last night, stopped the webapp.sh and agi.sh files and prevented them from start @ boot, rebooted, cleared settings in vtiger PBX manager or rather put in a bunch of junk, saved, rebooted, put settings back into PBX manager, rebooted then turned the .sh files back on, not sure what steps fixed but simple stop and start of .sh files and/or system reboots did not fix</span></span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><font>we still have issue on on test server where it seems vtiger </font>altered something in asterisk where all the extensions we had in vtiger no longer will ring though a call queue, we have no data on the event we where not actively monitoring data streams, and your asterisk connector has never written 1 log to its own log directory, everything was working Friday, and Monday we checked on it again and found that vtiger was stuck in endless loop of inbound notification and those extensions would no longer sent a sip invite though call queue, even after they where removed from vtiger and a reboot, and the asterisk connector was completely shut down, keep in mind these are test servers dedicated to getting vtiger to work, they are lamp + asterisk + freepbx + vtiger only we have not moved into phase of testing with other packages so the problems we are having can only be vtiger, this is what concerns us about closed source java+agi, beyond we can not see code to try to help you we now have situation where it seems your connector and AGI have altered asterisk, we dont know whats it doing.</span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">the whole reason we advocate for just use the AMI is its simple and works and your not really doing anything that requires the interactivity that AGI allows, AMI can be used to originate call as well as be monitored for inbound, this is how tapi drivers work that plug into on site CRMs like ACT, SAGE CRM, Lexis Nexus, ect, its also how sugar / sweet crm are handling it</span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">I think the tiring the call records to data in vtiger is a great idea, but why are you generating your own CDR log's via AGI, and this is where I think you guys are hung up on using AGI, but asterisk does have it own MySQL tables and CDR reccords, why not during the isntall of vtiger ask for the asterisk database name and credentials and query them for the info, and vtiger should not be forcing all calls to record, asterisk gives us ways to record and not record calls, if you want to link to recordings fine but again you should be looking to see if a call was recorded, beyond a performance issue and potential duplication of whats already being done in the Asterisk, this ventures into a legal issue, a lot of places all parties must be notified and consent to call recording, with vtiger it forces the recording</span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">the general rule of thumb here is if you need user input like your making a IVR and logging what was entered then you need AGI, if your just originating calls and monitoring for inbound use AMI, in either case SQL should be used to get call record data</span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">AGI has it problems that you are unnecessarily dealing with, they are common for AGI, what if my agi script finishes before the call ends, what if the call ends before my agi script finishes and a whole host of other issues that you simply dont need to deal with for what your trying to do   </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><font> </font></span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><span style="font-size:10pt"> </span></span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<hr align="center" size="2" width="100%" />
<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><span style="font-family:tahoma,arial,sans-serif;font-size:10pt"><b>From</b>: "Akshath T.A" <<a href="mailto:akshath.t@vtiger.com" target="_blank">akshath.t@vtiger.com</a>><br />
<b>Sent</b>: Wednesday, August 27, 2014 3:19 AM<br />
<b>To</b>: <a href="mailto:vtiger@camden.net" target="_blank">vtiger@camden.net</a><br />
<b>Subject</b>: Re: [Vtigercrm-developers] Asterisk Good News</span></span>

<div>
<div>
<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div dir="ltr">
<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">Hi,</span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"><span style="font-size:13px">From the logs, it clearly states that the extension - 101 was not found by your Asterisk server when AMI originate request sent from Vtiger Connector.</span></span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">In order to nail down the issue, can we have a online meeting today or tomorrow so that it would help us know what really is causing the problem. </span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">I will be available from 9:00 AM to 8:00 PM IST at my office. Please tell us your convenient time within this so that I can send you meeting link.</span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">Thank you.</span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt"> </span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">regards,</span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">Akshath</span></div>

<div style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">  Vtiger</span></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
<br />
_______________________________________________<br />
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></blockquote>
</div>
</div>
</div></span>