
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Ok, I found out that i have to put every digit in one komponent of the sturctur,
now I do it like this:
const int numberlength = 6;
BYTE CallThisNumber[6] = {1,2,3,4,5,6};
.....
.....
CAPIMsg.info.connect_req.CIP_Value = 0;
CAPIMsg.info.connect_req.structs[i] = numberlength; //Called party number,
printf("\nCalledPartynumber is: ");
for( ;i< numberlength; i++){
CAPIMsg.info.connect_req.structs[i+1] = CallThisNumber[i];
printf(": %i :",CallThisNumber[i]);
}
The first BYTE of the structur is the lenght of the number.
But it still doesn't work.
What's wrong? ........
| <-- __Chronological__ --> | <-- __Thread__ --> |