diff --git a/src/include/switch_core_media.h b/src/include/switch_core_media.h index d6a35fae79..ac47236f9d 100644 --- a/src/include/switch_core_media.h +++ b/src/include/switch_core_media.h @@ -217,7 +217,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_process_t38_passthru(switch_co SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *session, const char *ip, switch_port_t port, const char *sr, int force); SWITCH_DECLARE(void)switch_core_media_set_local_sdp(switch_core_session_t *session, const char *sdp_str, switch_bool_t dup); SWITCH_DECLARE(void) switch_core_media_patch_sdp(switch_core_session_t *session); -SWITCH_DECLARE(void) switch_core_media_set_image_sdp(switch_core_session_t *session, switch_t38_options_t *t38_options, int insist); +SWITCH_DECLARE(void) switch_core_media_set_udptl_image_sdp(switch_core_session_t *session, switch_t38_options_t *t38_options, int insist); SWITCH_DECLARE(void) switch_core_media_prepare_codecs(switch_core_session_t *session, switch_bool_t force); SWITCH_DECLARE(void) switch_core_media_start_udptl(switch_core_session_t *session, switch_t38_options_t *t38_options); SWITCH_DECLARE(switch_status_t) switch_core_media_receive_message(switch_core_session_t *session, switch_core_session_message_t *msg); diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 867e9ed272..028f852fd1 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1346,7 +1346,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi switch_core_media_start_udptl(tech_pvt->session, t38_options); - switch_core_media_set_image_sdp(tech_pvt->session, t38_options, msg->numeric_arg); + switch_core_media_set_udptl_image_sdp(tech_pvt->session, t38_options, msg->numeric_arg); if (!sofia_test_flag(tech_pvt, TFLAG_BYE)) { char *extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_RESPONSE_HEADER_PREFIX); @@ -1378,7 +1378,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi switch_t38_options_t *t38_options = switch_channel_get_private(tech_pvt->channel, "t38_options"); if (t38_options) { - switch_core_media_set_image_sdp(tech_pvt->session, t38_options, msg->numeric_arg); + switch_core_media_set_udptl_image_sdp(tech_pvt->session, t38_options, msg->numeric_arg); if (!switch_channel_test_flag(channel, CF_PROXY_MEDIA)) { switch_channel_set_flag(channel, CF_REQ_MEDIA); @@ -1918,7 +1918,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi if (!strcasecmp(sdp, "t38")) { switch_t38_options_t *t38_options = switch_channel_get_private(tech_pvt->channel, "t38_options"); if (t38_options) { - switch_core_media_set_image_sdp(tech_pvt->session, t38_options, 0); + switch_core_media_set_udptl_image_sdp(tech_pvt->session, t38_options, 0); if (switch_core_media_ready(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO)) { switch_channel_clear_flag(tech_pvt->channel, CF_NOTIMER_DURING_BRIDGE); switch_core_media_udptl_mode(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO); diff --git a/src/switch_core_media.c b/src/switch_core_media.c index d36bf29c54..957443f1f6 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -5355,7 +5355,7 @@ SWITCH_DECLARE(void) switch_core_media_absorb_sdp(switch_core_session_t *session //? -SWITCH_DECLARE(void) switch_core_media_set_image_sdp(switch_core_session_t *session, switch_t38_options_t *t38_options, int insist) +SWITCH_DECLARE(void) switch_core_media_set_udptl_image_sdp(switch_core_session_t *session, switch_t38_options_t *t38_options, int insist) { char buf[2048] = ""; char max_buf[128] = "";