[asterisk-commits] oej: trunk r73850 - in /trunk: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 8 04:49:22 CDT 2007


Author: oej
Date: Sun Jul  8 04:49:21 2007
New Revision: 73850

URL: http://svn.digium.com/view/asterisk?view=rev&rev=73850
Log:
Merged revisions 73849 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73849 | oej | 2007-07-08 11:47:31 +0200 (Sun, 08 Jul 2007) | 2 lines

While tracking down a bug, I need some more history. Dumphistory is very useful, indeed.

........

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=73850&r1=73849&r2=73850
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Jul  8 04:49:21 2007
@@ -3720,6 +3720,8 @@
 	}
 
 	stop_media_flows(p); /* Immediately stop RTP, VRTP and UDPTL as applicable */
+
+	append_history(p, needcancel ? "Cancel" : "Hangup", "Cause %s", p->owner ? ast_cause2str(p->owner->hangupcause) : "Unknown");
 
 	/* Disconnect */
 	if (p->vad)




More information about the asterisk-commits mailing list