From 6dde38ed5273244b0bea691e5b47d7cbded4dd54 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Mon, 8 Aug 2005 00:15:37 +0000 Subject: [PATCH] Be consistent with User/Username (bug #4916) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6305 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- UPGRADE.txt | 3 +++ channels/chan_sip.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/UPGRADE.txt b/UPGRADE.txt index ce4c480e09..e0b4d78424 100755 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -40,6 +40,9 @@ SIP: the other channel drivers and to avoid confusion with the "port" option for users/peers. +* The "Registry" event now uses "Username" rather than "User" for + consistency with IAX. + Applications: * With the addition of dialplan functions (which operate similarly diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 802e497f84..1fc44f7dee 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4737,7 +4737,7 @@ static int sip_reg_timeout(void *data) r->timeout = -1; res=transmit_register(r, SIP_REGISTER, NULL, NULL); } - manager_event(EVENT_FLAG_SYSTEM, "Registry", "Channel: SIP\r\nUser: %s\r\nDomain: %s\r\nStatus: %s\r\n", r->username, r->hostname, regstate2str(r->regstate)); + manager_event(EVENT_FLAG_SYSTEM, "Registry", "Channel: SIP\r\nUsername: %s\r\nDomain: %s\r\nStatus: %s\r\n", r->username, r->hostname, regstate2str(r->regstate)); ASTOBJ_UNREF(r,sip_registry_destroy); return 0; }