Skip to content
Snippets Groups Projects
Commit e88dda8c authored by Joshua Colp's avatar Joshua Colp
Browse files

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
parent 431c93b0
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment