git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5071 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-05-02 19:37:40 +00:00
parent 45b4ca291a
commit f8409fe0ac
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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),