projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bcee71
)
Delete on unregister (bug #527)
author
Mark Spencer
<markster@digium.com>
Fri, 21 Nov 2003 05:20:43 +0000
(
05:20
+0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 21 Nov 2003 05:20:43 +0000
(
05:20
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1770
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
71cc572
..
d173fa5
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-3224,6
+3224,7
@@
static int parse_contact(struct sip_pvt *pvt, struct sip_peer *p, struct sip_req
if (p->expire > -1)
ast_sched_del(sched, p->expire);
p->expire = -1;
+ ast_db_del("SIP/Registry", p->name);
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Unregistered SIP '%s'\n", p->name);
return 0;