mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +00:00
revert a change that wasn't supposed to be committed... doh!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@82592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5835,7 +5835,7 @@ static void reg_source_db(struct iax2_peer *p)
|
||||
if (p->expire > -1)
|
||||
ast_sched_del(sched, p->expire);
|
||||
ast_device_state_changed("IAX2/%s", p->name); /* Activate notification */
|
||||
p->expire = iax2_sched_add(sched, (p->expiry + 10) * 1000, expire_registry, (void *)(char *)p->name);
|
||||
p->expire = iax2_sched_add(sched, (p->expiry + 10) * 1000, expire_registry, (void *)p->name);
|
||||
if (iax2_regfunk)
|
||||
iax2_regfunk(p->name, 1);
|
||||
register_peer_exten(p, 1);
|
||||
|
Reference in New Issue
Block a user