I've pretty much exhausted all combinations or re I can think of. I've tried both the replace and subst commands without success.I've placed these command instead of the if-then construct: if (search("^From.*sip:(.*)@myschool.edu")) { ...} along with some xlog statements and these log statements are being executed. Anyone have any thoughts on how I can replace the domain name in the From URI ?
Thanks,Steve
Steve Blair wrote:
I'd like to replace just the domain name in the From field with a different value. I was looking at using either replace or subst but I cannot seem to get the regular expression right. Does anyone have a working example?
Thanks,Steve