Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: eicon connect_request specify calledpartynumber



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__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.