Issues with AsteriskJava

Hi guys!

Please let me know if this is not the correct place to ask for help with this!

I am trying to get an application called Zoho Phonebridge working. Currently, making outgoing calls from the Zoho CRM are working just fine. However, one of the features of this phone bridge is a popup web browser notification when an incoming call comes in that has the same inbound CID as a ‘record’ in the CRM.

I am getting these error messages (I have replaced phone numbers with’xxxxxxxxx’:

SEVERE: Unable to set property 'rtt' to '0.1570' on org.asteriskjava.manager.event.RtcpReceivedEvent
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.asteriskjava.manager.internal.AbstractBuilder.setAttributes(AbstractBuilder.java:122)
        at org.asteriskjava.manager.internal.EventBuilderImpl.buildEvent(EventBuilderImpl.java:282)
        at org.asteriskjava.manager.internal.ManagerReaderImpl.buildEvent(ManagerReaderImpl.java:341)
        at org.asteriskjava.manager.internal.ManagerReaderImpl.run(ManagerReaderImpl.java:217)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NumberFormatException: For input string: "0.1570"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Long.parseLong(Long.java:589)
        at java.lang.Long.parseLong(Long.java:631)
        at org.asteriskjava.manager.event.AbstractRtcpEvent.secStringToLong(AbstractRtcpEvent.java:101)
        at org.asteriskjava.manager.event.RtcpReceivedEvent.setRtt(RtcpReceivedEvent.java:202)
        ... 9 more

Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'sentoctets' to '2390080' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0iajitter' to '0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'to' to '[::1]:0' on org.asteriskjava.manager.event.RtcpReceivedEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'linkedid' to '1459787394.5661' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0lsr' to '0' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'calleridname' to 'CH:FRESNO CA' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'pt' to '200(SR)' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'channel' to 'SIP/cbeyond-in-0000112b' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'language' to 'en' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0sourcessrc' to '0x76f10def' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'exten' to 's' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0dlsr' to '0.0000' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'calleridnum' to 'xxxxxxxxxx' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'context' to 'macro-dial' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'from' to '[::1]:0' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'connectedlinenum' to '304' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'uniqueid' to '1459787394.5661' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'channelstatedesc' to 'Up' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'reportcount' to '1' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0cumulativelost' to '0' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0sequencenumbercycles' to '1' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'ssrc' to '0x1d8bebbb' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'connectedlinename' to 'Joe' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'priority' to '17' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0highestsequence' to '16009' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'channelstate' to '6' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0fractionlost' to '0' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ
Apr 04, 2016 10:36:11 AM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property 'report0iajitter' to '1' on org.asteriskjava.manager.event.RtcpSentEvent: no setter. Please report at http://jira.reucon.org/browse/AJ

This forum is for help with the FreePBX project. You may randomly find help here for 3rd party issues but you are more likely to be disappointed. It is always best to use the official channels for whatever project you are having issues with. I will point out that every error line above seems to have a URL in it. That may be a good place to start.

Yes, thank you. I initially tried to report the case over there but I cannot figure out how to. They say to request an account from the administrators and I can’t figure out how I do that.

Thanks, I will keep attempting to get in touch with them

Hi choiceit,
I have the exact same issue and Im getting crazy for a solution.
Did you get it resolved?
THX

Are you having the Zoho phone CRM pop-up problem, or the AsteriskJava problem?

The one should be resolved through Zoho and the other, well, … I don’t know if anyone has ever gotten hold of the AsteriskJava guys.

I think the window pup up is related with the Java.
When I make a call with a phone the web window comes but I cant answer or make a call from web (the call is registered as a missed with 0 mins in the Zoho reports ).
If helps here is a bit of the logs

This is the initial connection of the Zoho adapter (running in the same box):

Sep 4, 2018 8:31:18 PM com.adventnet.wms.servercommon.taskengine.TaskManager initialize
INFO: Task Manager intialized {tele=Task Engine : tele - 500 - 2, zoho=Task Engine : zoho - 500 - 2}
Sep 4, 2018 8:31:22 PM elastix16.com.zohocorp.zoho.ztiimpl.ZTIElastix16Impl$AsteriskEvents
INFO: Elastix 1.6 - ASTERISK SERVER==>127.0.0.1, USERNAME==>XXXX, password==>XXXX
Sep 4, 2018 8:31:22 PM elastix16.com.zohocorp.zoho.ztiimpl.ZTIElastix16Impl$AsteriskEvents run
INFO: AsteriskEvents run …
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.ManagerConnectionImpl connect
INFO: Connecting to 127.0.0.1:5038
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.ManagerConnectionImpl setProtocolIdentifier
INFO: Connected via Asterisk Call Manager/1.1
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin
INFO: Successfully logged in
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin
INFO: Determined Asterisk version: Asterisk 1.6
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.EventBuilderImpl buildEvent
INFO: No event class registered for event type ‘fullybooted’, attributes: {status=Fully Booted, event=FullyBooted, privilege=system,all}. Please report at ttp:/jira.reucon.org/browse/AJ
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property ‘connectedlinename’ to ‘89123456’ on org.asteriskjava.manager.event.StatusEvent: no setter. Please report at ttp:/jira.reucon.org/browse/AJ
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property ‘connectedlinenum’ to ‘89123456’ on org.asteriskjava.manager.event.StatusEvent: no setter. Please report at ttp:/jira.reucon.org/browse/AJ
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property ‘connectedlinename’ to ‘device’ on org.asteriskjava.manager.event.StatusEvent: no setter. Please report at ttp:/jira.reucon.org/browse/AJ
Sep 4, 2018 8:31:22 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property ‘connectedlinenum’ to ‘506’ on org.asteriskjava.manager.event.StatusEvent: no setter. Please report at ttp:/jira.reucon.org/browse/AJ
Sep 4, 2018 8:31:22 PM org.asteriskjava.live.internal.ChannelManager handleStatusEvent
INFO: Adding new channel SIP/506-00000001
Sep 4, 2018 8:31:22 PM org.asteriskjava.live.internal.ChannelManager handleStatusEvent

This is when a call comes from outside Phisilca/softphone

Sep 4, 2018 11:12:15 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property ‘connectedlinename’ to ‘89123456’ on org.asteriskjava.manager.event.HangupEvent: no setter. Please report at ttp:/jira.reucon.org/browse/AJ
Sep 4, 2018 11:12:15 PM org.asteriskjava.manager.internal.AbstractBuilder setAttributes
WARNING: Unable to set property ‘connectedlinenum’ to ‘89123456’ on org.asteriskjava.manager.event.HangupEvent: no setter. Please report at ttp:/jira.reucon.org/browse/AJ
Sep 4, 2018 11:12:15 PM elastix16.com.zohocorp.zoho.ztiimpl.ZTIElastix16Impl$AsteriskEvents propertyChange
INFO: propertyChangeEvent :–> java.beans.PropertyChangeEvent[source=AsteriskChannel[id=‘1536124182.16’,name=‘SIP/506-00000010’,callerId=’“device” <506>’,state=‘HUNGUP’,account=‘null’,dateOfCreation=Tue Sep 04 23:09:42 CST 2018,dialedChannel=null,dialingChannel=AsteriskChannel[id=‘1536124174.15’,name=‘SIP/icesip-0000000f’],linkedChannel=null]]
Sep 4, 2018 11:12:15 PM elastix16.com.zohocorp.zoho.ztiimpl.ZTIElastix16Impl$AsteriskEvents propertyChange
INFO: Dialing Channel=AsteriskChannel[id=‘1536124174.15’,name=‘SIP/icesip-0000000f’,callerId=’“89123456” <89123456>’,state=‘UP’,account=‘null’,dateOfCreation=Tue Sep 04 23:09:34 CST 2018,dialedChannel=AsteriskChannel[id=‘1536124182.16’,name=‘SIP/506-00000010’],dialingChannel=null,linkedChannel=null]
Sep 4, 2018 11:12:15 PM elastix16.com.zohocorp.zoho.ztiimpl.ZTIElastix16Impl$AsteriskEvents propertyChange
INFO: Dialed Channel=null
Sep 4, 2018 11:12:15 PM elastix16.com.zohocorp.zoho.ztiimpl.ZTIElastix16Impl$AsteriskEvents propertyChange
INFO: extNumber : 506 chStat :HUNGUP<–
Sep 4, 2018 11:12:15 PM elastix16.com.zohocorp.zoho.ztiimpl.ZTIElastix16Impl$AsteriskEvents propertyChange
INFO: ====================================================================================== Process Done.

Thx

The problem you are going to see, and continue to see, is that Zoho hasn’t updated the “public” version of their Zoho interface in about 10 years. I went through this with another customer and he had to basically beat Zoho to death to get it working.

You need to route this to Zoho and have them fix it. There’s no excuse for them continuing to use software that’s this old - there have been about major 8 version upgrades to Asterisk since they first published their software.

Finally, the SangomaCRM stuff is worth looking at. I don’t know if they ever set up a way to connect for Zoho, but check it out and let us know if it fits your needs.