Music on hold not playing

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Music on hold not playing

Postby JCSANHUEZA » Sun Sep 16, 2012 2:58 pm

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!!!!!
ViciBox 3.1.15
Vicidial 2.4.357a
Asterisk 1.4.39.2-vici
Single Server
No Sangoma Hardware
HP ProLiant ML350p Gen8
Manager and agent book paid version
JCSANHUEZA
 
Posts: 26
Joined: Tue Jul 03, 2012 3:16 pm

Re: Music on hold not playing

Postby DomeDan » Mon Sep 17, 2012 3:04 am

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"
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: Music on hold not playing

Postby JCSANHUEZA » Mon Sep 17, 2012 6:58 am

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.....
ViciBox 3.1.15
Vicidial 2.4.357a
Asterisk 1.4.39.2-vici
Single Server
No Sangoma Hardware
HP ProLiant ML350p Gen8
Manager and agent book paid version
JCSANHUEZA
 
Posts: 26
Joined: Tue Jul 03, 2012 3:16 pm

Re: Music on hold not playing

Postby DomeDan » Mon Sep 17, 2012 7:39 am

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.
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden


Return to Support

Who is online

Users browsing this forum: No registered users and 92 guests