[asterisk-commits] file: branch 1.6.1 r163006 - in /branches/1.6.1: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 11 09:07:56 CST 2008


Author: file
Date: Thu Dec 11 09:07:55 2008
New Revision: 163006

URL: http://svn.digium.com/view/asterisk?view=rev&rev=163006
Log:
Merged revisions 162997 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r162997 | file | 2008-12-11 11:05:49 -0400 (Thu, 11 Dec 2008) | 4 lines
  
  When a device registers to use it is entirely possible that they may be in use, so tell the core that we don't know the devstate and have it ask us for it.
  (closes issue #13525)
  Reported by: pj
........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/channels/chan_sip.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=163006&r1=163005&r2=163006
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Thu Dec 11 09:07:55 2008
@@ -11124,7 +11124,7 @@
 		}
 	}
 	if (!res) {
-		ast_devstate_changed(AST_DEVICE_NOT_INUSE, "SIP/%s", peer->name);
+		ast_devstate_changed(AST_DEVICE_UNKNOWN, "SIP/%s", peer->name);
 	}
 	if (res < 0) {
 		switch (res) {




More information about the asterisk-commits mailing list