change name to match steves changes in master
This commit is contained in:
parent
4cac512b97
commit
ad1226b5c4
|
@ -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_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_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_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_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(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);
|
SWITCH_DECLARE(switch_status_t) switch_core_media_receive_message(switch_core_session_t *session, switch_core_session_message_t *msg);
|
||||||
|
|
|
@ -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_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)) {
|
if (!sofia_test_flag(tech_pvt, TFLAG_BYE)) {
|
||||||
char *extra_headers = sofia_glue_get_extra_headers(channel, SOFIA_SIP_RESPONSE_HEADER_PREFIX);
|
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");
|
switch_t38_options_t *t38_options = switch_channel_get_private(tech_pvt->channel, "t38_options");
|
||||||
|
|
||||||
if (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)) {
|
if (!switch_channel_test_flag(channel, CF_PROXY_MEDIA)) {
|
||||||
switch_channel_set_flag(channel, CF_REQ_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")) {
|
if (!strcasecmp(sdp, "t38")) {
|
||||||
switch_t38_options_t *t38_options = switch_channel_get_private(tech_pvt->channel, "t38_options");
|
switch_t38_options_t *t38_options = switch_channel_get_private(tech_pvt->channel, "t38_options");
|
||||||
if (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)) {
|
if (switch_core_media_ready(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO)) {
|
||||||
switch_channel_clear_flag(tech_pvt->channel, CF_NOTIMER_DURING_BRIDGE);
|
switch_channel_clear_flag(tech_pvt->channel, CF_NOTIMER_DURING_BRIDGE);
|
||||||
switch_core_media_udptl_mode(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
|
switch_core_media_udptl_mode(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
|
||||||
|
|
|
@ -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 buf[2048] = "";
|
||||||
char max_buf[128] = "";
|
char max_buf[128] = "";
|
||||||
|
|
Loading…
Reference in New Issue