Page 1 of 1

ADMIN_audio_store_sync.pl

PostPosted: Tue Aug 27, 2024 2:54 pm
by speedmaker
Hello i just upload all files into

usr/share/asterisk/sounds/

and after

dialer:~ # /usr/share/astguiclient/ADMIN_audio_store_sync.pl –debugX
/var/lib/asterisk/sounds/: Is a directory
dialer:~ #

is this an old script ?

thx speed

Re: ADMIN_audio_store_sync.pl

PostPosted: Thu Aug 29, 2024 8:49 pm
by carpenox
its still a script that is used

are you using the trigger with --debugX because -debugX wont work

Re: ADMIN_audio_store_sync.pl

PostPosted: Mon Sep 23, 2024 9:31 pm
by williamconley
speedmaker wrote:Hello i just upload all files into

usr/share/asterisk/sounds/

In most installs, this is an alias of /var/lib/asterisk/sounds/

Code: Select all
PT374:~ # ll /var/lib/asterisk/
lrwxrwxrwx 1 root root    26 Aug  4 15:51 sounds -> /usr/share/asterisk/sounds


speedmaker wrote:dialer:~ # /usr/share/astguiclient/ADMIN_audio_store_sync.pl –debugX
/var/lib/asterisk/sounds/: Is a directory
dialer:~ #


This is normal output. The sync process tries to copy "everything", including the root folder. The OS gets mad because the root folder is a folder and tosses that notification.

Code: Select all
 –debugX

Single - fails here. Needs double. Also: This script has no --debugX, only --debug. Oddly: Neither --debugX nor --debug presents any output on either of the machines I tested. (except that "is a directory" normal output: no debug output). Nor did the --help switch generate the help text. Odd.