Hi,
it is me again. I gave up on uac_replace_from, and trying with subst('/^From:(.*)sip:[^@]*@[a-zA-Z0-9.]+(.*)$/From:\1sip:$avp(i:21)@$avp(i:24)\2/i');
first time it substitute ok, on next branch i got result: From: sip:andres.moya4@sipdiscount.com;transport=UDP;tag=ee12f132.sip:andres.moya4@sipdiscount.com
Something really strange, looks like there is no way i can authenticate to different SIP providers in one transaction :(
Anyone know how i can hack From field actually?