res_pjsip_diversion: implement support for History-Info

Implemention of History-Info capable of interworking with Diversion
Header following RFC7544

ASTERISK-29027 #close

Change-Id: I2296369582d4b295c5ea1e60bec391dd1d318fa6
This commit is contained in:
Torrey Searle
2020-08-13 10:34:55 +02:00
committed by George Joseph
parent 4964302984
commit 83140c9fed
5 changed files with 343 additions and 26 deletions

View File

@@ -648,6 +648,8 @@ struct ast_sip_endpoint_id_configuration {
unsigned int send_connected_line;
/*! When performing connected line update, which method should be used */
enum ast_sip_session_refresh_method refresh_method;
/*! Do we add History-Info headers to applicable outgoing requests/responses? */
unsigned int send_history_info;
};
/*!