FreeCalypso > hg > themwi-system-sw
diff libsip/resp_ident.h @ 93:ff5e96162430
libsip: new function for extracting Call-ID and CSeq from responses
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 24 Sep 2022 15:13:53 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsip/resp_ident.h Sat Sep 24 15:13:53 2022 -0800 @@ -0,0 +1,13 @@ +/* + * 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; +};