[asterisk-commits] branch crichter/frame-data - r7549 /team/crichter/frame-data/channels/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Dec 20 09:32:28 CST 2005


Author: crichter
Date: Tue Dec 20 09:32:26 2005
New Revision: 7549

URL: http://svn.digium.com/view/asterisk?rev=7549&view=rev
Log:
extension update issue fixed

Modified:
    team/crichter/frame-data/channels/chan_misdn.c

Modified: team/crichter/frame-data/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/team/crichter/frame-data/channels/chan_misdn.c?rev=7549&r1=7548&r2=7549&view=diff
==============================================================================
--- team/crichter/frame-data/channels/chan_misdn.c (original)
+++ team/crichter/frame-data/channels/chan_misdn.c Tue Dec 20 09:32:26 2005
@@ -1372,6 +1372,12 @@
 		
 		pbx_builtin_setvar_helper(ch->ast,"REDIRECTING_NUMBER",bc->rad);
 	}
+
+	if ( strcmp(bc->dad,ast->exten)) {
+		chan_misdn_log(1,bc->port,"Updateing Ast->exten\n");
+		ast_copy_string(ast->exten, bc->dad, sizeof(ast->exten));
+	}
+
 	
 	return 0;
 }
@@ -3422,7 +3428,6 @@
 		return -1;
 	}
 	
-	
 	misdn_cfg_init(max_ports);
 	g_config_initialized=1;
 	



More information about the asterisk-commits mailing list