aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-07 00:09:13 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-07 00:09:13 +0000
commitb2a3de6c8042e17cbb3cab8870c683b78288f569 (patch)
tree4c5dd3d43a3783801d0ca7b1459f476d1757b3af /channels
parent9a7affbfc333e927561b6437c2bb77a0264fa630 (diff)
Only notify the devicestate system of a peer state change when the peer is built from the config file. (issue #9900 reported by arkadia)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@67938 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 0938776e6..36e5aab24 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5953,7 +5953,6 @@ static void reg_source_db(struct sip_peer *peer)
ast_sched_del(sched, peer->expire);
peer->expire = ast_sched_add(sched, (expiry + 10) * 1000, expire_register, peer);
register_peer_exten(peer, 1);
- ast_device_state_changed("SIP/%s", peer->name);
}
/*! \brief parse_ok_contact: Parse contact header for 200 OK on INVITE ---*/