From b796bf414bd1f8fe539c122e9e669d1fd08b5cff Mon Sep 17 00:00:00 2001 From: Olle Johansson <oej@edvina.net> Date: Thu, 8 Jun 2006 20:06:04 +0000 Subject: [PATCH] Improve SIP history git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33109 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ebeae3a07b..bdd515677f 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 */ -- GitLab