Quantcast
Channel: Lync 2010 and OCS - Lync Clients and Devices forum
Viewing all articles
Browse latest Browse all 3260

Lync Number Normalization - Remove (0)

$
0
0

I have a client that wants to normalise every number that has a (0) in the dialled number. initially this was only for UK dialled numbers which I managed to do as the dialled number was predictable i.e. any uk number starting with +44(0) xxx... would be normalised in the dial plan to +44xxx...

The problem now is that as I cannot predict what the dialled number will be I can't seem to figure out a regex to normalise as expected. Regex I used is below:

1) to normalise UK numbers removing (0): ^\+?44[^1-8]*(\d{9,10})$ ---> +44$1

2) to remove (0) from any dialled number: ^*[()\ 0]*(\d*)$ ---> $1

When I test rule 2 above in the Lync Control panel it works for any number I enter, however the Lync Client seems to ignore it from the assigned dial plan. When I was revert to rule 1, all works ok for UK numbers only in both LCP and Lync Client.

Any Suggestion?


Viewing all articles
Browse latest Browse all 3260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>