Hi Marko,
i work on the same scenario. It should work with:
if(uac_reg_request_to("$fU", 0))
{
xlog("L_NOTICE", "Found remote user [$rU] on [$rd] via [$du]");
t_on_failure("REMOTE_AUTH");
t_relay();
}
But in my case xlog() currently does not print out the variables, so i
am not able to debug:-(
Can you try this code and tell me if xlog() works for you?
Best regards
Georg
MY ISSUE:
----------------------
Hi Daniel,
yes I want to register my SIP clients twice to have full media path through Asterisk.
Now I register eg. clients 31 & 32 on Kamailio and when I try to call 31->32 then my call reaches Asterisk but it doesn't find the callee because it isn't registered in Asterisk.
Am I right that Kamailio cuts a part of register message header (Authorisation - Digest name) which it receives from SIP-client and forward just such shortened message to Asterisk or there is an other problem?
Is there any better approach for above requirement (full media path through Asterisk for all calls and for all users registered by Kamailio)?
Thank you
Regards
Marko