[OpenSIPS-Users] Help with diaplan subst_exp, repl_exp

Miha miha at softnet.si
Mon May 13 14:15:23 CEST 2013


Hi,

I need a little help regarding /subst_exp and repl_xmp.

/I am trying to catch 014564561 which I do with 
match_exp(^0[1-7][0-9]{7}). Than I have problem as I would like to 
substitute 0 with 386. So If I get 014564561 I would like to get 
38614564561.

Can anyone can give me a quick info how to do that:)

Thanks!
Miha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130513/ea2de053/attachment.htm>


More information about the Users mailing list