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
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);
}