[asterisk-commits] file: branch 1.2 r67938 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 6 17:09:14 MST 2007


Author: file
Date: Wed Jun  6 19:09:13 2007
New Revision: 67938

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67938
Log:
Only notify the devicestate system of a peer state change when the peer is built from the config file. (issue #9900 reported by arkadia)

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=67938&r1=67937&r2=67938
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Wed Jun  6 19:09:13 2007
@@ -5953,7 +5953,6 @@
 		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 ---*/



More information about the asterisk-commits mailing list