use timeout cause code MODSOFIA-22
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14587 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a35dc92e9f
commit
6ebc9b01c2
|
@ -695,6 +695,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f
|
||||||
if (--sanity && switch_channel_ready(channel)) {
|
if (--sanity && switch_channel_ready(channel)) {
|
||||||
switch_yield(10000);
|
switch_yield(10000);
|
||||||
} else {
|
} else {
|
||||||
|
switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_RECOVERY_ON_TIMER_EXPIRE);
|
||||||
return SWITCH_STATUS_GENERR;
|
return SWITCH_STATUS_GENERR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue