mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 05:40:52 +00:00
Be consistent with User/Username (bug #4916)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -40,6 +40,9 @@ SIP:
|
|||||||
the other channel drivers and to avoid confusion with the "port"
|
the other channel drivers and to avoid confusion with the "port"
|
||||||
option for users/peers.
|
option for users/peers.
|
||||||
|
|
||||||
|
* The "Registry" event now uses "Username" rather than "User" for
|
||||||
|
consistency with IAX.
|
||||||
|
|
||||||
Applications:
|
Applications:
|
||||||
|
|
||||||
* With the addition of dialplan functions (which operate similarly
|
* With the addition of dialplan functions (which operate similarly
|
||||||
|
@@ -4737,7 +4737,7 @@ static int sip_reg_timeout(void *data)
|
|||||||
r->timeout = -1;
|
r->timeout = -1;
|
||||||
res=transmit_register(r, SIP_REGISTER, NULL, NULL);
|
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);
|
ASTOBJ_UNREF(r,sip_registry_destroy);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user