]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_callerid: Fix OLI parsing
authorNaveen Albert <asterisk@phreaknet.org>
Sun, 24 Oct 2021 18:38:13 +0000 (18:38 +0000)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 16 Nov 2021 18:46:24 +0000 (12:46 -0600)
commit126de2839b9e8fbbfee2208e095aa0a3eed4e603
treedf93bfbde34cd5e0f8ce8a695afe4861a63e1972
parentb4966c4f2a234400d4a35e06cf9b5ca37faa4768
res_pjsip_callerid: Fix OLI parsing

Fix parsing of ANI2/OLI information, since it was previously
parsing the user, when it should have been parsing other_param.

Also improves the parsing by using pjproject native functions
rather than trying to parse the parameters ourselves like
chan_sip did. A previous attempt at this caused a crash, but
this works correctly now.

ASTERISK-29703 #close

Change-Id: I8f3c79032d9ea1a21d16f8e11f22bd8d887738a1
res/res_pjsip_caller_id.c