[OpenSER-Devel] dialplan repl_exp example

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jun 11 18:16:54 CEST 2008


Hi Juha,

match_exp = ^0[1-9]

subst_exp = ^0(.+)

repl_exp = +359\1

I will upload some examples by tomorrow

Regards,
Bogdan


Juha Heinanen wrote:
> here is one simple example that i would like to know how to write
> repl_exp for:
>
> match_exp  repl_exp  result
>
> ^0[1-9]	   ?	     +358[1-9]
>
> i.e., if number starts with 0[1-9], replace 0 it with +358.  currently
> dialplan README does not give a glue.
>
> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list