Merged revisions 53064 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53064 | file | 2007-02-01 11:37:44 -0600 (Thu, 01 Feb 2007) | 2 lines

Fix silly logic. We really want to write UDPTL frames out when the call is up.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp 2007-02-01 17:42:08 +00:00
parent 431c93b025
commit e88dda8ca9
1 changed files with 1 additions and 1 deletions

View File

@ -3642,7 +3642,7 @@ static int sip_write(struct ast_channel *ast, struct ast_frame *frame)
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);
sip_pvt_unlock(p);
}