mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 19:52:35 +00:00
fix cid issue
This commit is contained in:
parent
200cc44f67
commit
616566b9f6
@ -100,8 +100,7 @@ static void send_display(switch_core_session_t *session, switch_core_session_t *
|
|||||||
caller_channel = switch_core_session_get_channel(session);
|
caller_channel = switch_core_session_get_channel(session);
|
||||||
caller_profile = switch_channel_get_caller_profile(caller_channel);
|
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) {
|
||||||
if (!switch_channel_test_flag(caller_channel, CF_BRIDGE_ORIGINATOR)) {
|
|
||||||
name = caller_profile->callee_id_name;
|
name = caller_profile->callee_id_name;
|
||||||
number = caller_profile->callee_id_number;
|
number = caller_profile->callee_id_number;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user