[asterisk-dev] RTP streams suddenly stop

Olle E. Johansson oej at edvina.net
Thu Feb 4 14:09:16 CST 2010


4 feb 2010 kl. 19.15 skrev Dan Austin:

> Tony wrote:
> 
>> There is nothing in /var/log/asterisk/full at the times in question; it
>> has no entries between 10:31:18 and 10:31:44. I can't see anything
>> relevant in the rest of the system either.
> 
>> So, why would all RTP streams stop at once?
> 
>> The underlying OS is CentOS 4.7.
> 
>> Zaptel is 1.2.27 with ztdummy compiled with USE_RTC.
> 
>> The version of Asterisk is 1.2.32 with some custom modifications. The
>> most relevant modification might be that I have added the internal
>> timing feature from https://issues.asterisk.org/view.php?id=5374
>> However, I have included this in all systems for the last four years
>> without any trouble till now.
> 
>> Some advice on this would be REALLY welcome, as I must fix it urgently.
> 
> Does this box have NTP running, and is it perhaps drifting out of sync then
> being corrected by a large (relative) value?  I recall seeing a note either
> on the issue track on SVN logs about a recent fix to make internal_timing
> less sensitive to time changes.
> 
> I know I broke a box a couple years back by manually updating the time on
> a box that had drifted a couple minutes out of sync.
> 

Dan,
That's an interesting observation really. And I'm not talking about this particular case,
but of course about RTCP. If the NTP clock is reset during a call, RTCP reports will be useless.

Maybe we should check that and just reset all data that is based on NTP timestamps to zero if the start of the call is in the future. A jump forward is not something we can do much about.

/O


More information about the asterisk-dev mailing list