I’m using Asterisk 1.2.14 and installed AsteriskVXI 1.4 which comes with free one port license. When i start asterisk, it gets stopped at the point where it loads the vxml app module called app_vxml.so … and gives an error message saying “Bad Video Codec”
Also, if you are using safe_asterisk to start Asterisk, it will run any script (.sh) that is in the /etc/asterisk/startup.d directory before it actually starts Asterisk. The VXI voice browser needs to be started before Asterisk is started so just create a simple shell script to start VXI* and place it in there.
I also created /etc/asterisk/shutdown.d directory and modified safe_asterisk to execute any script in that directory upon a normal shutdown. I then created a simple shell script to stop VXI* and placed it in there.
The shell scripts are extremely basic so here is the code.
/etc/asterisk/startup.d/start_openvxi.sh
if [ -x /etc/init.d/openvxi ]; then
/etc/init.d/openvxi start
fi
/etc/asterisk/shutdown.d/stop_openvxi.sh
if [ -x /etc/init.d/openvxi ]; then
/etc/init.d/openvxi stop
fi