[Users] To: header in e.164 format - adding a plus

Ricardo Carvalho rjcarvalho at reit.up.pt
Wed Mar 21 19:13:03 CET 2007


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 at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>







More information about the sr-users mailing list