FreeCalypso > hg > themwi-system-sw
view libsip/resp_ident.h @ 152:7176dc850d7a
sip-in hold/retr error handling: simply send BYE
Because we know that the SIP state is CONNECTED at the time of any
such error event, we can call initiate_bye() instead of disconnect_sip(),
and thereby get rid of struct gsm_mncc_cause which will never be used
in this scenario anyway.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 11 Oct 2022 16:11:21 -0800 |
parents | ff5e96162430 |
children |
line wrap: on
line source
/* * Here we define struct sip_resp_ident, a structure that captures * Call-ID and CSeq headers from initial parsing of SIP responses, * allowing these responses to be matched with call state and * with UAC requests that elicited them. */ struct sip_resp_ident { char *call_id; unsigned cseq_num; char *cseq_method; char *error_field; };