aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-08 20:06:04 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-08 20:06:04 +0000
commit040ff99053659ae4604b21283fe413dae6676259 (patch)
tree049d93fb0476049e6205a6deb560d234f873bf2e /channels
parent91ed8b4036d685608fe2d0d961531432e2b47345 (diff)
Improve SIP history
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33109 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 */