<font style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">checked secret for leading and post blanks... none<div>changed secret to a simple secret just to be sure... same result</div><div>removed post "/" of URL in connector config... same result</div><div>deleting Vtiger and SQL tables to force run once setup with <span style="font-size: 10pt;">new version </span><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">revision =14176, same result</span></div><div><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"><br></span></div><div><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">I have not tried to blow the server away and start from nothing, I had to do this to go from 6.0 to 6.1, not sure why we already know there are issues with jsut updating via SVN, and you have to kill your tables and vtiger directory to force a run once install but its possible there are issues with even that</span></div><div><br></div><div><br></div><div>on the 8383 stream</div><div>INFO: Successfully Authenticated Vtiger Secret Key</div><div><br></div><div>on the 4573 stream</div><div>SEVERE: Failed to authenticate Vtiger Secret Key</div><div><br></div><div>click to call still results in calling of the CRM Extension, then get hung up on</div><div><br></div><div>Inbound callers get hung up on, no PoP, phones do not even ring</div><div><br></div><div>Question: Do you actually have a the asterisk connector and PBX Manager working and tested on any of your own installs? I was looking though internet blogs and forms and found comments suggesting that this is not working in On Demand version either</div><div><br></div><div><span style="font-size: 10pt;">Back to my suggestion of scraping AGI and just use AMI, why
is vtiger even using AGI, its clear from these data streams you are using AGI to
access AMI, why?</span></div><div>

<p class="MsoNormal">If you are going to use AGI  you don't need to access
the AMI, and if you use AMI you don't need AGI, they are not meant to work together</p>

<p class="MsoNormal">AGI would be great for let's say, we wanted to create a
customer satisfaction survey and send callers to it after a call, and we want
the user input to tie vTiger, similar to how you're the web forums work, or we
wanted a call in app that allowed customers to call in and manager their own
vtiger records, like allow customers to call in and change their phone number
or address, then AGI would be great and required as AMI won't let us do those
type of things, and if that is where you are going with this then great, but that
should be a separate project/module from the PBX Manager that handles click to
call and caller POPs </p>

<p class="MsoNormal">In this case vtiger does not need to own or control the
call, so we dont need AGI, all its trying to do is:</p>

<p class="MsoNormal">1.) Click to call app</p>

<p class="MsoNormal">AMI is best suited for this, very simple command, and you
guys where closer to this prior to the 14176, you just had Exten set to the CRM
Phone Extension so it was trying to call itself, I could see the commands being
issued </p>

<p class="MsoNormal"><span style="font-size: 10pt; line-height: 115%; font-family: Arial, sans-serif;">Action: Originate<br>
Channel: {CRM Phone Extension from My Preferences}<br>
Context: {Context from PBX Manager Settings}<br>
Exten: {Number Clicked On}<br>
CallerID: "Calling" & {Number Clicked On} & "from
Vtiger"<br>
Priority: 1<br>
Timeout: 30000<br>
Variable: var1=23|var2=24|var3=25<br>
ActionID: {optional for error handling}</span></p>

<p class="MsoNormal">2.) Monitor for Incoming calls so we can grab callerID and
search vtiger for records and make a POP</p>

<p class="MsoNormal">Again AMI is best suited for this all you have to do is keep
the AMI connection open, it will close due to inactivity, that's not a AMI
problem that's in the network layer so you need to constantly check if the
connection is open and reconnect if not, you can send a "Action: Ping" every
few minutes to help minimize the drops, it's really not difficult and virtually
all the call monitoring applications both open source and commercial use
AMI to do this, not AGI </p>

<p class="MsoNormal">From there all you need to do is pull out the "Event: Newstate"
and "Event: Hangup" packets to inspect the packet attributes </p>

<p class="MsoNormal">Please see my suggestion email on 8-5-2014, if you need further help, I have everything you need coded and working in Visual Basic, I would be happy to provide you with the code, you will have to translate to Java, assuming you would stick with java for the connector which is fine, though you probably could do same in PHP and not waste all the system resources java uses</p>

<p class="MsoNormal">In response to your response from that email</p>

<p class="MsoNormal">There are no new settings under my preferences for
ReceivingIncommingCalls and MakingOutgoingCalls, even after a forced re-install
of rev. 14176</p>

<p class="MsoNormal">Some users might want click to call function but not
callerID POPs so simply removing the CRM Phone Extenion settings is a bad way
to control if POP should occur</p>

<p class="MsoNormal">Some users will want the POP on ring and others will want on
answer, so this option should be given</p>

<p class="MsoNormal">User should be able to define how long the POP stays up.
trust me if you hard code it, some will say it stays up too long, and other
will stay it goes away to fast, you will never find a settings for this that
makes everyone happy, so let them set it</p>

<p class="MsoNormal">That's great there is a close button on the POP, but it
should only close the pop for that instance, it should not permanently close only
for that user as you suggested</p></div><div><br></div><div><br></div><div> </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><br><font size="2" face="Tahoma, Arial, Sans-Serif"><hr size="2" width="100%" align="center"><strong>From</strong>: "Rishab K" <rishab.k@vtiger.com><br><strong>Sent</strong>: Friday, August 08, 2014 2:05 AM<br><strong>To</strong>: vtiger@camden.net<br><strong>Subject</strong>: [Vtigercrm-developers] Asterisk Connector & Asterisk 11</font><br><br><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
>From the snapshot which was sent in previous mail, it looks like all the configuration that has been done are correct. I want one last thing to be verified from your end both in <strong>Vtiger</strong> and Connector config file.</div>
<div class="gmail_default"><ul style="font-family:arial,sans-serif;font-size:13px"><li style="margin-left:15px"><font face="arial, helvetica, sans-serif">In <strong>PBXManager</strong> settings under <strong>Vtiger Secret Key field</strong>, make sure there are no empty spaces in starting and ending of the key.</font></li>
<li style="margin-left:15px"><font face="arial, helvetica, sans-serif">In Connector config file under <strong>VtigerSecretKey</strong> field, make sure there are no empty spaces at the end of the key.</font></li><li style="margin-left:15px">
<font face="arial, helvetica, sans-serif">In Connector config file under<strong> VtigerURL</strong> field, remove the slash that is added at the end of the <strong>URL</strong>.</font></li></ul><div style="font-family:arial,sans-serif;font-size:13px">
<font face="arial, helvetica, sans-serif">Please verify and make this changes, once done please restart the connector.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div></div></div><br></div></div></font>