Version
struct acu_ext_spf_fac_ie {
struct u4_acu_ext_hdr hdr; /* Extension header */
pad4
uchar net_id[ACU_MX_SZ_NET_ID]; /* Network identification array */
uchar net_id_lgth; /* Length of network identification*/
uchar net_id_type; /* Type of ID */
uchar action; /* Parameterized/binary indicator */
uchar serv_feature; /* Service/feature indicator */
uchar facility_coding; /* Facility coding */
uchar param_fld; /* Parameterized field */
pad5
};

|
Setting
|
Value
|
Description
|
|---|---|---|
|
ACU_USER_SPECIFIED_TYPE
|
0
|
The net ID type is user specified.
|
|
ACU_NATIONAL_NETWORK_ID_TYPE
|
2
|
Use the national network net ID type.
|
|
Setting
|
Value
|
Description
|
|---|---|---|
|
ACU_SPF_FAC_PARAMETER
|
0
|
The provided parameters are associated with the facility.
|
|
ACU_SPF_FAC_BINARY
|
1
|
Use the binary facility.
|
|
Setting
|
Value
|
Description
|
|---|---|---|
|
ACU_FAC_SERVICE
|
1
|
Service
|
|
ACU_FAC_FEATURE
|
0
|
Feature
|

|
Setting
|
Value
|
Description
|
|---|---|---|
|
ACU_FAC_VARI_A_BILL
|
6
|
Vari-A-Bill (flexible billing)
|

unsigned char *p_ext_data;
char nsf;
if (nsf)
{
p_ext_data = Acu_conn_rq_a_ext_parms;
Acu_conn_rq_ext_parms_nb ++;
Acu_conn_rq_ext_parms_lgth = Acu_ext_spf_fac_ie_size;
Acu_ext_id = ACU_EXT_SPF_FAC_IE;
Acu_ext_lgth = Acu_ext_spf_fac_ie_size;
Acu_ext_spf_fac_ie(net_id_lgth) = strlen("288");
Acu_ext_spf_fac_ie(net_id_type) = ACU_NATIONAL_NETWORK_ID_TYPE;
memcpy (Acu_ext_spf_fac_ie (net_id), "288", strlen("288"));
Acu_ext_spf_fac_ie (action) = ACU_SPF_FAC_BINARY;
Acu_ext_spf_fac_ie (param_fld) = 0xFF;
Acu_ext_spf_fac_ie (serv_feature) = ACU_FAC_FEATURE;
Acu_ext_spf_fac_ie (facility_coding) = ACU_FAC_BN_ANI_PREFERRED;
}
Version