[SR-Users] Pseudo-Variable {$au} is NULL

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 20 14:51:22 CET 2019


Hello,

$au should be filled when the authentication is done. Are you doing it
in kamailio, or the auth is done by asterisk?

Cheers,
Daniel

On 20.03.19 12:39, Daniel Meyer-Wendt wrote:
>
> Hi All,
>
>  
>
> I am updating our Kamailio from 4.0.6 to the latest 5.2.2, we use
> kamailio as LB in front of two asterisk server.
>
> My problem is that during registration forward to the asterisk servers
> {$au} is NULL
>
>  
>
> This is the code we have, which is the one you find in most documentations
>
> $uac_req(furi)="sip:" + $au + "@" + $var(rip);
>
>  
>
>  
>
> I logged some Pseudo-Variable to see their contents:
>
>  
>
> {$au}     NULL
>
> {$aU}    NULL
>
> {$Au}     username at domain.com
>
> {$fU}     username
>
> {$oU}    NULL
>
> {$ru}      rU: {sip:domain.com;transport=UDP
>
>  
>
> and ended up doing this which works
>
>  
>
> $uac_req(furi)="sip:" + $fU + "@" + $var(rip);
>
>  
>
> Any idea what could be wrong?
>
>  
>
> Thanks,
>
> Daniel
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190320/e74c3064/attachment.html>


More information about the sr-users mailing list