Re: [SR-Users] strange conditional "if ($au!=$tU)" with previous exit

2019-10-29 Thread Alex Balashov
A savvy colleague reminded me to add that there are, occasionally, valid reasons to relax this authentication vs identity concordance policy. The main one comes up in Class 4/trunking environments, such as the kinds we deal with as our bread and butter. In this universe, a lot of caller

Re: [SR-Users] strange conditional "if ($au!=$tU)" with previous exit

2019-10-29 Thread Alex Balashov
Hi, When any SIP request arrives at the proxy, it asserts some kind of identity ("I am claiming to be sip:a...@sip.evaristesys.com"). In most SIP requests, this is the From URI ($fu) identity, but in REGISTERs, it's the To URI ($tu), because according to the standard, the AoR (Address of

[SR-Users] strange conditional "if ($au!=$tU)" with previous exit

2019-10-29 Thread PICCORO McKAY Lenz
i have this in asterisk integration how to, and i noted the "exit" before the "if($au!=$tU)" .. i dont understan the conditional and the exit there! please can someon xplain me that!? # authenticate the REGISTER requests (uncomment to enable auth) #!ifdef WITH_ASTERISK if