2.2.6.22 LINECALLTREATMENTENTRY
The LINECALLTREATMENTENTRY packet provides information on the type of call treatment, such as music, recorded announcement, or silence, on the current call. The LINEADDRESSCAPS packet can contain an array of LINECALLTREATMENTENTRY packets.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
dwCallTreatmentID |
|||||||||||||||||||||||||||||||
|
dwCallTreatmentNameSize |
|||||||||||||||||||||||||||||||
|
dwCallTreatmentNameOffset |
|||||||||||||||||||||||||||||||
dwCallTreatmentID (4 bytes): One of the LINECALLTREATMENT_Constants (if the treatment is of a predefined type) or a service provider-specific value.
dwCallTreatmentNameSize (4 bytes): The size, in bytes, of the call treatment name string, including the terminating null character.
dwCallTreatmentNameOffset (4 bytes): The offset from the beginning of LINEADDRESSCAPS to a null-terminated string identifying the treatment. This would ordinarily describe the content of the music or recorded announcement. If the treatment is of a predefined type, a meaningful name is still specified, for example, "Silence\0", "Busy Signal\0", "Ringback\0", or "Music\0". The size of the string is specified by dwCallTreatmentNameSize.