FreeCalypso > hg > themwi-system-sw
comparison sip-in/disconnect.c @ 141:e499e8db8b82
sip-in: handle call hold and retrieve
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 08 Oct 2022 13:28:30 -0800 |
parents | 5685412bd6aa |
children |
comparison
equal
deleted
inserted
replaced
140:01fe81914bd6 | 141:e499e8db8b82 |
---|---|
43 switch (call->mgw_state) { | 43 switch (call->mgw_state) { |
44 case MGW_STATE_NO_EXIST: | 44 case MGW_STATE_NO_EXIST: |
45 case MGW_STATE_CONNECTING: | 45 case MGW_STATE_CONNECTING: |
46 case MGW_STATE_DELETING: | 46 case MGW_STATE_DELETING: |
47 case MGW_STATE_DTMF_OP: | 47 case MGW_STATE_DTMF_OP: |
48 case MGW_STATE_HOLD_OP: | |
49 case MGW_STATE_RETRIEVE_OP: | |
48 return; | 50 return; |
49 case MGW_STATE_ALLOCATED: | 51 case MGW_STATE_ALLOCATED: |
50 case MGW_STATE_COMPLETE: | 52 case MGW_STATE_COMPLETE: |
53 case MGW_STATE_HELD: | |
51 tmgw_send_dlcx(call); | 54 tmgw_send_dlcx(call); |
52 return; | 55 return; |
53 default: | 56 default: |
54 syslog(LOG_CRIT, | 57 syslog(LOG_CRIT, |
55 "FATAL: invalid MGW state 0x%x in disconnect_tmgw()", | 58 "FATAL: invalid MGW state 0x%x in disconnect_tmgw()", |