[svn-commits] mnicholson: branch mnicholson/chan-mobile-refactor r799 - /team/mnicholson/ch...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 4 12:28:45 CST 2009


Author: mnicholson
Date: Wed Mar  4 12:28:42 2009
New Revision: 799

URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=799
Log:
fix bug with disconnecting when making a call from the handset

Modified:
    team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c

Modified: team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c?view=diff&rev=799&r1=798&r2=799
==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Wed Mar  4 12:28:42 2009
@@ -2510,7 +2510,7 @@
 					 * probably leaving BT range...
 					 */
 					ast_verb(3, "Disconnecting bluetooth device %s, user has initated a call from the handset.\n", pvt->id); 
-					break;
+					goto e_cleanup;
 				}
 				break;
 			case MBL_STATE_DIAL: /* Nothing handled here, we need to wait for a timeout */




More information about the svn-commits mailing list