comparison 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
comparison
equal deleted inserted replaced
92:a9137bdb6047 93:ff5e96162430
1 /*
2 * Here we define struct sip_resp_ident, a structure that captures
3 * Call-ID and CSeq headers from initial parsing of SIP responses,
4 * allowing these responses to be matched with call state and
5 * with UAC requests that elicited them.
6 */
7
8 struct sip_resp_ident {
9 char *call_id;
10 unsigned cseq_num;
11 char *cseq_method;
12 char *error_field;
13 };