view libsip/resp_ident.h @ 163:bfa9f0c0f0ac

sip-out: handle incoming BYE as UAS
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2022 14:45:31 -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;
};