[asterisk-users] Music On Hold

Ioan Indreias indreias at gmail.com
Fri Oct 2 04:24:53 CDT 2009


Hello Cyprus,

What is the output of "moh files show" CLI command ?

Best regards,
Ioan (Nini) Indreias
www.modulo.ro

On Fri, Oct 2, 2009 at 11:46 AM, Cyprus VoIP <voipcy at gmail.com> wrote:
> 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 [888 at default:1] Goto("SIP/24-08650e80", "moh,s,1") in
> new stack
>     -- Goto (moh,s,1)
>     -- Executing [s at moh:1] Answer("SIP/24-08650e80", "") in new stack
>     -- Executing [s at 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 <jsullivan at opensourcedevel.com>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
> 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
>



More information about the asterisk-users mailing list