Thread: [Asterisk-java-users] Errors in management api
Brought to you by:
srt
From: Jeremy S. <je...@ph...> - 2013-02-25 12:01:07
|
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 |
From: Yves A. <yv...@gm...> - 2013-02-25 12:06:34
|
maybe you´re using an outdated version of asterisk-java? y. Am 25.02.2013 13:01, schrieb Jeremy Schaeffer: > 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 > |
From: Jeremy S. <je...@ph...> - 2013-02-26 02:19:05
|
I was using 1.0.0.CI, it gave even more errors and I was having issues with it disconnecting and reconnecting constantly (and missing information while it was doing so) so I downgraded to 0.3.1, site said it was the latest stable version. I am using Asterisk 10. This looks to be something about using ODBC, and I am using ODBC to look up and insert information into a mysql database in the extensions.conf file. Thanks for the reply!- Jeremy On 2/25/2013 06:06, Yves A. wrote: > maybe you´re using an outdated version of asterisk-java? > y. > > Am 25.02.2013 13:01, schrieb Jeremy Schaeffer: >> 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 >> > > ------------------------------------------------------------------------------ > 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 > |
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 > |