@@ -461,6 +461,7 @@ int acc_db_request( struct sip_msg *rq)
for( i++ ; i<m; i++) {
if (acc_extra_nullable == 1 && type_arr[i] == TYPE_NULL) {
+ LM_DBG("attr[%d] is NULL\n", i);
VAL_NULL(db_vals + i) = 1;
} else {
VAL_STR(db_vals+i) = val_arr[i];
@@ -252,6 +252,7 @@ int extra2strar(struct acc_extra *extra, struct sip_msg *rq, str *val_arr,
type_arr[n] = TYPE_STR;
}
+ LM_DBG("type of the extra attr[%d] set to: %d\n", n, type_arr[n]);
n++;
extra = extra->next;