[Voiceglue] Installing without asterisk
Doug Campbell
voiceglue at campbellcastle.com
Mon May 17 21:03:48 UTC 2010
> As a test we wanted to install Voiceglue on hardware separate to
> Asterisk which, according to the wiki, should be possible.
>
> We get this far:
>
> Cannot determine asterisk sounds directory at ./voiceglue_init_config
> line 71.
> make: *** [install] Error 2
> Failed running "make install" in "voiceglue": No such file or directory
> at doc/install-voiceglue line 398.
>
> That doesn't look hopeful.
It's actually not hard to fix this. It's just undocumented.
The first thing you need to understand about running them separately is
that voiceglue needs access to asterisk's sounds directory. So, first
step is to set this up via some form of SMB/NFS/sshfs or whatever.
Then, voiceglue needs to be able to figure out where this directory is
when it starts up. Currently the algorithm (which is used by the
installer as well) is to first see if it's specified in the
/etc/asterisk/asterisk.conf file. If it's not specified there,
it looks for the standard locations /var/lib/asterisk/sounds and
/usr/share/asterisk/sounds.
I suspect the easiest solution is to create an /etc/asterisk/asterisk.conf
file that points to the shared asterisk sound directory.
> I'm also somewhat puzzled by the suggestion that the (separate) VG
> machine should have an Asterisk account who's UID/GID is the same as
> that on the "real" Asterisk machine. Can you enlighten me to the reason...
The asterisk account requirement is to make sure permissions work
across the SMB/NFS/sshfs or whatever shared filesystem. That's why
the UID/GID are supposed to match, in case you're using NFS.
Doug Campbell
More information about the Voiceglue
mailing list