<div dir="ltr">Hi,<br><div><br></div><div>Testing on latest master deb nightly build from last night I've noticed that when $au is not available, $Au is being set to $fu (uri) instead of $fU (username).</div><div><br></div><div>Docs: <a href="https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables">https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables</a></div><div><br></div><div>...</div><div>$Au - Acc username: username for accounting purposes. It's a selective pseudo variable (inherited from acc module). It returns auth username ($au) if exists or From username ($fU) otherwise.<br></div><div>...</div><div><br></div><div>I have the following log in several places in a test box:</div><div><br></div><div>xlog("L_NOTICE", "[DEBUG] Au=$Au au=$au aU=$aU fU=$fU fu=$fu - \n");<br></div><div><br></div><div>And when I run through them (on both request and reply routes) I get the following:</div><div><br></div><div>Aug  8 14:37:43 csbc01 csbc[9478]: NOTICE: {1 21564 REGISTER d8df9be1-1702e20b@A.B.C.D} <script>: [DEBUG] Au=1002366@some.domain au=<null> aU=<null> fU=1002366 fu=sip:1002366@some.domain -<br><br></div><div>Aug  8 14:37:43 csbc01 csbc[9479]: NOTICE: {1 21565 REGISTER d8df9be1-1702e20b@A.B.C.D} <script>: [DEBUG] Au=1002366@some.domain au=1002366 aU=1002366 fU=1002366 fu=sip:1002366@some.domain -<br><br></div><div>Aug  8 14:37:43 csbc01 csbc[9484]: NOTICE: {2 21565 REGISTER d8df9be1-1702e20b@A.B.C.D} <script>: [DEBUG] Au=1002366@some.domain au=<null> aU=<null> fU=1002366 fu=sip:1002366@some.domain -<br></div><div><br></div><div>Those 3 logs belong to the same flow from different places in the config script.</div><div><br></div><div>I would expect $Au to never have a "@some.domain" in it, so I assume in some place the replacement is not being done with $fU but with $fu.</div><div><br></div><div>@Devs: I'm happy to create a GH issue for tracking etc if required, please let me know!<br></div><div><br></div><div>Cheers, </div><div>Joel.</div><div><br></div><div><br></div><div><br></div></div>