Sample Vocera SIP Telephony Gateway Trunk Access Code Properties

Suppose Vocera devices interact with a paging system made by company PS, a blood pressure monitoring system made by company BP, and a nurse call system made by company NC. The following entries in vgwproperties.txt define the TACs for these systems:

#                                                    PS      BP     NC
#-----------------------------------------------------------------------
VTGTrunkAccessCode                     = DEFAULTS / 835   / 7812 / 781
VTGHangupMacro                         =          / ##    /      / *9*
VTGPagingCommaDuration                 = 2000     /       / 1000 / 1000
VTGPagingSemicolonDuration             = 3000     /       / 2000 / 2000
VTGPagingAddPrimaryExtOnSDPNegComplete = true     / false /      / 
VTGPagingAddPrimaryExtOnCONFIRMED      = false    / true  /      / 
VTGPagingAddSecondaryOnCONFIRMED       = true     / false /      / 
VTGPagingAddSecondaryAfterPrimaryExt   = false    / true  /      / 
VTGPagingAppendPoundToPageString       = true     / false /      /
VTGGainVoceraToSIP                     = 0        / 2     / 1    / 1
VTGGainSIPToVocera                     = 0        / 1     / 2    / 2

In this example, the hang-up macro ## is defined for PS, which has the TAC 835. Similarly, the hang-up macro *9* is defined for NC, which has the TAC 781. However, BP, which has the TAC 7812, does not define a hang-up macro (the value is filled with spaces). Also, the TAC for BP is listed before the TAC for NC because both TACs begin with the sequence 781 and the TAC for BP is longer than the TAC for NC. Listing the TACs in this order ensures that the Vocera parser will extract them correctly from a dial string. Different comma and semicolon duration and paging properties are specified for PS, whereas the other TACs use the default values for those properties.