ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Integration Projects

Problem with Asterisk Integration

You need to be logged in to post messages

This question is answered

Problem with Asterisk Integration

2/10/2011 10:19 AM EST

Hi all
We installed for testing ConcourseSuite CRM 6.0 (2010-06-14)
Asterisk Integration takes a great interest for us.
We have succeeded to make calls from Concourse, but the feature "Monitor inbound calls" does not work.
TomCat casts Java exceptions like:

[ERROR] net.sf.asterisk.manager.impl.EventBuilderImpl - Unable to set property 'calleridnum' on class net.sf.asterisk.manager.event.NewChannelEvent: no setter
[ERROR] net.sf.asterisk.manager.impl.EventBuilderImpl - Unable to set property 'calleridnum' on class net.sf.asterisk.manager.event.NewChannelEvent: no setter

On other hand there are exceptions in wsrp4j-proxyportlet.xxxx.log:
eb 8, 2010 3:11:54 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
at org.apache.pluto.core.PortletServlet.init(PortletServlet.java:106)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Feb 8, 2010 3:11:54 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /crm threw load() exception
java.lang.NullPointerException
at org.apache.pluto.core.PortletServlet.init(PortletServlet.java:106)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Feb 8, 2010 3:11:54 PM org.apache.catalina.core.ApplicationContext log
INFO: Webdav: DefaultServlet.init: input buffer size=2048, output buffer size=2048

I don't know, if this is related to the problem.

1. 2/14/2011 8:39 AM EST
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

Hi. It has been some time since I have installed Asterisk and tested this. I wonder if this is a library and Asterisk mismatch because the Java library the CRM uses is 0.2 – compatible up to Asterisk 1.2?

There is a new stable library for Asterisk 1.0, 1.2 and 1.4 that also says Asterisk- Java needs a Java Virtual Machine of at least version 1.6 (Java SE 6.0) and Asterisk-Java 0.3 was released shortly after Asterisk 1.4.

What version of Asterisk are you using?

2. 2/16/2011 9:19 AM EST

So we first tried Asterisk 1.6, but the number of exceptions was really huge. After that we switched to Asterisk 1.4, but this exceptions still remains.

We are using Sun Java Runtime Environment 6.
I have read this article:
http://www.voip-info.org/wiki/view/Asterisk+variables
and saw this:

$: The current Caller ID number - $ was used in versions of Asterisk prior to 1.2.0, it was DEPRECATED in 1.2.0 and removed in 1.4.

Probably the crm expects a obsolete variable. Or we have to install a new library?

3. 2/16/2011 9:20 AM EST

Sorry , I mean "but this single exception still remains" -

[ERROR] net.sf.asterisk.manager.impl.EventBuilderImpl - Unable to set property 'calleridnum' on class net.sf.asterisk.manager.event.NewChannelEvent: no setter

4. 2/16/2011 10:25 AM EST
This reply is marked as the answer
1 person found this helpful.
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

I took a look at Asterisk Java 0.3... in order to use that library the CRM code must be updated because the Asterisk Java packages have been renamed and the Event classes have been renamed. I'm not sure if anything else under the covers has changed until this can be researched. However, with the new library and the updated CRM code it would be worth testing at that point since you already have the infrastructure in place to test.

I think it would be worth having us do the work if you are interested. You would just need to contact us to make arrangements.

5. 2/21/2011 10:57 AM EST

Matt R. wrote:
I took a look at Asterisk Java 0.3... in order to use that library the CRM code must be updated because the Asterisk Java packages have been renamed and the Event classes have been renamed. I'm not sure if anything else under the covers has changed until this can be researched. However, with the new library and the updated CRM code it would be worth testing at that point since you already have the infrastructure in place to test.

I think it would be worth having us do the work if you are interested. You would just need to contact us to make arrangements.


We are definitely interested. We have checked some our partners and potential partners and many of them sad they would like to have such a feature.

6. 3/7/2011 9:07 AM EST
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

Hello Bozhan, the latest CRM 6.1 now has an updated Asterisk library. Concursive has not tested the integration so if you still have the Asterisk environment set up, please test it and report back your findings.

Regards,
Matt

6 results found