[Spce-user] Rewrite Rules
Walter Klomp
walter at myrepublic.net
Thu Feb 18 09:40:17 EST 2021
That is because you omit all numbers with 0 ...
I think you want to do this:
^([1-9][0-9]+)$
If you want to only allow numbers starting with 1-9...
On Thu, 18 Feb 2021 at 21:54, Viraj Balgobind <ideatells at outlook.com> wrote:
> Hi,
>
> I am using mr8.5.3
>
> I created a rewrite rule Outbound for Callee with the following values:
> Match:
> ^([1-9]+)$
>
> Replace:
> 54545\1
>
> Enabled:
> yes
>
> When I try to place a call wilt outbound number: 1800654123 or 9165475633
> than the prefix is not added in front of the number 1 or 9.
> But when I call a number in the range of 2-8 for example: 5975644555 than
> the prefix of 54545 is being placed in front of 5975644555 .
>
>
>
> Is this a bug in the current system?
>
>
>
> Kind regards,
>
> Viraj
>
>
> --
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>
--
Warmest Regards,
<https://myrepublic.com.sg/>
*Walter Klomp*
Head of Voice & Systems
MyRepublic Limited
T: +65 6816 1120
F: +65 6717 2031
MyRepublic Limited
11 Lorong 3 Toa Payoh Block B Jackson Square
#04-11/15 Singapore 319579
myrepublic.com.sg
Follow us on: Twitter <https://twitter.com/myrepublic> | Facebook
<https://facebook.com/myrepublicsg> | LinkedIn
<https://www.linkedin.com/company/myrepublic>
--
The contents of this email and any attachments are confidential and may
also be privileged. You must not disseminate the contents of this email and
any attachments without permission of the sender. If you have received this
email by mistake, please delete all copies and inform the sender
immediately. You may refer to our company's Privacy Policy here
<https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20210218/d9efad44/attachment-0002.html>
More information about the Spce-user
mailing list