FreePBX 11 and OpenVXI

Hi,

I would like to install OpenVXI on my freePBX server.

I have downloaded and unzipped the X64 version available here:
downloads.i6net.com/vxi/centos/vxml_V10.0_2014-04-25_518_x86-64_centos-6.4.tar.gz

I have run the “install.sh” script which outputs:

Current Asterisk : '11.10.2.'
Module found: app_vxml.so.asterisk_v11.8.1
Asterisk 11.10.2 installed.
--- VXIasterisk V10.0 Installation ---
Creating directories...
Installing binaries...
Installing configuration files...
Installing libraries...
Installing app vxml for asterisk 11...
Installing sounds...
Installing grammars...
--- VXIasterisk V10.0 installation has finished ---

OpenVXI is up and running:

~]# /etc/init.d/openvxi status
openvxi (pid 1390) en cours d'exécution...

~]# ps aux | grep open
root      1386  0.0  0.0 108436  1096 ?        S    19:58   0:00 /bin/sh /etc/rc3.d/S70openvxi start
root      1388  0.0  0.0 108164  1412 ?        S    19:58   0:00 /bin/bash -c ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/openvxi -config /etc/openvxi/client.cfg -mute
root      1390  0.0  1.5 3344256 44012 ?       Sl   19:58   0:00 /usr/sbin/openvxi -config /etc/openvxi/client.cfg -mute

But when I go to the asterisk CLI, I don’t have access to VXML command:

localhost*CLI> vxml
No such command 'vxml' (type 'core show help vxml' for other possible commands)

I have restarted asterisk and the entire server but it doesn’t change.

Any hints ?

Do you read http://www.i6net.com/wp-content/uploads/downloads/2013/06/I6NET-VXI-installation-guide-VXI-en-2013-04-draft.pdf ?

*CLI> help vxml

Thank you for your reply.
I do have read the doc, and every command related to VXML in asterisk CLI fails:

asterisk -r
Asterisk 11.10.2, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.10.2 currently running on localhost (pid = 1988)
localhost*CLI> help vxml
No such command 'help vxml' (type 'core show help help vxml' for other possible commands)
localhost*CLI> vxml show license
No such command 'vxml show license' (type 'core show help vxml show' for other possible commands)
localhost*CLI> show application vxml
No such command 'show application vxml' (type 'core show help show application' for other possible commands)
localhost*CLI> core show application vxml
Your application(s) is (are) not registered
Command 'core show application vxml' failed.

Regards

Short answer is you did something wrong. Time to crack open “install.sh” and see what it does…

Also look in the full log to see if it may be failing to load.

It is a fresh install of FreePBX, here are the logs about “error” on a reboot of asterisk:

grep -i error /var/log/asterisk/full
[2014-08-04 17:54:33] ERROR[7393] pbx.c: You have to be kidding-- add exten '' to context app-blacklist? Figure out a name and call me back. Action ignored.
[2014-08-04 17:54:33] ERROR[7393] config_options.c: Unable to load config file 'acl.conf'
[2014-08-04 17:54:33] ERROR[7393] config_options.c: Unable to load config file 'xmpp.conf'
[2014-08-04 17:54:33] ERROR[7393] res_calendar.c: Unable to load config calendar.conf
[2014-08-04 17:54:33] ERROR[7393] pbx_lua.c: Error loading extensions.lua: cannot open '/etc/asterisk/extensions.lua' for reading: No such file or directory
[2014-08-04 17:54:33] ERROR[7393] res_config_sqlite3.c: Missing config file 'res_config_sqlite3.conf'
[2014-08-04 17:54:33] ERROR[7393] res_config_ldap.c: Cannot load configuration file: res_ldap.conf
[2014-08-04 17:54:33] ERROR[7393] res_config_ldap.c: Cannot load LDAP RealTime driver.
[2014-08-04 17:54:33] ERROR[7393] res_config_sqlite.c: Unable to load res_config_sqlite.conf
[2014-08-04 17:54:33] ERROR[7393] phone_users.c: accept_outofcall_messages must be enabled in sip.conf for res_digium_phone to function properly
[2014-08-04 17:54:33] ERROR[7393] chan_mobile.c: No Bluetooth devices found. Not loading module.
[2014-08-04 17:54:33] WARNING[7393] chan_iax2.c: Error opening firmware directory '/var/lib/asterisk/firmware/iax': No such file or directory
[2014-08-04 17:54:33] ERROR[7393] config_options.c: Unable to load config file 'motif.conf'
[2014-08-04 17:54:33] ERROR[7393] chan_motif.c: Unable to read config file motif.conf. Not loading module.
[2014-08-04 17:54:33] ERROR[7393] cel_custom.c: Unable to load cel_custom.conf. Not logging CEL to custom CSVs.
[2014-08-04 17:54:33] ERROR[7393] cdr_syslog.c: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2014-08-04 17:54:33] ERROR[7393] cdr_custom.c: Unable to load cdr_custom.conf. Not logging custom CSV CDRs.
[2014-08-04 17:54:33] ERROR[7393] chan_unistim.c: Unable to load config unistim.conf
[2014-08-04 17:54:33] ERROR[7393] pbx_dundi.c: Unable to load config dundi.conf
[2014-08-04 17:54:34] ERROR[7393] app_amd.c: Configuration file amd.conf missing.
[2014-08-04 17:54:34] ERROR[7393] res_clialiases.c: res_clialiases configuration file 'cli_aliases.conf' not found

Nothing related to OpenVXI:
grep -i vxi /var/log/asterisk/full ==> nothing
grep -i vxml /var/log/asterisk/full ==> nothing

I can’t see where I did the mistake…

OOOOOOOOOOOOOOKAAAAY

I just pulled this down to look at it and

Ok so what they are doing should be illegal in 56 states and 90001 countries.

You should NEVER just slap compiled binaries in like you own the place EVER

After seeing what they do I would simply assume Asterisk is now broken…

2 Likes