Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • PBXScript.ConvertToCanonical()

    PBXScript.ConvertToCanonical()

    Lua   → VBScript   SwxWare v13.10

     

    This function converts a given extension into a full canonical number.

     

    PBXScript.ConvertToCanonical ( sExtension )

     

     

    This function returns a string value.

     

     

    Parameter

     

    sExtension

     

    string. The number/extension to conert into canonical format.

     

     

    Example

     

    SwyxServer has the following configuration:
    
    Countrycode         49
    Areacode           231
    Subscribernumber  4777

     

    local sCanonicalNumber = PBXScript.ConvertToCanonical("180")
    
    PBXScript.OutputTrace("sCanonicalNumber = ", sCanonicalNumber)
    
    --> +492314777180

     

     


    Tom Wellige
     Share


     Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.