Reg : Music On Hold not working

Any and all non-support discussions

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

Reg : Music On Hold not working

Postby palani.sivagurunathan » Fri Mar 26, 2021 5:47 am

Hello,

Below the my vicidial server configuration .

Vicidial Version : 2.13-576a Build : 161126-2138
Asterisk : 11.25.3
Libpri : 1.4.12
Dahdi : 2.10.2

Server Platform : Single Processor Dedicated Server
Processor : Intel® Xeon® Processor E5-2630, v3 20M Cache, 2.40 GHz, Octo Core QTY: 1
OS : CentOS7
Drive Selection, Set 2: HP 600GB 12G SAS

I installed asterisk/vicidial on this server . when i create MOH in vicidial , the folder is not creating to /var/lib/asterisk location.

musiconhold.conf configuration

[default]
;[old-default]
mode=files
;directory=/var/lib/asterisk/mohmp3
directory=/var/lib/asterisk
random=yes

[quiet]
;[old-quiet]
mode=files
;directory=/var/lib/asterisk/quiet-mp3
directory=/var/lib/asterisk
i enabled and disabled all the option . But folder is not creating inside the /var/lib/asterisk location.

But musiconhold-vicidial.conf having the details , which is i created the MOH file name .
[palanivel]
mode=files
directory=/var/lib/asterisk/palanivel
sort=alpha

Kindly help me on this issue .

Thanks,
Palanivel S
palani.sivagurunathan
 
Posts: 97
Joined: Tue Apr 13, 2010 9:13 am

Re: Reg : Music On Hold not working

Postby carpenox » Sun Mar 28, 2021 9:53 am

show me the asterisk log when it tries to find it. are the folders actually there? if not why not create them? mkdir directroryname
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: Reg : Music On Hold not working

Postby palani.sivagurunathan » Mon Mar 29, 2021 5:11 am

Hello,

Below the asterisk log . Folder is not creating automatically . But i created manually , after that not working .


[Mar 29 06:07:30] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Mar 29 06:07:30] -- AGI Script Executing Application: (Monitor) Options: (wav,/var/spool/asterisk/monitor/MIX/20210329060730_5128135782_5102)
[Mar 29 06:07:30] -- <SIP/5102-00000002>AGI Script agi-DID_route.agi completed, returning 0
[Mar 29 06:07:30] -- Executing [99909*4027***DID@default:1] Answer("SIP/5102-00000002", "") in new stack
[Mar 29 06:07:30] -- Executing [99909*4027***DID@default:2] AGI("SIP/5102-00000002", "agi-VDAD_ALL_inbound.agi") in new stack
[Mar 29 06:07:30] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Mar 29 06:07:30] -- <SIP/5102-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar 29 06:07:30] -- <SIP/5102-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar 29 06:07:32] WARNING[20019][C-00003213]: res_musiconhold.c:899 _get_mohbyname: Music on Hold class 'palanivel' not found in memory. Verify your configuration.
[Mar 29 06:07:32] -- Started music on hold, class 'default', on SIP/5102-00000002
[Mar 29 06:07:35] -- Stopped music on hold on SIP/5102-00000002
[Mar 29 06:07:35] -- <SIP/5102-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar 29 06:07:35] -- <SIP/5102-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar 29 06:07:35] -- <SIP/5102-00000002> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar 29 06:07:35] -- <SIP/5102-00000002> Playing 'generic_hold.gsm' (escape_digits=) (sample_offset 0) (language 'en')

Please help me on this

Thanks
Palanivel S
palani.sivagurunathan
 
Posts: 97
Joined: Tue Apr 13, 2010 9:13 am

Re: Reg : Music On Hold not working

Postby Kabis » Sun Apr 11, 2021 1:44 am

Hi PalaniVel,

Did you include the musiconhold-vicidial.conf in musiconhold.conf file.

Means, Can you find the following link in musiconhold.conf file

#include musiconhold-vicdial.conf
We are ready to help you,
Regards,
KABIS,
Email ID: kabisforu@gmail.com
Website: www.kabis.org.in
Skype: kabisforu
Kabis
 
Posts: 98
Joined: Sat Nov 03, 2018 12:08 am
Location: India


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 52 guests