]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_pjsip.c: allow user=phone when number contain *#
authorroadkill <bugs.digium.com@zombie.dk>
Fri, 22 Jan 2021 13:38:01 +0000 (14:38 +0100)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 27 Jan 2021 17:04:02 +0000 (11:04 -0600)
commit176274caa4c4c85b6c7d8022b01e48bc59fe2843
tree0e943de628a97838835ee7a8af84a53302f099c5
parentf64ddf3db3c1b139d19dc6200f09136acd50108e
res/res_pjsip.c: allow user=phone when number contain *#

if From number contain * or # asterisk will not add user=phone

Currently only number that uses AST_DIGIT_ANYNUM can have "user=phone" but the validation should use AST_DIGIT_ANY
this is a problem when you want to send call to ISUP
as they will disregard the From header and either replace From with anonymous or with p-asserted-identity

ASTERISK-29261
Reported by: Mark Petersen
Tested by: Mark Petersen

Change-Id: I3307bdbf757582740bfee4110e85f7b6c9291cc4
res/res_pjsip.c