Re: [Asterisk-java-devel] Asterisk user event problem
Brought to you by:
srt
From: Mircea P. <mir...@ya...> - 2006-07-14 10:52:21
|
I am a little confused right now. In the javadoc I read that name of the Event is constructed by appending "Event". So, what should I call my event class? What name shouls I give it in the case I chose to extend ManagerEvent or in the case of UserEvent? And how am I supposed to name the event in the C file of asterisk? Currently it's: manager_event(EVENT_FLAG_USER, "Reply", "Channel: %s\r\nUniqueId: %s\r\nTransactionId: %s\r\n", chan->name, chan->uniqueid, transactionId); The event is sent by asterisk towards java, but I always get that error I told you about. So far the problem seems to be that EventBuilderImpl.java:262 doesn't know what class should instantiate for this event. --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. |