]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 7 Mar 2008 01:46:07 +0000 (01:46 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 7 Mar 2008 01:46:07 +0000 (01:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7806 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 56206c66c643e039b4fa738b60941f7b750197f4..c2c7a4656db00691d1b1c279ebdbce95e6dcc465 100644 (file)
@@ -1428,6 +1428,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
                                        msg.pointer_arg_size = strlen(r_sdp);
                                }
                                if (switch_core_session_receive_message(other_session, &msg) != SWITCH_STATUS_SUCCESS) {
+                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Other leg is not available\n");
                                        nua_respond(tech_pvt->nh, 488, "Hangup in progress", TAG_END());
                                }
                                switch_core_session_rwunlock(other_session);
@@ -1771,6 +1772,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                                                msg.string_arg = (char *) r_sdp;
                                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Passing SDP to other leg.\n%s\n", r_sdp);
                                                if (switch_core_session_receive_message(other_session, &msg) != SWITCH_STATUS_SUCCESS) {
+                                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Other leg is not available\n");
                                                        nua_respond(tech_pvt->nh, 488, "Hangup in progress", TAG_END());
                                                }                                       
                                                switch_core_session_rwunlock(other_session);