Customize music on hold not working

virbhati

Joined
Apr 7, 2011
Messages
7
Likes
0
Points
0
#1
I have upload wav files in /var/lib/asterisk/moh/ but MOH not playing. Even default MOH not playing. please help me .... :( :( :(

All thing has been done from my side like but no success yet ...
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#2
And the audio files that ou have uploaded has the correct format that asterisk knows to read? os the owner of the files asterisk? Have you execute from CLI moh reload? Whta does the CLI output says? What Elastix versino do you have?
 

virbhati

Joined
Apr 7, 2011
Messages
7
Likes
0
Points
0
#3
Thanks for fast reply.

The owner of file is asterisk. And it up to asterisk required format. and socking thing is It's working with asterisk 1.4 vanilla without any issue.


Yes i reload asterisk server after changes into musiconhold.conf

I don't know Elastix version.

CLI output is:-

[Apr 8 02:37:14] VERBOSE[27565] netsock.c: == Using SIP RTP TOS bits 184
[Apr 8 02:37:14] VERBOSE[27565] netsock.c: == Using SIP RTP CoS mark 5
[Apr 8 02:37:14] VERBOSE[27696] pbx.c: -- Executing [6000@bhati:1] Answer("SIP/1001-00000002", "") in new stack
[Apr 8 02:37:14] VERBOSE[27696] pbx.c: -- Executing [6000@bhati:2] Set("SIP/1001-00000002", "CHANNEL(musicclass)=BSNL") in new stack
[Apr 8 02:37:14] VERBOSE[27696] pbx.c: -- Executing [6000@bhati:3] Set("SIP/1001-00000002", "foo=BSNL") in new stack
[Apr 8 02:37:14] VERBOSE[27696] pbx.c: -- Executing [6000@bhati:4] MusicOnHold("SIP/1001-00000002", "BSNL") in new stack
[Apr 8 02:37:14] VERBOSE[27696] res_musiconhold.c: -- Started music on hold, class 'BSNL', on SIP/1001-00000002
[Apr 8 02:37:29] WARNING[27565] chan_sip.c: Maximum retries exceeded on transmission NDkwMjM0MjI0NmY4NjJkMDAyMzJjOGUxNjNlZjc4YWY. for seqno 2 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
[Apr 8 02:37:29] WARNING[27565] chan_sip.c: Hanging up call NDkwMjM0MjI0NmY4NjJkMDAyMzJjOGUxNjNlZjc4YWY. - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/ ... nsmissions ).
[Apr 8 02:37:29] VERBOSE[27696] res_musiconhold.c: -- Stopped music on hold on SIP/1001-00000002
[Apr 8 02:37:29] VERBOSE[27696] pbx.c: == Spawn extension (bhati, 6000, 4) exited non-zero on 'SIP/1001-00000002'
[Apr 8 02:37:52] NOTICE[27580] chan_iax2.c: Restricting registration for peer '1002' to 60 seconds (requested 300)
[Apr 8 02:38:47] NOTICE[27578] chan_iax2.c: Restricting registration for peer '1002' to 60 seconds (requested 300)
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#4
Try the following:
1. yum update elastix -y
2. yum update elastix-* -y
3. Click on your MOH category, click on the submit button, click on apply configuration bar
4. Dial into your queue, and check if it plays back
 

virbhati

Joined
Apr 7, 2011
Messages
7
Likes
0
Points
0
#5
I have update elastix and recommended packages as per your suggestion. But no improvement yet. Even asterisk 'default MOH' not working. Please suggest me any other thing
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#6
try with another mp3 file...
 

virbhati

Joined
Apr 7, 2011
Messages
7
Likes
0
Points
0
#7
I am using wav files not mp3 this time..

Even asterisk 'default' MOH is not playing.

After updating Elastix SOX problem is solve but MOH issue still alive....
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top