mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
finally fix private hold
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16315 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -503,10 +503,10 @@ SWITCH_DECLARE(void) switch_channel_presence(switch_channel_t *channel, const ch
|
||||
|
||||
if (!switch_channel_up(channel)) {
|
||||
call_info_state = "idle";
|
||||
} else if (!strcasecmp(status, "hold")) {
|
||||
call_info_state = "held";
|
||||
} else if (!strcasecmp(status, "hold-private")) {
|
||||
call_info_state = "held-private";
|
||||
} else if (!strcasecmp(status, "hold")) {
|
||||
call_info_state = "held";
|
||||
} else if (!switch_channel_test_flag(channel, CF_ANSWERED)) {
|
||||
if (channel->direction == SWITCH_CALL_DIRECTION_OUTBOUND) {
|
||||
call_info_state = "progressing";
|
||||
|
Reference in New Issue
Block a user