diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-31 14:36:47 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-31 14:36:47 +0000 |
commit | 5333ebac0d322c0c407678b37ad8dd30c6b515a4 (patch) | |
tree | 37ca22e704bc9e04a4e8e672e4ca60eda61e23c5 /channels/chan_sip.c | |
parent | 9bf7dbf5a66a00879fb258edbc0395aa3e7e9732 (diff) |
Add congestion message to SIP history
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30992 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e25727f58..f338d95e9 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2353,6 +2353,7 @@ static int auto_congest(void *nothing) /* XXX fails on possible deadlock */ if (!ast_channel_trylock(p->owner)) { ast_log(LOG_NOTICE, "Auto-congesting %s\n", p->owner->name); + append_history(p, "Cong", "Auto-congesting (timer)"); ast_queue_control(p->owner, AST_CONTROL_CONGESTION); ast_channel_unlock(p->owner); } |