[Freeswitch-svn] [commit] r6112 - in freeswitch/trunk: scripts/socket/socket2me src

Freeswitch SVN anthm at freeswitch.org
Wed Oct 31 17:44:49 EDT 2007


Author: anthm
Date: Wed Oct 31 17:44:49 2007
New Revision: 6112

Modified:
   freeswitch/trunk/scripts/socket/socket2me/socket2me.c
   freeswitch/trunk/src/switch_ivr.c

Log:
fix names to match default style

Modified: freeswitch/trunk/scripts/socket/socket2me/socket2me.c
==============================================================================
--- freeswitch/trunk/scripts/socket/socket2me/socket2me.c	(original)
+++ freeswitch/trunk/scripts/socket/socket2me/socket2me.c	Wed Oct 31 17:44:49 2007
@@ -249,10 +249,10 @@
 
 	snprintf(sendbuf, sizeof(sendbuf), "sendmsg\n"
 			 "call-command: unicast\n"
-			 "local_ip: %s\n"
-			 "local_port: %d\n"
-			 "remote_ip: %s\n"
-			 "remote_port: %d\n"
+			 "local-ip: %s\n"
+			 "local-port: %d\n"
+			 "remote-ip: %s\n"
+			 "remote-port: %d\n"
 			 "transport: udp\n"
 			 "%s"
 			 "\n",

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Wed Oct 31 17:44:49 2007
@@ -333,10 +333,10 @@
 			}
 		}
 	} else if (cmd_hash == CMD_UNICAST) {
-		char *local_ip = switch_event_get_header(event, "local_ip");
-		char *local_port = switch_event_get_header(event, "local_port");
-		char *remote_ip = switch_event_get_header(event, "remote_ip");
-		char *remote_port = switch_event_get_header(event, "remote_port");
+		char *local_ip = switch_event_get_header(event, "local-ip");
+		char *local_port = switch_event_get_header(event, "local-port");
+		char *remote_ip = switch_event_get_header(event, "remote-ip");
+		char *remote_port = switch_event_get_header(event, "remote-port");
 		char *transport = switch_event_get_header(event, "transport");
 		char *flags = switch_event_get_header(event, "flags");
 



More information about the Freeswitch-svn mailing list