[Freeswitch-svn] [commit] r8832 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
anthm at freeswitch.org
Mon Jun 23 17:30:15 EDT 2008
Author: anthm
Date: Mon Jun 23 17:30:14 2008
New Revision: 8832
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
Log:
ignore sendonly on sip calls that are not answered
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Mon Jun 23 17:30:14 2008
@@ -1895,7 +1895,7 @@
}
}
- if (sendonly) {
+ if (sendonly && switch_channel_test_flag(channel, CF_ANSWERED)) {
if (!switch_test_flag(tech_pvt, TFLAG_SIP_HOLD)) {
const char *stream;
More information about the Freeswitch-svn
mailing list