]> 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:47:01 +0000 (12:47 -0600)
commitb2256ea993ea8a9e6ddf495701d69d58f28f387e
tree572590ac85bca397f9cd429f10eb437a0e6a5347
parent22db079aaffdb7a4d9eba435ae2920b5eb1e2645
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