I'm on it to port the CAPI2032.dll to a userlib for PB to receive messages of incoming calls and to create a little CIT system for my applications.
In fact it works but I'm having a little bit of touble by porting the structures to PB.
That is what the capi reference says to the definition of types:
Code: Select all
• byte 8bit value, coded as one octet
• word 16bit value, coded as two contiguous octets, least significant first
• dword 32bit value, coded as two contiguous words, least significant first
• qword 64bit value, coded as two contiguous dwords, least significant first
• struct coded as an array of octets, the first octet containing the length of the subsequent array.
If the first octet has the value 255 (0xFF), this is an escape code: the following
word is then interpreted as containing the length of the following data. An empty
struct is coded as a single octet with value 0.
Controller dword
Info mask dword Bit field, coding as follows:
[0]: Cause
[1]: Date/time
[2]: Display
[3]: User-user information
[4]: Call progression
[5]: Facility
[6]: Charging
[7]: Called party number
[8]: Channel information
[9]: Early B3 connect
[10]: Redirecting/redirection information
[11]: reserved
[12]: Sending Complete
[13 to 31]: reserved
CIP Mask dword explained below
CIP Mask 2 dword reserved for additional services
Calling party number struct Calling party number
Calling party subaddress struct Calling party subaddress
What the hell do their mean with struct!? I dont know how to define it within a PB structure. Someone can help?
Thanks!
Mike


