Number conversion RRS feed

  • Question

  • Hi

    Our PBX refuses to accept E.164 numbers, is there any software you can set between the mediation server and the PBX to convert the numbers to a format the PBX can unserstand?

    Need to change +468234991 to 008234991

    Wednesday, April 22, 2009 7:55 PM

All replies

  • Are you using OCS 2007 of OCS 2007 R2

    You need to follow this article to remove the Plus

    You cannot do any other number manipulation it only strips the + so +468234991 becomes 468234991

    For OCS 2007 this update is required
    - Belgian Unified Communications Community : http://www.pro-exchange.be -
    Wednesday, April 22, 2009 10:30 PM
  • You should be able to strip the "+" in your PBX as well...

    As far as the number change - this the regular expression you need:

    Pattern:               ^468(\d{6})$

    Translation:        008$1

    Explanation: Match numbers that start with '468' and are a total of 9 digits long. Remove 3 digits from the beginning and add '008'.



    Wednesday, April 22, 2009 11:00 PM
  • Okey, the fix for removing the plus sign is implemented. The problem that remains is atleast as I have found out that once the numbers are in E.164 format OCS doesn't do any futher normalizations. That's why I wonder if it possible to have something between OCS and the PBX to just do number conversions.

    Thursday, April 23, 2009 5:05 AM
  • That is correct a number that is in E.164 is not going to get normalized because it already is.
    In case this number is not a valid E.164 number OCS does not care about that... because it starts with a "+" it assumes that it is normalized

    If your PBX is not on the supported PBX direct sip list then you probably need a gateway in between that takes care of all number reformatting
    At this website you can find all supported PBXs and Gateways to use with OCS
    - Belgian Unified Communications Community : http://www.pro-exchange.be -
    Thursday, April 23, 2009 10:26 PM