ussd kpi and smlog cdr
This commit is contained in:
@@ -1449,16 +1449,19 @@ void cdr_parse(cdr_sys *psys,int tagcode,ASN_BUF *asnbuf,int fieldIndex,char* fi
|
||||
{
|
||||
|
||||
//opps need cc
|
||||
if(psrc->sysTypeNo == 375)
|
||||
sprintf(fieldstr,",'%s'",digits2str(tempbyte,len * 2));
|
||||
else if (psrc->sysTypeNo == 320 && !strcmp(pdef->fields[fieldIndex].tags[tagcode], "7.12"))
|
||||
{
|
||||
if (tempbyte[0] == 0x91 ||tempbyte[0] == 0x81 ||tempbyte[0] == 0xa1) {
|
||||
sprintf(fieldstr, ",'%s'", digits2str(tempbyte + 1, (len - 1) * 2));
|
||||
} else {
|
||||
// 阿斯克码值
|
||||
sprintf(fieldstr, ",'%s'", askm2str(tempbyte, len * 2));
|
||||
}
|
||||
if (psrc->sysTypeNo == 375) {
|
||||
sprintf(fieldstr, ",'%s'", digits2str(tempbyte, len * 2));
|
||||
} else if ((psrc->sysTypeNo == 320 && !strcmp(pdef->fields[fieldIndex].tags[tagcode], "7.12")) ||
|
||||
(psrc->sysTypeNo == 351 &&
|
||||
(!strcmp(pdef->fields[fieldIndex].tags[tagcode], "0.1") ||
|
||||
!strcmp(pdef->fields[fieldIndex].tags[tagcode], "0.2")))) {
|
||||
|
||||
if (tempbyte[0] == 0x91 || tempbyte[0] == 0x81 || tempbyte[0] == 0xa1) {
|
||||
sprintf(fieldstr, ",'%s'", digits2str(tempbyte + 1, (len - 1) * 2));
|
||||
} else {
|
||||
// 阿斯克码值
|
||||
sprintf(fieldstr, ",'%s'", askm2str(tempbyte, len * 2));
|
||||
}
|
||||
}
|
||||
else
|
||||
sprintf(fieldstr,",'%s'",digits2str(tempbyte + 1,(len - 1) * 2));
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#endif
|
||||
|
||||
#define MaxLogSrcNum 16 //max number of command can be execute as same time
|
||||
#define MaxAttrDefnNum 256
|
||||
#define MaxAttrDefnNum 512
|
||||
#define MaxOidLen 20 //max number of object ID
|
||||
#define MaxSubOidLen 10 //max number of sub object ID
|
||||
#define MaxVarNum 50 //max number of var in one pdu
|
||||
|
||||
Reference in New Issue
Block a user