update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5071 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
45b4ca291a
commit
f8409fe0ac
|
@ -112,7 +112,7 @@ static void bcast_function(switch_core_session_t *session, char *data)
|
||||||
|
|
||||||
/* special answer with the mcast addr */
|
/* special answer with the mcast addr */
|
||||||
msg.from = __FILE__;
|
msg.from = __FILE__;
|
||||||
msg.string_arg = data;
|
msg.string_arg = "recvonly";
|
||||||
msg.message_id = SWITCH_MESSAGE_INDICATE_BROADCAST;
|
msg.message_id = SWITCH_MESSAGE_INDICATE_BROADCAST;
|
||||||
switch_core_session_receive_message(session, &msg);
|
switch_core_session_receive_message(session, &msg);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -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);
|
ip = switch_channel_get_variable(channel, SWITCH_REMOTE_MEDIA_IP_VARIABLE);
|
||||||
port = switch_channel_get_variable(channel, SWITCH_REMOTE_MEDIA_PORT_VARIABLE);
|
port = switch_channel_get_variable(channel, SWITCH_REMOTE_MEDIA_PORT_VARIABLE);
|
||||||
if (ip && port) {
|
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,
|
nua_respond(tech_pvt->nh, SIP_200_OK,
|
||||||
SIPTAG_CONTACT_STR(tech_pvt->profile->url),
|
SIPTAG_CONTACT_STR(tech_pvt->profile->url),
|
||||||
|
|
Loading…
Reference in New Issue