[Freeswitch-svn] [commit] r7383 - in freeswitch/trunk/src/mod/dialplans: mod_dialplan_asterisk mod_dialplan_xml

Freeswitch SVN brian at freeswitch.org
Sat Jan 26 22:06:52 EST 2008


Author: brian
Date: Sat Jan 26 22:06:52 2008
New Revision: 7383

Modified:
   freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c
   freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c

Log:
whitespace cleanup... 

Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c
==============================================================================
--- freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c	(original)
+++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c	Sat Jan 26 22:06:52 2008
@@ -47,7 +47,6 @@
 	return SWITCH_STATUS_FALSE;
 }
 
-
 SWITCH_STANDARD_APP(dial_function)
 {
 	int argc;
@@ -77,7 +76,6 @@
 		
 		goto ok;
 	}
-
 	
  error:
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error!\n");
@@ -85,7 +83,6 @@
  ok:
 	
 	return;
-
 }
 
 SWITCH_STANDARD_APP(avoid_function)
@@ -107,8 +104,6 @@
     memset((void *) y, 0, 1000);
 }
 
-
-
 SWITCH_STANDARD_APP(goto_function)
 {
 	int argc;
@@ -118,7 +113,6 @@
 	
 	channel = switch_core_session_get_channel(session);
     assert(channel != NULL);
-
 	
 	if (data && (mydata = switch_core_session_strdup(session, data))) {
 		if ((argc = switch_separate_string(mydata, '|', argv, (sizeof(argv) / sizeof(argv[0])))) < 1) {
@@ -128,7 +122,6 @@
 		switch_ivr_session_transfer(session, argv[1], "asterisk", argv[0]);
 		goto ok;
 	}
-
 	
  error:
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error!\n");
@@ -136,10 +129,8 @@
  ok:
 	
 	return;
-
 }
 
-
 SWITCH_STANDARD_DIALPLAN(asterisk_dialplan_hunt)
 {
 	switch_caller_extension_t *extension = NULL;
@@ -316,7 +307,6 @@
 	return extension;
 }
 
-
 /* fake chan_sip */
 switch_endpoint_interface_t *sip_endpoint_interface;
 static switch_call_cause_t sip_outgoing_channel(switch_core_session_t *session,
@@ -379,9 +369,6 @@
     return WE_DONT_NEED_NO_STINKIN_KEY;
 }
 
-
-
-
 SWITCH_MODULE_LOAD_FUNCTION(mod_dialplan_asterisk_load)
 {
 	switch_dialplan_interface_t *dp_interface;
@@ -408,7 +395,6 @@
 	sip_endpoint_interface->interface_name = "SIP";
 	sip_endpoint_interface->io_routines = &sip_io_routines;
 
-
 	/* fake chan_iax2 facade */
 	iax2_endpoint_interface = switch_loadable_module_create_interface(*module_interface, SWITCH_ENDPOINT_INTERFACE);
 	iax2_endpoint_interface->interface_name = "IAX2";

Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c
==============================================================================
--- freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c	(original)
+++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c	Sat Jan 26 22:06:52 2008
@@ -131,7 +131,6 @@
 			assert(re != NULL);
 		}
 
-
 		for (xaction = switch_xml_child(xcond, "action"); xaction; xaction = xaction->next) {
 			char *application = (char *) switch_xml_attr_soft(xaction, "application");
 			char *data = NULL;
@@ -221,7 +220,6 @@
 	if (!caller_profile->context) {
 		caller_profile->context = "default";
 	}
-	
 
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Processing %s->%s!\n", caller_profile->caller_id_name, caller_profile->destination_number);
 
@@ -274,7 +272,6 @@
 		xexten = xexten->next;
 	}
 
-
 	switch_xml_free(xml);
 	xml = NULL;
 



More information about the Freeswitch-svn mailing list