From f8409fe0acca4a61500c3c44148c334b86c65e9c Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 2 May 2007 19:37:40 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5071 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_esf/mod_esf.c | 2 +- src/mod/endpoints/mod_sofia/mod_sofia.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_esf/mod_esf.c b/src/mod/applications/mod_esf/mod_esf.c index fd1300611e..53b47624b9 100644 --- a/src/mod/applications/mod_esf/mod_esf.c +++ b/src/mod/applications/mod_esf/mod_esf.c @@ -112,7 +112,7 @@ static void bcast_function(switch_core_session_t *session, char *data) /* special answer with the mcast addr */ msg.from = __FILE__; - msg.string_arg = data; + msg.string_arg = "recvonly"; msg.message_id = SWITCH_MESSAGE_INDICATE_BROADCAST; switch_core_session_receive_message(session, &msg); } else { diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index d6262de1dd..32293bb089 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -679,7 +679,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi ip = switch_channel_get_variable(channel, SWITCH_REMOTE_MEDIA_IP_VARIABLE); port = switch_channel_get_variable(channel, SWITCH_REMOTE_MEDIA_PORT_VARIABLE); if (ip && port) { - sofia_glue_set_local_sdp(tech_pvt, ip, atoi(port), NULL, 1); + sofia_glue_set_local_sdp(tech_pvt, ip, atoi(port), msg->string_arg, 1); } nua_respond(tech_pvt->nh, SIP_200_OK, SIPTAG_CONTACT_STR(tech_pvt->profile->url),