An workaround could be to loop it locally via outbound proxy option to get it for t_relay() in config.
I didn't have much time to investigate properly -- can you elaborate why UAS is needed in print_uac_request_from_buf()? At a quick look I didn't find any reference to it in the function.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/210#issuecomment-112408028