mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
res_pjsip_caller_id: Add ANI2/OLI parsing
Adds parsing of ANI II digits (Originating Line Information) to PJSIP, on par with what currently exists in chan_sip. ASTERISK-29472 Change-Id: Ifc938a7a7d45ce33999ebf3656a542226f6d3847
This commit is contained in:
@@ -227,6 +227,8 @@ struct ast_sip_session {
|
||||
AST_VECTOR(, struct ast_rtp_instance_stats *) media_stats;
|
||||
/*! Number of challenges received during outgoing requests to determine if we are in a loop */
|
||||
unsigned int authentication_challenge_count:4;
|
||||
/*! Originating Line Info (ANI II digits) */
|
||||
int ani2;
|
||||
};
|
||||
|
||||
typedef int (*ast_sip_session_request_creation_cb)(struct ast_sip_session *session, pjsip_tx_data *tdata);
|
||||
|
Reference in New Issue
Block a user