mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 06:38:04 +00:00
Fix for not handling T302 timeout in NET mode
This commit is contained in:
parent
017843a8cf
commit
428340830b
@ -953,6 +953,12 @@ void sngisdn_process_sta_cfm (sngisdn_event_data_t *sngisdn_event)
|
|||||||
break;
|
break;
|
||||||
case 2: /* overlap sending */
|
case 2: /* overlap sending */
|
||||||
switch (ftdmchan->state) {
|
switch (ftdmchan->state) {
|
||||||
|
case FTDM_CHANNEL_STATE_COLLECT:
|
||||||
|
/* T302 Timeout reached */
|
||||||
|
/* Send the call to user, and see if they accept it */
|
||||||
|
ftdm_log_chan_msg(ftdmchan, FTDM_LOG_DEBUG, "T302 Timer expired, proceeding with call\n");
|
||||||
|
ftdm_set_state(ftdmchan, FTDM_CHANNEL_STATE_RING);
|
||||||
|
break;
|
||||||
case FTDM_CHANNEL_STATE_PROCEED:
|
case FTDM_CHANNEL_STATE_PROCEED:
|
||||||
case FTDM_CHANNEL_STATE_PROGRESS:
|
case FTDM_CHANNEL_STATE_PROGRESS:
|
||||||
case FTDM_CHANNEL_STATE_RINGING:
|
case FTDM_CHANNEL_STATE_RINGING:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user