mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +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:
committed by
Kevin Harwell
parent
b760bad2b9
commit
5b5c358e4b
@@ -634,6 +634,7 @@ static struct ast_channel *chan_pjsip_new(struct ast_sip_session *session, int s
|
||||
|
||||
ast_party_id_copy(&ast_channel_caller(chan)->id, &session->id);
|
||||
ast_party_id_copy(&ast_channel_caller(chan)->ani, &session->id);
|
||||
ast_channel_caller(chan)->ani2 = session->ani2;
|
||||
|
||||
if (!ast_strlen_zero(exten)) {
|
||||
/* Set provided DNID on the new channel. */
|
||||
|
Reference in New Issue
Block a user