diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-23 12:39:48 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-23 12:39:48 +0000 |
commit | d985b4edc546285ff5d09c91bf382ebcb8e3b234 (patch) | |
tree | 4808dacd936cb3740ee9b1bf0725c3c5e637689d /channels | |
parent | 87a7c7793b7933315a0a7014ec20ef07f9a66ef6 (diff) |
Breaking once will stop us... :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29668 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index eb8a6da07..583a6f2dc 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2594,7 +2594,7 @@ static int update_call_counter(struct sip_pvt *fup, int event) ast_copy_string(name, fup->peername, sizeof(name)); } else { if (option_debug > 1) - ast_log(LOG_DEBUG, "%s is not a local user, no call limit\n", name); + ast_log(LOG_DEBUG, "%s is not a local device, no call limit\n", name); return 0; } } @@ -2651,12 +2651,11 @@ static int update_call_counter(struct sip_pvt *fup, int event) if (*inringing > 0) (*inringing)--; else - ast_log(LOG_WARNING, "Inringing for peer '%s' < 0?\n", fup->peername); + ast_log(LOG_WARNING, "Inringing for peer '%s' < 0?\n", p->name); ast_clear_flag(&fup->flags[1], SIP_PAGE2_INC_RINGING); } } break; - break; default: ast_log(LOG_ERROR, "update_call_counter(%s, %d) called with no event!\n", name, event); } |