Displaying 1 result from an estimated 1 matches for "a2b9ad40b13a".
2017 Jun 09
2
pjsip user_eq_phone adds user=phone to anonymous user bug?
...to the URI if user_eq_phone=yes is
specified:
On the incoming leg:
From: anonymous <sip:anonymous at anonymous.invalid:5060>;tag=Q5zBj7BMnvI6Fe6O2866fox3ZHmn-smt
Get transformed to
From: "Anonymous" <sip:anonymous at anonymous.invalid;user=phone>;tag=fa3cb748-6af9-485f-8a70-a2b9ad40b13a
on the outgoing leg.
Setting user_eq_phone = no will result in user=phone not being added.
The upstream provide demands user=phone in URIs if the username
resembles a phonenumber, but declines the INVITE if user=phone is
present on an anonymous username.
Looking at the code,res/res_pjsip.c functi...