[Asterisk-Users] RTP timing in a SIP only world (choppy MOH)

Juan J. Sierralta P. juanjo at atmlab.utfsm.cl
Wed Nov 19 14:09:50 MST 2003


On Wed, 2003-11-19 at 16:10, Bob Knight wrote:
> I have an * setup with sip phones and sip fxo gateway.
> When a sip phone places a sip/fxo call on hold, MOH is very choppy.
> 
> It looks like RTP has a real problem with timing if it is not receiving
> RTP packets. If the outside call that is placed on hold is not generating
> any audio, the sip/fxo gateway does not send * RTP packets.
> Is this valid?
> Is this a problem with the sip/fxo gateway or a problem with * RTP timing?

	It´s known problem, Asterisk SIP channels get the timing from the
source, so if the source stops transmitting (i.e. VAD) the MoH gets
choppy. Try disabling VAD on your Media Gateway.
	When VAD is active it is usually signaled by an specific RTP payload
type, maybe the SIP channel should check that an  starts using a local
clock.

> Sip phone to sip phone works fine.
> I connect 2 GS and place one on hold.
> The GS that is receiving MOH from * is working great because the GS
> keeps sending back RTP packets.
> 
> IAX connections work fine.
> I call an extension on another * box and place it on hold.
> MOH over IAX/IAX2 is great.
-- 
Juanjo sin .sig




More information about the asterisk-users mailing list