[Freeswitch-svn] [commit] r7213 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Mon Jan 14 10:44:05 EST 2008
Author: anthm
Date: Mon Jan 14 10:44:05 2008
New Revision: 7213
Modified:
freeswitch/trunk/src/switch_core_state_machine.c
Log:
add process_cdr variable
Modified: freeswitch/trunk/src/switch_core_state_machine.c
==============================================================================
--- freeswitch/trunk/src/switch_core_state_machine.c (original)
+++ freeswitch/trunk/src/switch_core_state_machine.c Mon Jan 14 10:44:05 2008
@@ -424,9 +424,9 @@
if (!switch_strlen_zero(var)) {
- if (!strcasecmp(var, "a_only") && !switch_channel_test_flag(session->channel, CF_ORIGINATOR)) {
+ if (!strcasecmp(var, "a_only") && switch_channel_get_originator_caller_profile(session->channel)) {
do_extra_handlers = 0;
- } else if (!strcasecmp(var, "b_only") && switch_channel_test_flag(session->channel, CF_ORIGINATOR)) {
+ } else if (!strcasecmp(var, "b_only") && switch_channel_get_originatee_caller_profile(session->channel)) {
do_extra_handlers = 0;
} else if (!switch_true(var)) {
do_extra_handlers = 0;
More information about the Freeswitch-svn
mailing list