[Asterisk-Users] (Yet another) Music on hold problem and another...

Neil A. Hillard asterisk at dana.org.uk
Wed Mar 16 15:23:29 MST 2005


Tom,

In message <ff2e0a1a0503151928760acd58 at mail.gmail.com>, Tom Samplonius
<tom.samplonius at gmail.com> writes
>On Tue, 15 Mar 2005 16:29:53 -0500, C F <shmaltz at gmail.com> wrote:
>> Your problem with MOH has to do with the fact that Asterisk needs a
>> timing source to play back music on hold. So when there is an audio
>> stream coming in asterisk can use that incoming stream as a timing
>> source. If however silence suppression is used, then asterisk has no
>> timing source therefore MOH doesn't work. You can get a timing source
>> by loading ztdummy. Look up asterisk timing on the wiki
>> The wiki is located here:
>> www.voip-info.org
>
>  That is actually incorrect.  Zaptel timing is not required or used by MOH.
>
>  But Asterisk's RTP implementation does use the incoming stream to
>time the outgoing stream.  So if there are no incoming packets, no
>outgoing packets are sent, and you don't hear the music.  This means
>that you can't use VAD/Silence detection on any SIP end-points with
>Asterisk.  This affects any sounds played by Asterisk, including
>annoucements, ring-backs, etc., not just MOH.
The strange thing about this is that when I have X-Lite configured not
to send silence and dial into a queue I hear the queue announcements
(every 60 seconds as I've configured) but no MOH, however when I tell it
to transmit silence I hear both the announcements and MOH !!!

Am I right in thinking that when X-Lite is set not to transmit silence,
I shouldn't even hear the announcements ???


                                Neil.

-- 
Neil A. Hillard                E-Mail:   asterisk at dana.org.uk



More information about the asterisk-users mailing list