Patent ID: 7010105

Claim:
A format-converting device comprising: (a) a first sending and receiving section for sending and receiving a first command data; (b) a second sending and receiving section for sending and receiving a second command data between said format-converting device and a private branch exchange (PBX); (c) a memory for storing a converting table, which brings the first command data into correspondence with a given function and stores the first command data and the given function, a telephony application programming interface (TAPI) function and a telephony service provider interface (TSPI) function; (d) a converting section for referring to the converting table and calculating the given function corresponding to the first command data when said converting section receives the first command data, and for referring to the converting table and converting a data based on the second command data into the first command data when said converting section receives the data based on the second command data; (e) a first calculating section for calculating the TAPI function; and (f) a second calculating section for calculating the TSPI function, wherein when said format-converting device receives the first command data, said first calculating section calculates based on a calculated result of said converting section, and then said second calculating section calculates based on a calculated result of said first calculating section, and then produces the second command data, wherein when said format-converting device receives the second command data, said second calculating section calculates referring to said memory, and said first calculating section calculates based on a calculated result of said second calculating section, and said converting section supplies the first command data based on a calculated result of said first calculating section.