[Freeswitch-users] mod lcr cid conditional replace.
vbvbrj at gmail.com
Wed Mar 3 14:54:38 UTC 2021
I use mod_lcr for dialout operators. On the freeswitch pbx we have extensions 500 to 899. When calling outside number the internal extension is
converted ok to for external cid to be accepted by each operator using lcr_cid regular pattern:
The problem lies with one operator where our extensions which start with 5 (500 to 599) must be converted to numbers which start with 9 (900 to 999)
and then prefixed with operator's prefix. The rest of extensions does not have such a substitution of first number.
How can I do this using regular expression in lcr_cid?
More information about the FreeSWITCH-users