You may use the following syntax:
subst('/^To:(.*)@(.*)/To:+\1@\2/');
Hope it helps, Regards, Ricardo.
Daryl Sanders wrote:
One of my providers requires the To: header to be in e.164 format with a "+" in front of it. Since there is no uac_replace_to() function yet, what are my options for adding this plus symbol?
Before anyone suggests it... I cannot just use another provider. I must find a solution to add the plus symbol.
Thanks, Daryl
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users