Skip to main content

Asterisk RA Problems?? Ok. Resolved!!!

4 replies [Last post]
joncmuniz
Offline
Joined: 2007-10-29
Points: 0

I had installed Asterisk Ra.
Configured the asterisk.properties
Started the Jboss run.sh -c all -b myip

Configured the Asterisk manager conf

[general]
enabled = yes
webenabled = yes
port = 5038
bindaddr = 0.0.0.0

[manager]
secret = manager
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config

When happens a action, like a call from user xxx to user yyy
there is a error:
INFO [STDOUT] 14:07:23,663 ERROR [EventBuilderImpl] Unable to set property 'privilege' on class net.sf.asterisk.manager.event.NewChannelEvent: no setter

INFO [STDOUT] 14:07:23,679 ERROR [EventBuilderImpl] Unable to set property 'calleridnum' on class net.sf.asterisk.manager.event.NewChannelEvent: no setter

INFO [STDOUT] 14:07:23,679 INFO [AsteriskResourceAdaptor] Event Handler: net.sf.asterisk.manager.event.NewChannelEvent: dateReceived=Wed Apr 09 14:07:23 GMT-03:00 2008; systemHashcode=30506753

INFO [STDOUT] 14:07:23,741 INFO [AsteriskResourceAdaptor] Event Handler: net.sf.asterisk.manager.event.DisconnectEvent: dateReceived=Wed Apr 09 14:07:23 GMT-03:00 2008; systemHashcode=15170724

ERROR [STDERR] Exception in thread "ManagerReaderThread"

ERROR [STDERR] java.lang.IllegalAccessError: tried to access method
org.mobicents.slee.resource.asterisk.AsteriskManagerMessage.(Ljava/lang/Object;Ljava/lang/Object;)V
from class org.mobicents.slee.resource.asterisk.AsteriskResourceAdaptor

ERROR [STDERR] at org.mobicents.slee.resource.asterisk.AsteriskResourceAdaptor.processEvent(Unknown Source)

ERROR [STDERR] at org.mobicents.slee.resource.asterisk.AsteriskResourceAdaptor.handleEvent(Unknown Source)

ERROR [STDERR] at net.sf.asterisk.manager.DefaultManagerConnection.dispatchEvent(DefaultManagerConnection.java:606)

ERROR [STDERR] at net.sf.asterisk.manager.impl.ManagerReaderImpl.run(ManagerReaderImpl.java:245)

Message was edited by: joncmuniz

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
joncmuniz
Offline
Joined: 2007-10-29
Points: 0

Updated the Mobicents and installed the asteriskra and worked.

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

Fix will be committed soon.

joncmuniz
Offline
Joined: 2007-10-29
Points: 0

So, how can I help?
I want to learn more about the mobicents, like this things that happened, I want to help.
I don't want to be just a simple user!!!!
Where do I start?
What kind of bug is this?
Where can I find references about this bug?

eduardomartins
Offline
Joined: 2005-10-10
Points: 0

We are about to commit Mobicents as a Maven project, and content was checked/fixed so everything is working (sort of, some issues will be open with not so important bugs).

The Asterisk RA was one of the updated components, I will let Michele reply to you about what were the issues in this case.

PS: Great energy for a starter, where do you think you can (and want) contribute and what are your skills? :-)