diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-01 17:42:08 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-01 17:42:08 +0000 |
commit | ae086c682cfe511e1e875074687972d4a72e3777 (patch) | |
tree | 625539631d6154ba6cea5aa45d51f5f8d55b090d /channels/chan_sip.c | |
parent | c65f0c36ed8cdda2893229032627e73286ebf994 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@53066 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a937c053a..412ff6783 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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); } |