After further discussion revert my previous commit for this. Currently in order to...
authorJoshua Colp <jcolp@digium.com>
Wed, 27 Feb 2008 17:04:16 +0000 (17:04 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 27 Feb 2008 17:04:16 +0000 (17:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104595 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index a70dc4c..519b937 100644 (file)
@@ -20527,7 +20527,6 @@ static int reload_config(enum channelreloadreason reason)
                                        }
                                        peer = build_peer(cat, gen, ast_variable_browse(ucfg, cat), 0);
                                        if (peer) {
-                                               ast_devstate_changed(AST_DEVICE_NOT_INUSE, "SIP/%s", peer->name);
                                                ASTOBJ_CONTAINER_LINK(&peerl, peer);
                                                unref_peer(peer);
                                                peer_count++;
@@ -20596,7 +20595,6 @@ static int reload_config(enum channelreloadreason reason)
                        if (is_peer) {
                                peer = build_peer(cat, ast_variable_browse(cfg, cat), NULL, 0);
                                if (peer) {
-                                       ast_devstate_changed(AST_DEVICE_NOT_INUSE, "SIP/%s", peer->name);
                                        ASTOBJ_CONTAINER_LINK(&peerl, peer);
                                        unref_peer(peer);
                                        peer_count++;