diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-08 09:47:31 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-08 09:47:31 +0000 |
commit | bcfaa4bbe52b12aa6c3d6188e0441566fa8650bb (patch) | |
tree | ecca9b22ac0550b4689de9bf0f965f3af0a93692 | |
parent | 4f97aec64651db5d0e29d66630d09dc5eb0fbea3 (diff) |
While tracking down a bug, I need some more history. Dumphistory is very useful, indeed.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73849 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a3b127a84..ccc77314e 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3392,6 +3392,8 @@ static int sip_hangup(struct ast_channel *ast) 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) ast_dsp_free(p->vad); |