Skip to main content

Can't get CRM pop ups to work

Posted by cbbs70a on Tue, 03/20/2012

All;
I know that I had gotten this to work in the past, but I cannot get the CRM pop ups to work now. I've looked at everything I can think of, I stopped iptables on the PBX so I can rule all of that out, I've set the AMI acl's in manager.conf, everything is on the same local network, I made sure I can connect from my PC to the flashpolicyd on port 843, but nothing. I am using Asterisk 1.8 and TL STE 6.1.1.11.
What am I missing? Amy insoght at all would be greatly appreciated.
Thanks;
FSD


Submitted by cbbs70a on Wed, 03/21/2012 Permalink

I am talking about the pop ups that occur in the user web portal. The one that says "CRM Screen Pops". I recall that way back in the day, it took a little work to get it working, but its been so long, I can't remember exactly what was required. Other than having access to the flash policy server on port 843, the AMI acl's, ruling out any ports being blocked by stopping iptables, stopping the windows firewall on my workstation, trying multiple web browsers to rule that out, I'm running out of things to check. I'd appreciate any help I could get at this point.
Thanks;
FSD

Submitted by eeman on Wed, 03/21/2012 Permalink

that page is a java applet that connects to the AMI and listens for events. so the flash policy server shouldnt be a factor for this application. you might be experiencing java issues..

first verify your PC can connect to the AMI (telnet to port 5038) and verify you get a connection

then if you are getting a connection then you've ruled out firewall rules, next you would need to check the ACL rules of manager.conf .. an easy check is to see if the AMI tool in the admin portal spits out events for debugging. If that piece works then even the flash policy manager is working leaving you with just the java component to troubleshoot

Submitted by cbbs70a on Thu, 03/22/2012 Permalink

Checked it all and re-checked it. It very well could be a Java issue, but I'm not exactly sure how to debug that. Raven, what should I be looking for? I opened up a Java console but its like thousands of lines of output. In the beginning, I see output that confirms that I am connecting with the AMI. Then there is a lot of data that's questionable. Thousands of lines that look like this:

Mar 22, 2012 9:07:28 AM org.asteriskjava.manager.internal.EventBuilderImpl setAttributes
SEVERE: Unable to set property 'sequencenumber' to '16529' on org.asteriskjava.manager.event.NewChannelEvent: no setter
Mar 22, 2012 9:07:28 AM org.asteriskjava.manager.internal.EventBuilderImpl setAttributes
SEVERE: Unable to set property 'line' to '1338' on org.asteriskjava.manager.event.NewChannelEvent: no setter
Mar 22, 2012 9:07:28 AM org.asteriskjava.manager.internal.EventBuilderImpl setAttributes
SEVERE: Unable to set property 'channelstate' to '0' on org.asteriskjava.manager.event.NewChannelEvent: no setter

Does this help any? It would really be a huge help if I could get this running.
Thanks;
FSD

Submitted by raven on Thu, 03/22/2012 Permalink

Lots of questions would need to be asked to answer what should be checked.

But basically (browser + updates) + (operating system + updates).

If you have a WinXP running ie8 with all the updates, it usually asks about permissions to run the java, then it does when you click OK.