forked from Mirrors/freeswitch
fix edge case where originate does not give up properly with timed calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14846 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9d28cd1e6e
commit
90c7921f7e
@ -330,6 +330,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat
|
||||
for (i = 0; i < len; i++) {
|
||||
switch_channel_state_t state;
|
||||
if (!(originate_status[i].peer_channel && originate_status[i].peer_session)) {
|
||||
oglobals->hups++;
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -342,7 +343,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat
|
||||
oglobals->ring_ready = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (switch_channel_test_flag(originate_status[i].peer_channel, CF_EARLY_MEDIA)) {
|
||||
if (!originate_status[i].early_media) {
|
||||
originate_status[i].early_media = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user