Index: chan_iax2.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v retrieving revision 1.364 @@ -3584,9 +3590,12 @@ ms = ast_tvdiff_ms(p1->rxcore, p2->offset); fakets += ms; - /* FIXME? SLD would rather remove this and leave it to the end system to deal with */ +#if 0 + /* SLD: don't do this - it makes it quite impossible for the end-point to correctly undo + * timestamps that have wrapped around.*/ if (fakets <= p2->lastsent) fakets = p2->lastsent + 1; +#endif p2->lastsent = fakets; return fakets; }