]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorBrian West <brian@freeswitch.org>
Wed, 2 May 2007 19:37:40 +0000 (19:37 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 2 May 2007 19:37:40 +0000 (19:37 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5071 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_esf/mod_esf.c
src/mod/endpoints/mod_sofia/mod_sofia.c

index fd1300611e1575f269c798f88e9ea32b39e79441..53b47624b9a871fa33a69ab3f79d78ff56000efd 100644 (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 {
index d6262de1dde58261a7fa2605f0de1a6e7c6af03c..32293bb0890c5bc66b2ea87ce192ec4d22d56b26 100644 (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),