summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-06-08 20:06:04 +0000
committerOlle Johansson <oej@edvina.net>2006-06-08 20:06:04 +0000
commitb796bf414bd1f8fe539c122e9e669d1fd08b5cff (patch)
tree049d93fb0476049e6205a6deb560d234f873bf2e
parente466f202b3229c07a5a0b16ff761c1a8cce47344 (diff)
Improve SIP history
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_sip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index ebeae3a07..bdd515677 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -1697,7 +1697,7 @@ static int __sip_autodestruct(void *data)
if (option_debug)
ast_log(LOG_DEBUG, "Auto destroying call '%s'\n", p->callid);
- append_history(p, "AutoDestroy", "");
+ append_history(p, "AutoDestroy", "%s", p->callid);
if (p->owner) {
ast_log(LOG_WARNING, "Autodestruct on dialog '%s' with owner in place (Method: %s)\n", p->callid, sip_methods[p->method].text);
ast_queue_hangup(p->owner);
@@ -11889,6 +11889,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
copy_request(&p->initreq, req);
if (debug)
ast_verbose("Using INVITE request as basis request - %s\n", p->callid);
+ append_history(p, "Invite", "New call: %s", p->callid);
parse_ok_contact(p, req);
} else { /* Re-invite on existing call */
/* Handle SDP here if we already have an owner */