FreeCalypso > hg > themwi-system-sw
comparison sip-in/invite.c @ 57:d61d0136f6a5
sip-in INVITE processing: return "GSM service is offline" indication
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 08 Sep 2022 13:39:42 -0800 |
parents | f1d59210f7b2 |
children | 02761f1ae5e5 |
comparison
equal
deleted
inserted
replaced
56:7005d5c535e8 | 57:d61d0136f6a5 |
---|---|
157 goto error_resp_toolong; | 157 goto error_resp_toolong; |
158 sip_tx_packet(&resp, sin); | 158 sip_tx_packet(&resp, sin); |
159 return; | 159 return; |
160 } | 160 } |
161 /* SIP INVITE validation done - check if GSM service is up */ | 161 /* SIP INVITE validation done - check if GSM service is up */ |
162 rc = connect_gsm_mtcall(); | |
163 if (rc < 0) { | |
164 start_response_out_msg(&resp, "480 GSM service is offline"); | |
165 goto error_resp; | |
166 } | |
167 /* stateful processing begins */ | |
162 } | 168 } |