]> 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)
committerN A <mail@interlinked.x10host.com>
Tue, 16 Nov 2021 12:15:10 +0000 (07:15 -0500)
commit406e8af3008bc3a5d39650b47b4af54f828203cf
tree54e21fe8faefb5273673e87aa6e79bf8e971ce4c
parent7ee6f515f929707e2dec8a202349df9328f4fd6a
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