While we're at it, make this machine parseable too.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138778 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
c29739df5f
commit
3f625b928d
1 changed files with 2 additions and 2 deletions
|
@ -12291,9 +12291,9 @@ static int manager_show_registry(struct mansession *s, const struct message *m)
|
|||
"Username: %s\r\n"
|
||||
"Refresh: %d\r\n"
|
||||
"State: %s\r\n"
|
||||
"RegistrationTime: %s\r\n"
|
||||
"RegistrationTime: %ld\r\n"
|
||||
"\r\n", iterator->hostname, iterator->portno ? iterator->portno : STANDARD_SIP_PORT,
|
||||
iterator->username, iterator->refresh, regstate2str(iterator->regstate), tmpdat);
|
||||
iterator->username, iterator->refresh, regstate2str(iterator->regstate), (long) iterator->regtime.tv_sec);
|
||||
ASTOBJ_UNLOCK(iterator);
|
||||
total++;
|
||||
} while(0));
|
||||
|
|
Reference in a new issue