Hi,
I deleted all the default files and put one that I know that works on
another Asterisk, but since then, I recompiled Asterisk and the default
files were added.
In order to test moh, I created a context for it:
[default]
exten => 888,1,Goto(moh,s,1)
[moh]
exten => s,1,Answer
exten => s,2,MusicOnHold()
When we dial 888, we hear the music and this appears in the console:
-- Executing [...@default:1] Goto("SIP/24-08650e80", "moh,s,1") in
new stack
-- Goto (moh,s,1)
-- Executing [...@moh:1] Answer("SIP/24-08650e80", "") in new stack
-- Executing [...@moh:2] MusicOnHold("SIP/24-08650e80", "") in new stack
-- Started music on hold, class 'default', on SIP/24-08650e80
-- Stopped music on hold on SIP/24-08650e80
== Spawn extension (moh, s, 2) exited non-zero on 'SIP/24-08650e80'
But, when I just put a call on hold, nothing is played and nothing
appears in the console.
I have no idea why this happens and what to do about it. Any suggestions?
Thanks.
-------- Original Message --------
Subject: Re: [asterisk-users] Music On Hold
From: John A. Sullivan III <[email protected]>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<[email protected]>
Date: Wednesday, 30 September, 2009 15:27:28
> On Wed, 2009-09-30 at 14:57 +0300, Cyprus VoIP wrote:
> <snip>
>> > You see the wav files but do you see the files encoded for the codecs
>> you are using?
>> There's only one wav file there. No encoded files, but on asterisk 1.2
>> we have, it's the same file and it works.
> <snip>
> Hmm . . only one wav file. We had several. As I recall now, we
> actually installed 1.6.1.1 and upgraded. 1.6.1.1 had the old hold
> music. 1.6.1.6 has the new hold music. But I believe there are several
> files. Is that wav file valid, i.e., if you copy it to a system with a
> sound card and play it, does it play? Could it have been corrupted in
> copying or have incorrect permissions? - John
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users