McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 305

↗ View in doc context
page
305
source
cucm/v15/tapi-dev-guide/tapi-dev-guide.md
chunk_id
cucm::v15::tapi-dev-guide::tapi-dev-guide::314

Structure Details typedef struct linetranslateoutput_tag { DWORD dwTotalSize; DWORD dwNeededSize; DWORD dwUsedSize; DWORD dwDialableStringSize; DWORD dwDialableStringOffset; DWORD dwDisplayableStringSize; DWORD dwDisplayableStringOffset; DWORD dwCurrentCountry; DWORD dwDestCountry; DWORD dwTranslateResults; } LINETRANSLATEOUTPUT, FAR *LPLINETRANSLATEOUTPUT; Members Values Members The total size, in bytes, that is allocated to this data structure. dwTotalSize The size, in bytes, for this data structure that is needed to hold all the returned information. dwNeededSize The size, in bytes, of the portion of this data structure that contains useful information. dwUsedSize Contains the translated output that can be passed to the lineMakeCall, lineDial, or other function that requires a dialable string. The output always comprises a null-terminated string (NULL gets included in the count in dwDialableStringSize). This output string includes ancillary fields such as name and subaddress if they were in the input string. This string may contain private information such as calling card numbers. To prevent inadvertent visibility to unauthorized persons, it should not display to the user. dwDialableStringSize dwDialableStringOffset Contains the translated output that can display to the user for confirmation. Identical to DialableString, except the “friendly name” of the card enclosed within bracket characters (for example, “[AT&T Card]”) replaces calling card digits. The ancillary fields, such as name and subaddress, get removed. You can display this string in call-status dialog boxes without exposing private information to unauthorized persons. You can also include this information in call logs. dwDisplayableStringSize dwDisplayableStringOffset Contains the country code that is configured in CurrentLocation. Use this value to control the display by the application of certain user interface elements for local call progress tone detection and for other purposes. dwCurrentCountry Cisco Unified TAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 273 Basic TAPI Implementation LINETRANSLATEOUTPUT