mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
add CF_DIALPLAN
This commit is contained in:
1 parent
43393f26d1
commit
3ff07445d4
3 files changed
+5
-2
No files matched your search
@@ -100,7 +100,7 @@ static void send_display(switch_core_session_t *session, switch_core_session_t *
|
||||
caller_channel = switch_core_session_get_channel(session);
|
||||
caller_profile = switch_channel_get_caller_profile(caller_channel);
|
||||
|
||||
if (switch_channel_direction(caller_channel) == SWITCH_CALL_DIRECTION_OUTBOUND) {
|
||||
if (switch_channel_direction(caller_channel) == SWITCH_CALL_DIRECTION_OUTBOUND && !switch_channel_test_flag(caller_channel, CF_DIALPLAN)) {
|
||||
name = caller_profile->callee_id_name;
|
||||
number = caller_profile->callee_id_number;
|
||||
|
||||
|
||||
Reference in new issue
Block a user