aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-17 13:52:53 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-17 13:52:53 +0000
commitfc0f188090a6877023c6d2483830f76eb71dd25c (patch)
tree18881b3705103f18ae886e3421090dc8371bb7ba /channels/chan_sip.c
parent2b37103937191ba12bbd31a0c183703d953ea144 (diff)
Add more history on masqs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20903 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-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 26a7809c8..7d7114b8f 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -2859,11 +2859,12 @@ static int sip_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
p = newchan->tech_pvt;
ast_mutex_lock(&p->lock);
+ append_history(p, "Masq", "Old channel: %s\n", oldchan->name);
+ append_history(p, "Masq (cont)", "...new owner: %s\n", p->owner->name);
if (p->owner != oldchan)
ast_log(LOG_WARNING, "old channel wasn't %p but was %p\n", oldchan, p->owner);
else {
p->owner = newchan;
- append_history(p, "Masq", "Old channel: %s\n", oldchan->name);
ret = 0;
}
ast_mutex_unlock(&p->lock);