Phonecrack

Program ID

MTPipeline.MTPhoneCrack.1

Description

This plug-in uses a telephone number and bridge to determine country name and other properties listed in outputs section.

Note: A session containing a bad phone number will now fail in the pipeline. This used to be silently ignored. For example, a UserPhoneNumber property that holds the value 839-840 will fail because it's missing a digit. The phone number 839-A404 will fail because it contains a non-digit character.

Required Input Properties

Tag name

Value type

Description

CallType

ENUM

enumspace="metratech.com/audioconfconnection"

enumtype="CallType"

Dial-in or Dial-Out

Bridgename

STRING

BridgeName

DNISDigits

STRING

Phone Number (For Dial-In)

UserPhoneNumber

STRING

Phone Number (For Dial-Out)

Required Output Properties

Tag name

Value type

Description

CountryName

STRING

Country Name

Transport

ENUM

enumspace="metratech.com/audioconfconnection"

enumtype="Transport"

If the call type is Dial-In, then Transport is set to either toll or toll-free. I f CallType is Dial-Out, then it's set to Domestic or International.

InternationalFlag

BOOLEAN

Is international

NPA

STRING

National Code

NXX

STRING

National Code

CountryNameID

STRING

ID for the country name

Additional Configuration Tags

None.

Configuration Example

<configdata>
    <DNISDigits>DNISDigits</DNISDigits>
    <userphonenumber>UserPhoneNumber</userphonenumber>
    <bridgename>SystemName</bridgename>
    <transport>Transport</transport>
    <country>CountryName</country>
    <internationalflag>IsInternational</internationalflag>
    <calltype>CallType</calltype>
    <CountryNameID>CountryNameID</CountryNameID>
    <hostname></hostname>
    <configpath>phonelookup\</configpath>
    <configfilename>phonelookup.xml</configfilename>
  <DialIn ptype="enum" enumspace="metratech.com/audioconfconnection" enumtype="CallType">Dial-In</DialIn>

  <DialOut ptype="enum" enumspace="metratech.com/audioconfconnection" enumtype="CallType">Dial-Out</DialOut>

  <TollFree ptype="enum" enumspace="metratech.com/audioconfconnection" enumtype="Transport">Toll-Free</TollFree>

  <Toll ptype="enum" enumspace="metratech.com/audioconfconnection" enumtype="Transport">Toll</Toll>

  <International ptype="enum" enumspace="metratech.com/audioconfconnection" enumtype="Transport">International</International>

  <Domestic ptype="enum" enumspace="metratech.com/audioconfconnection" enumtype="Transport">Domestic</Domestic>

</configdata>