diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-09 23:40:49 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-09 23:40:49 +0000 |
commit | 6f8f6f4063c49d5965f07aa1eac7d8bc7dfbe472 (patch) | |
tree | 7e7a17c2121a2ac185a8dd7da47d2579237c0390 /channels | |
parent | 058d5bc02c72af449ebc403337d0fa1b5678fce0 (diff) |
More minor bkw fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2940 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c1ad16ee6..d2c25fdc4 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3681,6 +3681,7 @@ static int parse_contact(struct sip_pvt *pvt, struct sip_peer *p, struct sip_req p->expire = -1; ast_db_del("SIP/Registry", p->name); strcpy(p->useragent, ""); + p->lastms = 0; if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Unregistered SIP '%s'\n", p->name); return 0; @@ -4927,7 +4928,7 @@ static int __sip_show_channels(int fd, int argc, char *argv[], int subscriptions { #define FORMAT3 "%-15.15s %-10.10s %-21.21s %-15.15s\n" #define FORMAT2 "%-15.15s %-10.10s %-11.11s %-11.11s %s\n" -#define FORMAT "%-15.15s %-10.10s %-11.11s %5.5d/%5.5d %-6.6s%s\n" +#define FORMAT "%-15.15s %-10.10s %-11.11s %5.5d/%5.5d %-6.6s%s\n" struct sip_pvt *cur; int numchans = 0; if (argc != 3) |