Be consistent with User/Username (bug #4916)
authorMark Spencer <markster@digium.com>
Mon, 8 Aug 2005 00:15:37 +0000 (00:15 +0000)
committerMark Spencer <markster@digium.com>
Mon, 8 Aug 2005 00:15:37 +0000 (00:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6305 65c4cc65-6c06-0410-ace0-fbb531ad65f3

UPGRADE.txt
channels/chan_sip.c

index ce4c480..e0b4d78 100755 (executable)
@@ -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
index 802e497..1fc44f7 100755 (executable)
@@ -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;
 }