[asterisk-commits] file: branch 1.4 r53064 - /branches/1.4/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Feb 1 10:37:45 MST 2007


Author: file
Date: Thu Feb  1 11:37:44 2007
New Revision: 53064

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53064
Log:
Fix silly logic. We really want to write UDPTL frames out when the call is up.

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=53064&r1=53063&r2=53064
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Thu Feb  1 11:37:44 2007
@@ -3518,7 +3518,7 @@
 				we simply forget the frames if we get modem frames before the bridge is up.
 				Fax will re-transmit.
 			*/
-			if (p->udptl && ast->_state != AST_STATE_UP) 
+			if (p->udptl && ast->_state == AST_STATE_UP) 
 				res = ast_udptl_write(p->udptl, frame);
 			ast_mutex_unlock(&p->lock);
 		}



More information about the asterisk-commits mailing list