diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-06 15:48:07 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-06 15:48:07 +0000 |
commit | 29746b60d9a08a027fc58d11cd899817df64bfd3 (patch) | |
tree | d0f604317579a42a2fbe2347c2423e48a9dd5e70 /channels | |
parent | d64487b2524bff3744313c056c349603359c0266 (diff) |
Instead of giving the scheduled item ID on a peer expiration, give the time until they expire (issue #7455 reported by slavon)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37173 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | 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 d503661c6..6b78c2da2 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -8051,7 +8051,7 @@ static int _sip_show_peer(int type, int fd, struct mansession *s, struct message ast_cli(fd, " Call limit : %d\n", peer->call_limit); ast_cli(fd, " Dynamic : %s\n", (ast_test_flag(&peer->flags_page2, SIP_PAGE2_DYNAMIC)?"Yes":"No")); ast_cli(fd, " Callerid : %s\n", ast_callerid_merge(cbuf, sizeof(cbuf), peer->cid_name, peer->cid_num, "<unspecified>")); - ast_cli(fd, " Expire : %d\n", peer->expire); + ast_cli(fd, " Expire : %ld\n", ast_sched_when(sched, peer->expire)); ast_cli(fd, " Insecure : %s\n", insecure2str(ast_test_flag(peer, SIP_INSECURE_PORT), ast_test_flag(peer, SIP_INSECURE_INVITE))); ast_cli(fd, " Nat : %s\n", nat2str(ast_test_flag(peer, SIP_NAT))); ast_cli(fd, " ACL : %s\n", (peer->ha?"Yes":"No")); |