4. PBX Systems
to the display. The calling number ID data sent from the PBX to the station set
may differ from the calling number ID data presented on the display.
If placing a call to another extension, the called number ID (by default, the
extension of the telephone being called) is shown in the display. Both the
calling and called number IDs can be retrieved using the d42_gtcallid( )
function. Refer to the Dialogic® PBX Integration Software Reference for more
information about using d42_gtcallid( ) function. The content of the
called/calling number ID is shown in Table 38 (as seen by the receiver of the
call).
Table 38. Called/Calling Number ID Data for the NEC (DTerm III)
Call Route Called/Calling Number ID Data
Call received from station set 221 _221
Call originally received by extension
221, then forwarded to extension 224 224_221
NOTE: The called/calling number ID can also be obtained using the
d42_display( ) function and parsing the display in the application.
However, you can use the d42_gtcallid( ) function so that your
application will maintain functionality across different
manufacturers’ switches.
Example
An application uses the d42_gtcallid( ) function to retrieve the calling number
ID for a call received on a specified channel on a Dialogic® PBX Integration
Board. The calling number ID data and corresponding ASCII values are
shown below.
161