On 13/11/14 02:44, Juha Heinanen wrote:
Olle E. Johansson writes:
Some of us worked hard to try to implement all MI
commands in RPC in
an earlier release. If anything is still
missing, please fix it or send an e-mail to the list. We should have
more RPC than MI in the coming release.
Olle,
I recently made backwards incompatible modification to pua_publish mi
command. Before doing that I tried to implement corresponding rpc
command. However, pua_publish is an asynchronous MI command and I did
not find any documentation nor a corresponding example on how to write
asynchronous rpc command. So in my case, it was lack of api
documentation that prevented me implementing the rpc command.
Check rpc_t_uac_wait() implementation in tm/rpc_uac.c -- it seems to be
what you are looking for as an example.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 24-27, Berlin -
http://www.asipto.com