[svn-commits] crichter: branch 1.4 r73208 - in /branches/1.4: ./ channels/chan_misdn.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 4 03:27:44 CDT 2007


Author: crichter
Date: Wed Jul  4 03:27:44 2007
New Revision: 73208

URL: http://svn.digium.com/view/asterisk?view=rev&rev=73208
Log:
Merged revisions 73207 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r73207 | crichter | 2007-07-04 10:20:54 +0200 (Mi, 04 Jul 2007) | 1 line

bad bug in overlapdial case, we called start_pbx multiple times, because the state wasn't changed..
........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_misdn.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=73208&r1=73207&r2=73208
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Wed Jul  4 03:27:44 2007
@@ -4008,6 +4008,8 @@
 				if (ast_exists_extension(ch->ast, ch->context, "i", 1, bc->oad)) {
 					ast_log(LOG_WARNING, "Extension can never match, So jumping to 'i' extension. port(%d)\n",bc->port);
 					strcpy(ch->ast->exten, "i");
+
+					ch->state = MISDN_DIALING;
 					start_pbx(ch, bc, ch->ast);
 					break;
 				}
@@ -4036,8 +4038,11 @@
 				break;
 			}
 
-			if (ast_exists_extension(ch->ast, ch->context, bc->dad, 1, bc->oad)) 
+			if (ast_exists_extension(ch->ast, ch->context, bc->dad, 1, bc->oad))  {
+				
+				ch->state = MISDN_DIALING;
 				start_pbx(ch, bc, ch->ast);
+			}
 		} else {
 			/*  sending INFOS as DTMF-Frames :) */
 			struct ast_frame fr;




More information about the svn-commits mailing list