Hi everyone,
I’m trying to use the Asterisk binding with openHAB but I run into some problems.
I’m using openHABian with openHAB 2.1.0-1.
I installed the following binding org.openhab.binding.asterisk-1.11.0-SNAPSHOT.jar and added the asterisk.cfg with the right connection parameters.
I also configured the acces into Asterisk’s manager.conf file.
In openHAB I get the following errors when I save the asterisk.cfg file:
2017-10-01 21:15:20.025 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.cm.ManagedService, id=309, bundle=190/file:/usr/share/openhab2/addons/org.openhab.binding.asterisk-1.11.0-SNAPSHOT.jar]: Unexpected problem updating configuration org.openhab.asterisk
java.lang.IllegalStateException: Logoff may only be perfomed when in state CONNECTED or RECONNECTING, but connection is in state DISCONNECTED
at org.asteriskjava.manager.internal.ManagerConnectionImpl.logoff(ManagerConnectionImpl.java:784)[190:org.openhab.binding.asterisk:1.11.0.201709280110]
at org.asteriskjava.manager.DefaultManagerConnection.logoff(DefaultManagerConnection.java:305)[190:org.openhab.binding.asterisk:1.11.0.201709280110]
at org.openhab.binding.asterisk.internal.AsteriskBinding.disconnect(AsteriskBinding.java:130)[190:org.openhab.binding.asterisk:1.11.0.201709280110]
at org.openhab.binding.asterisk.internal.AsteriskBinding.updated(AsteriskBinding.java:78)[190:org.openhab.binding.asterisk:1.11.0.201709280110]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1772)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Looks like Asterisk binding is not in Openhab2 standard addons. Is it still supported?
If yes, does someone have an idea what’s going wrong in my configuration?
Thanks