Page 1 of 1

Music on hold not playing

PostPosted: Sun Sep 16, 2012 2:58 pm
by JCSANHUEZA
I have setup inbound, outbound and blended campaing, Everything works fine except it doesn't play the music on hold file.

Asterisk CLI Say

Code: Select all
[Sep 16 14:51:06]     -- Loading musiconhold files from directory '/var/lib/asterisk/default'
[Sep 16 14:51:06]     -- Skipping file '.'. Filename is too short to have an acceptable extension.
[Sep 16 14:51:06]     -- Skipping file '..'. Filename is too short to have an acceptable extension.
[Sep 16 14:51:06]     -- Adding file '0000_sip-silence.gsm' as '/var/lib/asterisk/default/0000_sip-silence'.
[Sep 16 14:51:06]     -- Adding file '0001_rain-asterisk.wav' as '/var/lib/asterisk/default/0001_rain-asterisk'.
[Sep 16 14:51:06]     -- Adding file '0002_manolo_camp-morning_coffee.gsm' as '/var/lib/asterisk/default/0002_manolo_camp-morning_coffee'.
[Sep 16 14:51:06]     -- Adding file '0003_macroform-the_simplicity.gsm' as '/var/lib/asterisk/default/0003_macroform-the_simplicity'.
[Sep 16 14:51:06]     -- Adding file '0004_macroform-robot_dity.gsm' as '/var/lib/asterisk/default/0004_macroform-robot_dity'.
[Sep 16 14:51:06]     -- Adding file '0005_macroform-cold_day.gsm' as '/var/lib/asterisk/default/0005_macroform-cold_day'.
[Sep 16 14:51:06]     -- Adding file '0006_reno_project-system.gsm' as '/var/lib/asterisk/default/0006_reno_project-system'.
[Sep 16 14:51:07]   == Parsing '/etc/asterisk/manager.conf': [Sep 16 14:51:07] Found
[Sep 16 14:51:07]   == Manager 'sendcron' logged on from 127.0.0.1
[Sep 16 14:51:07]   == Manager 'sendcron' logged off from 127.0.0.1


ls -l /var/lib/asterisk/default
Code: Select all
total 9816
-rw-r--r-- 1 root root      33 Sep 16 12:46 0000_sip-silence.gsm
-rw-r--r-- 1 root root 8172818 Sep 16 12:46 0001_rain-asterisk.wav
-rw-r--r-- 1 root root  120615 Sep 16 14:50 0002_manolo_camp-morning_coffee.gsm
-rw-r--r-- 1 root root  460383 Sep 16 14:51 0003_macroform-the_simplicity.gsm
-rw-r--r-- 1 root root  311421 Sep 16 14:51 0004_macroform-robot_dity.gsm
-rw-r--r-- 1 root root  403062 Sep 16 14:51 0005_macroform-cold_day.gsm
-rw-r--r-- 1 root root  530871 Sep 16 14:51 0006_reno_project-system.gsm


In Campaing

Code: Select all
Park Music-on-Hold:    default


In System Setting

Code: Select all
Central Sound Control Active: 1
Sounds Web Server: 192.168.1.102
Sounds Web Directory:    fp0m20k8xqcjnh77hrrzd2skqtc7pp   


linux:~ # ls -l /srv/www/htdocs/fp0m20k8xqcjnh77hrrzd2skqtc7pp/
Code: Select all
total 9812
-rwxrw-rw- 1 wwwrun www  403062 Sep 16 14:48 macroform-cold_day.gsm
-rwxrw-rw- 1 wwwrun www  311421 Sep 16 14:48 macroform-robot_dity.gsm
-rwxrw-rw- 1 wwwrun www  460383 Sep 16 14:48 macroform-the_simplicity.gsm
-rwxrw-rw- 1 wwwrun www  120615 Sep 16 14:49 manolo_camp-morning_coffee.gsm
-rwxrw-rw- 1 wwwrun www 8172818 Sep 16 12:45 rain-asterisk.wav
-rwxrw-rw- 1 wwwrun www  530871 Sep 16 14:49 reno_project-system.gsm




But..... don't play files..... :(

TORITOOOOOOOOOOOOO!!!!!

Re: Music on hold not playing

PostPosted: Mon Sep 17, 2012 3:04 am
by DomeDan
Does asterisk try to play the files, and if so what does asterisk tell you in the CLI when trying?
what is the file format of the files?
check with the command "file", should be something like "RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz"

Re: Music on hold not playing

PostPosted: Mon Sep 17, 2012 6:58 am
by JCSANHUEZA
DomeDan wrote:Does asterisk try to play the files, and if so what does asterisk tell you in the CLI when trying?
what is the file format of the files?
check with the command "file", should be something like "RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz"


Los archivos son .GSM y . WAV
No hay ninguna respuesta del CLI de Asterisk.....

Re: Music on hold not playing

PostPosted: Mon Sep 17, 2012 7:39 am
by DomeDan
JCSANHUEZA wrote:Los archivos son .GSM y . WAV
No hay ninguna respuesta del CLI de Asterisk.....


Jasså du tok-nesse, då tycker ja vi pratar svenska iställe,
om du inte får någon respons i asterisk CLI så har du allt satt foten i pottan.