view 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 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;
};