Re: [Asterisk-java-users] Errors in management api
Brought to you by:
srt
From: Miguel S. <m.s...@gm...> - 2013-02-26 08:27:33
|
1 : Perhaps there is a way to set verbose level. I'm not sure about it, but you can try to look up the Api. 2 : Try logging to manager filtering the events. Example : login ("call",...) instead of login(). I think login() without parameters is the same as login ("all") and allow your listener receive all the events Hope it helps. El 25/02/2013 13:02, "Jeremy Schaeffer" <je...@ph...> escribió: > I keep getting these errors all the time and things seem to work, but it > is hard to follow my logging because every action that is done throws them > - > > Feb 24, 2013 10:30:32 AM > org.asteriskjava.manager.internal.EventBuilderImpl buildEvent > INFO: No event class registered for event type 'varset', attributes: > {uniqueid=1361723424.44734, event=VarSet, privilege=dialplan,all, > value=group, variable=~ODBCFIELDS~, channel=SIP/Toshiba-00007af3} > Feb 24, 2013 10:30:32 AM > org.asteriskjava.manager.internal.EventBuilderImpl buildEvent > INFO: No event class registered for event type 'varset', attributes: > {uniqueid=1361723424.44734, event=VarSet, privilege=dialplan,all, > value=1, variable=ODBCROWS, channel=SIP/Toshiba-00007af3} > Feb 24, 2013 10:30:32 AM > org.asteriskjava.manager.internal.EventBuilderImpl buildEvent > INFO: No event class registered for event type 'varset', attributes: > {uniqueid=1361723424.44734, event=VarSet, privilege=dialplan,all, > value=SUCCESS, variable=ODBCSTATUS, channel=SIP/Toshiba-00007af3} > Feb 24, 2013 10:30:32 AM > org.asteriskjava.manager.internal.EventBuilderImpl buildEvent > INFO: No event class registered for event type 'varset', attributes: > {uniqueid=1361723424.44734, event=VarSet, privilege=dialplan,all, > value=COMPLETE, variable=STATUS, channel=SIP/Toshiba-00007af3} > Feb 24, 2013 10:30:32 AM > org.asteriskjava.manager.internal.EventBuilderImpl setAttributes > SEVERE: Unable to set property 'connectedlinename' to '<unknown>' on > org.asteriskjava.manager.event.HangupEvent: no setter > Feb 24, 2013 10:30:32 AM > org.asteriskjava.manager.internal.EventBuilderImpl setAttributes > > It is always complaining about not having a setter or there is no class > registered for a event. Is there a way to either fix the issue or turn > off the logging. Its hard to troubleshoot my own code when I have lines > and lines of this for every event that happens. I can provide more if it > helps. Thanks! - Jeremy > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |