ignore sendonly on sip calls that are not answered
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8832 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
40d2b10a64
commit
2aa6410366
|
@ -1895,7 +1895,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sendonly) {
|
if (sendonly && switch_channel_test_flag(channel, CF_ANSWERED)) {
|
||||||
if (!switch_test_flag(tech_pvt, TFLAG_SIP_HOLD)) {
|
if (!switch_test_flag(tech_pvt, TFLAG_SIP_HOLD)) {
|
||||||
const char *stream;
|
const char *stream;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue