S***@gmail.com
2006-06-13 10:42:39 UTC
Hi all,
I'm using and Eicon BRI with CAPI 2.0. I have writen code to use the
call deflect facility.
As soon as I get a connect indication, I send a facility request for
CD.
I'm passing the Facility Request Parameter as a byte array as follows:
byParam[0] = 0x0C; //length
byParam[1] = 0x0D; //facility selector lo byte
byParam[2] = 0x00; //facility selector hi byte
byParam[3] = 0x01; //presentation allowed
byParam[4] = 0x00; //presentation allowed
byParam[5] = 0x00; //type of facility party number
byParam[6] = 0x00; //type of number
byParam[7] = 0x00; //presentation and screening indicator
byParam[8] = 0x03; //digits
byParam[9] = 0x01; //digits
byParam[10] =0x00; //digits
byParam[11] = 0x80; //deflected-to Subaddress
byParam[12] = 0x80; //deflected-to Subaddress
I dont get a facility conf from the driver.
Could someone tell me where i'm going wrong
I'm using and Eicon BRI with CAPI 2.0. I have writen code to use the
call deflect facility.
As soon as I get a connect indication, I send a facility request for
CD.
I'm passing the Facility Request Parameter as a byte array as follows:
byParam[0] = 0x0C; //length
byParam[1] = 0x0D; //facility selector lo byte
byParam[2] = 0x00; //facility selector hi byte
byParam[3] = 0x01; //presentation allowed
byParam[4] = 0x00; //presentation allowed
byParam[5] = 0x00; //type of facility party number
byParam[6] = 0x00; //type of number
byParam[7] = 0x00; //presentation and screening indicator
byParam[8] = 0x03; //digits
byParam[9] = 0x01; //digits
byParam[10] =0x00; //digits
byParam[11] = 0x80; //deflected-to Subaddress
byParam[12] = 0x80; //deflected-to Subaddress
I dont get a facility conf from the driver.
Could someone tell me where i'm going wrong