Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: compsos on July 01, 2010, 03:29:58 PM
-
Hi Jeff
A little confused over the correct location of the greeting files. They use to be in
/var/lib/asterisk/sounds/usergreeting*
But now in
/usr/share/asterisk/sounds/usergreeting*
But in 2.5-10 they are not listing in the Greetings panel. Is it the confusion of their location causing the issue? Even have a system where the greetings are working but can not manage from the web page (ie) Empty selection and even the IVR page does not show the Greeting but it works.
How can we get the web page back on track?
-
It isn't a sail problem. Digium changed the directory structure in Asterisk 1.4.29. They moved everything from /var/lib to /usr/share.
It is documented in the wiki here
http://sarkpbx.com/twiki/bin/view/Main/DocReleaseStatus
2.5.10 should pick up greetings in /usr/share/asterisk/sounds provided you are running Asterisk 1.4.29 or higher.
If it doesn't then its a bug.
Kind Regards
S
-
OK It may be a bug
Software
asterisk14-1.4.31-91.el5
asterisk-core-sounds-en-gsm-1.4.19-61
asterisk-moh-opsound-wav-2.03-56
sail-2.5.1-10
dahdi-linux-2.3.0-68.el5
dahdi-tools-2.3.0-66.el5
dahdi-linux-kmdl-2.6.18-194.3.1.el5PAE-2.3.0-68.el5
Location of greetings
/usr/share/asterisk/sounds/
The greetings were created using an ext via *60* and are located where created. So asterisk knows how to created the file. It would appear the web page just does not display them.
"Theer are no greetings recorded on the system"
Is this a clue
"/bin/ls: /usr/shr/asterisk/sounds: No such file or directory, referer: https://server/server-manager/navigation (https://server/server-manager/navigation)"
Possible typo?
Line 163 of sarkgreeting
is
my @Greeting = `/bin/ls /usr/shr/asterisk/sounds | /bin/grep usergreeting`;
Should be
my @Greeting = `/bin/ls /usr/share/asterisk/sounds | /bin/grep usergreeting`;
Also the IVR panel does not show
Currently sarkivrmenu file is
my @Greeting = `/bin/ls /var/lib/asterisk/sounds | /bin/grep usergreeting`;
Change to
my @Greeting = `/bin/ls /usr/share/asterisk/sounds | /bin/grep usergreeting`;
It now works at loading greetings and building IVRs but the console shows no sign of picking up the message. It eventually timeout with
-- AGI Script Executing Application: (Dial) Options: (Local/500||)
[Jul 2 07:19:50] NOTICE[4675]: chan_local.c:495 local_call: No such extension/context 500@default while calling Local channel
-- Couldn't call 500
== Everyone is busy/congested at this time (0:0/0/0)
Going back into the IVR menu after saving the settings, it has dropped all references in the main menu to submenus but retained links to ext numbers. Any ideas?
-
Thanks Gordon
Excellent diagnosis
2.5.1-14 has just gone up on the website for you and should fix these issues.
Kind Regards
Jeff
-
Thanks Jeff
Confirmed on 2 systems and is working with multi level menus.
-
sweet :)
Best
Jeff