I should add that yes, I can just force the domain to be equal to
mask_ip in uac_replace_from(). It's just that in this case I would have
to go through the trouble of making mask_ip a dynamic #subst parameter
to make that work.
I guess that's what I'll have to do.
On 11/12/2014 08:55 PM, Alex Balashov wrote:
Hi,
If I use uac_replace_from() to alter the User part of the From URI:
uac_replace_from("sip:$xavp(call=>src)@$fd");
it overwrites the domain concealment that is otherwise imparted by
topoh, i.e. restores the original From domain.
However, uac_replace_from() does not appear to offer the option to
provide a replacement user part only, so I have to specify the domain.
As far as I know, there is no means of accessing the modifications topoh
has made, as this is transparent from the point of view of the config.
Any way around this problem?
Thanks,
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com/