[asterisk-commits] oej: branch 1.4 r73849 - /branches/1.4/channels/chan_sip.c

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


Author: oej
Date: Sun Jul  8 04:47:31 2007
New Revision: 73849

URL: http://svn.digium.com/view/asterisk?view=rev&rev=73849
Log:
While tracking down a bug, I need some more history. Dumphistory is very useful, indeed.

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=73849&r1=73848&r2=73849
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Sun Jul  8 04:47:31 2007
@@ -3391,6 +3391,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