[Asterisk-java-users] Asterisk-Java application fails after upgrade from 1.2 to 1.4
Brought to you by:
srt
From: Lucas B. <lu...@st...> - 2007-01-04 02:29:43
|
Hi, Not an experienced developer, so I might have provided all the relevant detail but hoping somebody might have had a similar experience. Running a J2EE app that communicates with Asterisk via the Asterisk- Java API 0.3-m1. After upgrading Asterisk from 1.2 to 1.4, the application now fails in parts with errors from the EventBuildImpl class such as: 12:27:54,688 ERROR [EventBuilderImpl] Unable to set property 'channeldriver' on class org.asteriskjava.manager.event.RegistryEvent: no setter And 12:27:47,679 ERROR [EventBuilderImpl] Unable to set property 'calleridnum' on class org.asteriskjava.manager.event.NewChannelEvent: no setter And 11:36:33,969 INFO [EventBuilderImpl] No event class registered for event type 'channelreload', attributes: {privilege=system,all, peer_count=39, registry_count=16, event=ChannelReload, user_count=34, channel=SIP, reloadreason=CLIRELOAD (Channel module reload by CLI command)} Seems the system times out waiting for a response to commands sent: 11:40:15,852 ERROR [STDERR] org.asteriskjava.live.ManagerCommunicationException: Timeout waiting for events from OriginateAction ... which I hadn't seen before the upgrade. Some other communications seem to work as expected such as retrieving a list of known agents. Can anyone suggest what might be the problem? Might a recent SNAPSHOT build resolve these problems? I can provide full log excerpts if that will be helpful. Thanks, -- Lucas |