[asterisk-commits] bebuild: tag 10.5.1 r368951 - in /tags/10.5.1: ./ channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 14 13:09:41 CDT 2012


Author: bebuild
Date: Thu Jun 14 13:09:37 2012
New Revision: 368951

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=368951
Log:
Merge r368947, update ChangeLog and version

Removed:
    tags/10.5.1/asterisk-10.5.0-summary.html
    tags/10.5.1/asterisk-10.5.0-summary.txt
Modified:
    tags/10.5.1/   (props changed)
    tags/10.5.1/.version
    tags/10.5.1/ChangeLog
    tags/10.5.1/channels/chan_skinny.c

Propchange: tags/10.5.1/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Jun 14 13:09:37 2012
@@ -1,1 +1,1 @@
-/branches/10:367267,367562,367782,367844
+/branches/10:367267,367562,367782,367844,368947

Modified: tags/10.5.1/.version
URL: http://svnview.digium.com/svn/asterisk/tags/10.5.1/.version?view=diff&rev=368951&r1=368950&r2=368951
==============================================================================
--- tags/10.5.1/.version (original)
+++ tags/10.5.1/.version Thu Jun 14 13:09:37 2012
@@ -1,1 +1,1 @@
-10.5.0
+10.5.1

Modified: tags/10.5.1/ChangeLog
URL: http://svnview.digium.com/svn/asterisk/tags/10.5.1/ChangeLog?view=diff&rev=368951&r1=368950&r2=368951
==============================================================================
--- tags/10.5.1/ChangeLog (original)
+++ tags/10.5.1/ChangeLog Thu Jun 14 13:09:37 2012
@@ -1,3 +1,9 @@
+2012-06-14  Asterisk Development Team <asteriskteam at digium.com>
+
+	* Asterisk 10.5.1 Released.
+
+	* AST-2012-009
+
 2012-06-04  Asterisk Development Team <asteriskteam at digium.com>
 
 	* Asterisk 10.5.0 Released.

Modified: tags/10.5.1/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/tags/10.5.1/channels/chan_skinny.c?view=diff&rev=368951&r1=368950&r2=368951
==============================================================================
--- tags/10.5.1/channels/chan_skinny.c (original)
+++ tags/10.5.1/channels/chan_skinny.c Thu Jun 14 13:09:37 2012
@@ -4976,6 +4976,11 @@
 	pthread_t t;
 	int actualstate = state;
 
+	if (!l->device) {
+		ast_log(LOG_WARNING, "Device for line %s is not registered.\n", l->name);
+		return;
+	}
+
 	if (sub->substate == SUBSTATE_ONHOOK) {
 		return;
 	}
@@ -5365,15 +5370,20 @@
 	struct skinny_subchannel *activatesub = NULL;
 	struct skinny_subchannel *tsub;
 
+	if (!l->device) {
+		ast_log(LOG_WARNING, "Device for line %s is not registered.\n", l->name);
+		return;
+	}
+
 	if (skinnydebug) {
 		ast_verb(3, "Sub %d - Dumping\n", sub->callid);
 	}
-	
+
 	if (!forcehangup && sub->substate == SUBSTATE_HOLD) {
 		l->activesub = NULL;
 		return;
 	}
-	
+
 	if (sub == l->activesub) {
 		d->hookstate = SKINNY_ONHOOK;
 		transmit_speaker_mode(d, SKINNY_SPEAKEROFF); 




More information about the asterisk-commits mailing list