From f4380aae7f65e9857e497257f6bfe645d32bce2e Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 31 Oct 2007 21:44:49 +0000 Subject: [PATCH] fix names to match default style git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6112 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/socket/socket2me/socket2me.c | 8 ++++---- src/switch_ivr.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/socket/socket2me/socket2me.c b/scripts/socket/socket2me/socket2me.c index ec3d6438c5..5d6fceb701 100644 --- a/scripts/socket/socket2me/socket2me.c +++ b/scripts/socket/socket2me/socket2me.c @@ -249,10 +249,10 @@ void client_run(int client_socket, char *local_ip, int local_port, char *remote_ 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", diff --git a/src/switch_ivr.c b/src/switch_ivr.c index d4d3983aaf..636830ece5 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -333,10 +333,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se } } } 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");