link existing (incomplete) TC-U-ABORT.req code to TC-User API

This commit is contained in:
Harald Welte 2010-07-19 19:59:29 +02:00
parent 802d8ca108
commit ed59503766
2 changed files with 5 additions and 2 deletions

View File

@ -481,8 +481,8 @@ int tcap_csl_tc_u_abort_req(struct tcap_dialogue *td, uint32_t *abrt_reason,
/* Build ABRT apdu (source = dialogue-service-user) */
}
}
/* TR-U-ABORT.req to TSL */
//tcap_tco_tr_u_abort_req();
/* FIXME: TR-U-ABORT.req to TSL */
//tcap_tco_tr_u_abort_req(tt, tcmsg);
/* Dialogue terminated to CHA */
tcap_cha_dialg_term(td);
/* Free Dialogue ID */

View File

@ -218,6 +218,9 @@ LIB_EXPORTED int tcap_user_req_dialg(enum tcap_primitive prim, struct tcap_dialg
case TCAP_PR_TC_END:
rc = tcap_csl_tc_end_req(td, app_ctx, user_info, tcdi->prearranged_end);
break;
case TCAP_PR_TC_U_ABORT:
rc = tcap_csl_tc_u_abort_req(td, &tcdi->reason, app_ctx, user_info);
break;
default:
fprintf(stderr, "unsupported component primitive %s\n", tcap_prim_name(prim));
return -EINVAL;