|
|
@ -14796,6 +14796,7 @@ static int manager_show_registry(struct mansession *s, const struct message *m)
|
|
|
|
ASTOBJ_RDLOCK(iterator);
|
|
|
|
ASTOBJ_RDLOCK(iterator);
|
|
|
|
astman_append(s,
|
|
|
|
astman_append(s,
|
|
|
|
"Event: RegistryEntry\r\n"
|
|
|
|
"Event: RegistryEntry\r\n"
|
|
|
|
|
|
|
|
"%s"
|
|
|
|
"Host: %s\r\n"
|
|
|
|
"Host: %s\r\n"
|
|
|
|
"Port: %d\r\n"
|
|
|
|
"Port: %d\r\n"
|
|
|
|
"Username: %s\r\n"
|
|
|
|
"Username: %s\r\n"
|
|
|
@ -14803,7 +14804,7 @@ static int manager_show_registry(struct mansession *s, const struct message *m)
|
|
|
|
"Refresh: %d\r\n"
|
|
|
|
"Refresh: %d\r\n"
|
|
|
|
"State: %s\r\n"
|
|
|
|
"State: %s\r\n"
|
|
|
|
"RegistrationTime: %ld\r\n"
|
|
|
|
"RegistrationTime: %ld\r\n"
|
|
|
|
"\r\n", iterator->hostname, iterator->portno ? iterator->portno : STANDARD_SIP_PORT,
|
|
|
|
"\r\n", idtext, iterator->hostname, iterator->portno ? iterator->portno : STANDARD_SIP_PORT,
|
|
|
|
iterator->username, iterator->regdomain, iterator->refresh, regstate2str(iterator->regstate), (long) iterator->regtime.tv_sec);
|
|
|
|
iterator->username, iterator->regdomain, iterator->refresh, regstate2str(iterator->regstate), (long) iterator->regtime.tv_sec);
|
|
|
|
ASTOBJ_UNLOCK(iterator);
|
|
|
|
ASTOBJ_UNLOCK(iterator);
|
|
|
|
total++;
|
|
|
|
total++;
|
|
|
|