[asterisk-commits] oej: trunk r64975 - in /trunk: ./
channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri May 18 03:41:32 MST 2007
Author: oej
Date: Fri May 18 05:41:31 2007
New Revision: 64975
URL: http://svn.digium.com/view/asterisk?view=rev&rev=64975
Log:
Merged revisions 64974 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64974 | oej | 2007-05-18 12:37:44 +0200 (Fri, 18 May 2007) | 2 lines
Issue 9487 - stop media flows at hangup of call
........
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=64975&r1=64974&r2=64975
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri May 18 05:41:31 2007
@@ -1349,6 +1349,7 @@
int debug);
static enum sip_result add_sdp(struct sip_request *resp, struct sip_pvt *p);
static void do_setnat(struct sip_pvt *p, int natflags);
+static void stop_media_flows(struct sip_pvt *p);
/*--- Authentication stuff */
static int reply_digest(struct sip_pvt *p, struct sip_request *req, char *header, int sipmethod, char *digest, int digest_len);
@@ -3688,6 +3689,8 @@
if (option_debug > 3)
ast_log(LOG_DEBUG, "Hanging up channel in state %s (not UP)\n", ast_state2str(ast->_state));
}
+
+ stop_media_flows(p); /* Immediately stop RTP, VRTP and UDPTL as applicable */
/* Disconnect */
if (p->vad)
More information about the asterisk-commits
mailing list