Hi Jeff,
Problem was in line
ieblk.data[1] = strlen(my_num)+2;
where is passed the size of the data, It should be:
ieblk.data[1] = strlen(my_num)+1;
because size of (unsigned char)(0x80 | ISDN_PI_RESTRICT << 5 | USER_PROVIDED) is 1 not 2
Piotr
Hi Jeff,
Problem was in line
ieblk.data[1] = strlen(my_num)+2;
where is passed the size of the data, It should be:
ieblk.data[1] = strlen(my_num)+1;
because size of (unsigned char)(0x80 | ISDN_PI_RESTRICT << 5 | USER_PROVIDED) is 1 not 2
Piotr