[sr-dev] git:master: modules/tsilo: added MI commands
Juha Heinanen
jh at tutpro.com
Sat Nov 15 06:08:23 CET 2014
Daniel-Constantin Mierla writes:
> Check rpc_t_uac_wait() implementation in tm/rpc_uac.c -- it seems to be
> what you are looking for as an example.
it appears that this example does not support async mode:
* Note: this version will wait for the transaction final reply
* only if reply_wait is set to 1. Otherwise the rpc reply will be sent
* immediately and it will be success if the paremters were ok and t_uac did
* not report any error.
* Note: reply waiting (reply_wait==1) is not yet supported.
and
if (reply_wait && (rpc->capabilities == 0 ||
!(rpc->capabilities(c) & RPC_DELAYED_REPLY))) {
rpc->fault(c, 600, "Reply wait/async mode not supported"
" by this rpc transport"
-- juha
More information about the sr-dev
mailing list