<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><div>try [from-trunk] or any other context that only fires on inbound call from outside, should take care of that issue</div>

<div> </div>

<div> </div>

<div>though this is not ready for production, after a week of testing its unstable</div>

<div> </div>

<div>worked fine for a few days, then:</div>

<div> </div>

<div>it got stuck in endless loop repetitively notifying vtiger users of a inbound call</div>

<div> </div>

<div>over the weekend it did something in which all extensions that where in vtiger no longer ring though call queues, even after removing them from vtiger, all the extensions that where not in vtiger still work</div>

<div> </div>

<div>now we are dealing trying to deal with (on click to call)</div>

<div> </div>

<div>the webapp.sh data stream reports</div>

<div> </div>

<div>ug 26, 2014 5:43:29 PM com.vtiger.apps.asterisk.webapp.helpers.b a<br />
INFO: Sending call originate request to asterisk<br />
Aug 26, 2014 5:43:29 PM com.vtiger.apps.asterisk.webapp.helpers.b a<br />
INFO: Context:[vtiger_outbound]<br />
Aug 26, 2014 5:43:29 PM com.vtiger.apps.asterisk.webapp.helpers.b a<br />
INFO: From: 101 -> To: 18032433300<br />
Aug 26, 2014 5:43:29 PM com.vtiger.apps.asterisk.webapp.helpers.b a<br />
INFO: Outgoing Call Response: Error<br />
Aug 26, 2014 5:43:29 PM com.vtiger.apps.asterisk.webapp.helpers.b a<br />
INFO: Asterisk Response: Extension does not exist.</div>

<div> </div>

<div> </div>

<div> </div>

<div>no data seen in AMI, CLI, or agi.sh, and it never has wrote any file to its log directory</div>

<div> </div>

<div>101 is a good extension, we can send an origination command directly to AMI and it works just fine</div>

<div> </div>

<div> </div>

<div>our primary business is hosting PBX, some of our clients have requested a hosted CRM to go along with it, to replace products like ACT that work just fine with click to call and notification via TAPI drivers</div>

<div> </div>

<div>we have some big concerns about this closed source java based AGI approach, its not needed for anything vtiger is really trying to do, at least as advertised, and it seems to want to take over and be a mini PBX inside the PBX, its making its own CDR records, forcing all calls to be recorded, and we are not sure what else but its apparently capable of changing how extensions work in call queues  </div>

<div> </div>

<div>it would be nice if vtiger developers just gave in and used the AMI for origination and notification (they are doing that anyway in there AGI) and used SQL to tie vtiger records to Asterisk CDR records and call recordings if any even exist  </div>

<div> </div>

<div>if this dont get fixed and these issues get addressed soon, we may look into trying to fool vtiger into firing our own php AGI for click to call, and just use the our own windows system tray call notification, or start looking into other CRM solutions altogether</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>: "Zebra Hosting" <support@zebrahosting.eu><br />
<b>Sent</b>: Tuesday, August 26, 2014 12:36 PM<br />
<b>To</b>: "vtigercrm-developers@lists.vtigercrm.com" <vtigercrm-developers@lists.vtigercrm.com><br />
<b>Subject</b>: Re: [Vtigercrm-developers] Asterisk Good News</span>

<div> </div>
Had some time to play around with the PBX setup:<br />
<br />
Setup is a fresh AsteriskNow with one trunk (voipbuster) where I only<br />
allow to call out to my own mobile phone for now.<br />
In and out calling works fine. Internal too.<br />
<br />
Allow SIP guests and Allow Anonymus inbound SIP calls are both off for<br />
security. (Unbelievable amount of idiots trying to hack in there)<br />
0.0.0.0/0.0.0.0 is denied but 127.0.0.1, office and vTiger IP are allowed.<br />
<br />
setup a manager called vtiger with the same permit/deny and basically all<br />
rights. Did not work so went back to admin user/manager for now.<br />
<br />
In the &sup3;from-internal context I have exten =><br />
_X.,1,agi(agi://127.0.0.1/incoming.agi) but it stops all internal calls...<br />
<br />
Any suggestions?<br />
<br />
_______________________________________________<br />
http://www.vtiger.com/</div></span>