Remove ancient requirement that ts > 0
authorMark Spencer <markster@digium.com>
Wed, 16 Jun 2004 13:52:50 +0000 (13:52 +0000)
committerMark Spencer <markster@digium.com>
Wed, 16 Jun 2004 13:52:50 +0000 (13:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3223 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 1a6088c..cd70a2f 100755 (executable)
@@ -2848,12 +2848,6 @@ static int iax2_send(struct chan_iax2_pvt *pvt, struct ast_frame *f, unsigned in
        iax_frame_wrap(fr, f);
 
        fr->ts = fts;
-       if (!fr->ts) {
-               ast_log(LOG_WARNING, "timestamp is 0?\n");
-               if (!now)
-                       iax2_frame_free(fr);
-               return -1;
-       }
        fr->callno = pvt->callno;
        fr->transfer = transfer;
        fr->final = final;