--- freeswitch-1.0.0/src/mod/endpoints/mod_woomera/mod_woomera.c 2008-05-27 17:42:57.000000000 +0200 +++ freeswitch-1.0.0-jet/src/mod/endpoints/mod_woomera/mod_woomera.c 2008-07-09 17:03:26.000000000 +0200 @@ -489,7 +489,7 @@ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Out of memory\n"); } else { if (profile && globals.debug) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Send Message: {%s} [%s/%d]\n%s\n%s\n", profile->name, + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Send Message: {%s} [%s:%d]\n%s\n%s\n", profile->name, profile->woomera_host, profile->woomera_port, WOOMERA_DEBUG_LINE, stuff); } len = strlen(stuff); @@ -606,7 +606,7 @@ next = buf; if (globals.debug) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Receive Message: {%s} [%s/%d]\n%s\n%s\n", profile->name, + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Receive Message: {%s} [%s:%d]\n%s\n%s\n", profile->name, profile->woomera_host, profile->woomera_port, WOOMERA_DEBUG_LINE, buf); } @@ -845,7 +845,7 @@ woomera_printf(tech_pvt->profile, tech_pvt->command_channel, - "CALL %s%sRaw-Audio: %s/%d%sLocal-Name: %s!%s%s", + "CALL %s%sRaw-Audio: %s:%d%sLocal-Name: %s!%s%s", tech_pvt->caller_profile->destination_number, WOOMERA_LINE_SEPERATOR, tech_pvt->profile->audio_ip, @@ -986,7 +986,7 @@ woomera_printf(tech_pvt->profile, tech_pvt->command_channel, "%s %s%s" - "Raw-Audio: %s/%d%s", + "Raw-Audio: %s:%d%s", MEDIA_ANSWER, wmsg.callid, WOOMERA_LINE_SEPERATOR, tech_pvt->profile->audio_ip, tech_pvt->port, WOOMERA_RECORD_SEPERATOR); if (woomera_message_parse(tech_pvt->command_channel, &wmsg, WOOMERA_HARD_TIMEOUT, tech_pvt->profile, &tech_pvt->event_queue) < 0) { @@ -1007,7 +1007,7 @@ switch_port_t port = 0; switch_copy_string(ip, raw_audio_header, sizeof(ip) - 1); - if ((ptr = strchr(ip, '/')) != 0) { + if ((ptr = strchr(ip, ':')) != 0) { *ptr = '\0'; ptr++; port = (switch_port_t) atoi(ptr); @@ -1066,7 +1066,7 @@ if (!woomera_profile_thread_running(profile, 0, 0)) { break; } - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Woomera Thread Up {%s} %s/%d\n", profile->name, + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Woomera Thread Up {%s} %s:%d\n", profile->name, profile->woomera_host, profile->woomera_port); }