×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    21

    Encoding of phone number in TPDU

    How to encode the receiver's phone number in the TPDU?

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    76

    RE: Encoding of phone number in TPDU

    The receiver's phone number is located in the beginning of the TPDU.
    The receiver's phone number is normally presented using 6 to 7 octets. In addition two octets are needed to define other information about the number (length and type).

    The first octet tells how many semi-octets long the phone number is. For example +12 84 07 40 36 23 takes 12 semi-octets which is 0C in hex.

    The next octet tells the type of the receiver's phone number. Hex code 91 means that the phone number uses international ISDN numbering plan.

    The receiver's phone number is presented next. The destination telephone number. F.ex +12 84 07 40 36 23 is encoded as 21 48 70 04 63 32. In this case the address takes 6 octets. The address can be 2 to 12 octets long.

    In the case when the length of the telephone number is impair the number must be filled with F and after that encoded. For example +12 84 07 40 36 23 4 is encoded as 21 48 70 04 63 32 F4. In this case the address takes 7 octets (14 half octets which is 0E in hex

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×