]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix for previous commit
authorMatthew Nicholson <mnicholson@digium.com>
Thu, 9 Jun 2011 15:31:36 +0000 (15:31 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Thu, 9 Jun 2011 15:31:36 +0000 (15:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@322697 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 8a64834c1449d26229f957bc5c81a9e4d5fa8fae..1d556474be1febda14197385d96fb4671f11dd95 100644 (file)
@@ -6509,7 +6509,7 @@ static int sip_write(struct ast_channel *ast, struct ast_frame *frame)
                }
                if (p) {
                        sip_pvt_lock(p);
-                       if (p->t38.state == T38_ENABLED && !p->t38.direct) {
+                       if (p->t38.state == T38_ENABLED) {
                                /* drop frame, can't sent VOICE frames while in T.38 mode */
                                break;
                        } else if (p->rtp) {