|
@@ -795,7 +795,7 @@ static void uac_process_redirect(sp_ses_uac_t *uac, int epid, int svc_id, int co
|
|
|
uac->remote_epid = ent->mod->cfg->idx;
|
|
|
uac->remote_svc_id = ent->cfg->idx;
|
|
|
sp_svc_post(uac->mgr->svc, uac->remote_epid, uac->remote_svc_id, SP_PKT_SES|SES_CMD_CONN, conn_id, p_pkt);
|
|
|
- DbgWithLinkForC(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM, "svc_post, epid:%d, svc_id:%d", uac->remote_epid, uac->remote_svc_id);
|
|
|
+ //DbgWithLinkForC(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM, "svc_post, epid:%d, svc_id:%d", uac->remote_epid, uac->remote_svc_id);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1094,6 +1094,7 @@ int sp_ses_uac_send_info(sp_ses_uac_t *uac, int method_id, int method_sig, iobuf
|
|
|
iobuffer_write_head(*info_pkt, IOBUF_T_I4, &method_sig, 0);
|
|
|
iobuffer_write_head(*info_pkt, IOBUF_T_I4, &method_id, 0);
|
|
|
rc = sp_svc_post(uac->mgr->svc, uac->remote_epid, uac->remote_svc_id, SP_PKT_SES|SES_CMD_INFO, uac->conn_id, info_pkt);
|
|
|
+ WLog_INFO(TAG, "sp_ses_uac_send_info from %d", uac->remote_epid);
|
|
|
} else {
|
|
|
DbgWithLinkForC(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM, "send info failed, uac is not in connected state!");
|
|
|
rc = Error_IO;
|
|
@@ -1201,6 +1202,7 @@ static void tsx_uac_process_ans(sp_tsx_uac_t *tsx, int end, iobuffer_t **ans_pkt
|
|
|
} else {
|
|
|
DbgWithLinkForC(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM, "tsx uac current state cannot recv ack!");
|
|
|
sp_svc_post(tsx->uac->mgr->svc, tsx->uac->remote_epid, tsx->uac->remote_svc_id, SP_PKT_SES|SES_CMD_ERRC, tsx->uac->conn_id, NULL);
|
|
|
+ WLog_INFO(TAG, "tsx_uac_process_ans remote_epid:%d, remote_svc_id:%d", tsx->uac->remote_epid, tsx->uac->remote_svc_id);
|
|
|
}
|
|
|
if (trigger)
|
|
|
tsx_uac_trigger(tsx, 0, end, ans_pkt);
|
|
@@ -1336,6 +1338,7 @@ int sp_tsx_uac_async_req(sp_tsx_uac_t *tsx, int timeout, iobuffer_t **req_pkt)
|
|
|
iobuffer_write_head(*req_pkt, IOBUF_T_I4, &tsx->tsx_id, 0);
|
|
|
sp_tsx_uac_inc_ref(tsx); // @1
|
|
|
rc = sp_svc_post(uac->mgr->svc, uac->remote_epid, uac->remote_svc_id, SP_PKT_SES|SES_CMD_REQ, uac->conn_id, req_pkt);
|
|
|
+ WLog_INFO(TAG, "sp_tsx_uac_async_req remote_epid:%d, remote_svc_id:%d, method_sig:%d, method_id:%d", uac->remote_epid, uac->remote_svc_id, tsx->method_sig, tsx->method_id);
|
|
|
if (rc == 0) {
|
|
|
if (timeout >= 0) {
|
|
|
tsx->op_timer = MALLOC_T(timer_entry);
|
|
@@ -1608,6 +1611,7 @@ static void uas_process_req_reply_error(sp_ses_uas_t *uas, int tsx_id, int err)
|
|
|
|
|
|
iobuffer_write_head(ans_pkt, IOBUF_T_I4, &tsx_id, 0);
|
|
|
sp_svc_post(uas->mgr->svc, uas->remote_epid, uas->remote_svc_id, SP_PKT_SES|SES_CMD_ANS, uas->conn_id, &ans_pkt);
|
|
|
+ WLog_INFO(TAG, "uas_process_req_reply_error remote_epid:%d, remote_svc_id:%d", uas->remote_epid, uas->remote_svc_id);
|
|
|
if (ans_pkt)
|
|
|
iobuffer_dec_ref(ans_pkt);
|
|
|
}
|