diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-13 18:46:35 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-13 18:46:35 +0000 |
commit | a5898b4c0d9f7147f38315d743ca62c16e2ac85c (patch) | |
tree | ed66eb46d3b93acb448045522a038880b557ffee /channels | |
parent | 30a4d0bfa84b4ac6d7a2e43a265a7bb47db657ac (diff) |
Add sched_when function (bug #4022)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5466 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 58db1ec4c..4c33cc408 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -6666,7 +6666,7 @@ static int _sip_show_peer(int type, int fd, struct mansession *s, struct message ast_cli(fd, "Outgoinglimit: %d\r\n", peer->outgoinglimit); ast_cli(fd, "Dynamic: %s\r\n", (ast_test_flag(peer, SIP_DYNAMIC)?"Y":"N")); ast_cli(fd, "Callerid: %s\r\n", ast_callerid_merge(cbuf, sizeof(cbuf), peer->cid_name, peer->cid_num, "")); - ast_cli(fd, "RegExpire: %d\r\n", peer->expire); + ast_cli(fd, "RegExpire: %ld seconds\r\n", ast_sched_when(sched,peer->expire)); ast_cli(fd, "RegExpiry: %d\r\n", peer->expiry); ast_cli(fd, "SIP-AuthInsecure: %s\r\n", insecure2str(ast_test_flag(peer, SIP_INSECURE))); ast_cli(fd, "SIP-NatSupport: %s\r\n", nat2str(ast_test_flag(peer, SIP_NAT))); |