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@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@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