[Asterisk-Users] MOH and VAD

Mark Spencer markster at digium.com
Sun Oct 19 03:34:29 MST 2003


No, you can't easily figure out the remote clock.  Look at the timerfd
stuff if you want to see how to do it with zap timing anyway.

Mark

On 17 Oct 2003, Juan J. Sierralta P. wrote:

> On Fri, 2003-10-17 at 08:06, Mark Spencer wrote:
>
> > > 	But my second questions arises, why VAD affects MOH since VAD is
> > > on the ATA but MOH on Asterisk should transmit anyway.
> >
> > In order to keep the timing clean, Asterisk transmits precisely the same
> > number of bytes of audio when running a sound generator (MOH, GenTones,
> > etc), thus synchronizing the production of sound to the clock on the
> > remote system.  If we generate the audio ourselves independently of the
> > far end (e.g. off a zap timer) then there will be slips relative to the
> > far end.  It would certainly be possible to add such a feature, but I'm
> > not sure it's a good idea.
>
> 	Thanks Mark !
> 	Where is code that control that ? I´ll like to play with it a bit, I
> saw the warnings about not supporting RFC3389 it is posible to use CN or
> its RTP timestamp to get the remote clock ?
>
> TIA
> --
> Juanjo sin .sig
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list