On Monday 14 April 2014 16:02:10 Joel E White wrote:
Thank you Daniel
I will try this tonight.
BTW I just thought about the fact that is the username is empty in the from this doesn't work (there is no @ in those URI). I have 2 cases:
$avp(from)=$fu; if($fU==$null) { avp_subst("$avp(from)", "/sip:/sip:$avp(src_callerid)@/"); } else { avp_subst("$avp(from)", "/sip:.*@/sip:$avp(src_callerid)@/"); }
uac_replace_from(...