Discussion:
[SR-Users] tm.t_uac_wait documentation?
Juha Heinanen
2014-09-25 14:05:51 UTC
Permalink
i could not find any documentation about tm.t_uac_wait rpc command. is
it documented somewhere?

-- juha
Daniel-Constantin Mierla
2014-09-25 15:14:21 UTC
Permalink
The rpc commands supposed to have documentation in the code, so you can do:

kamcmd help tm.t_uac_wait

There should be a char* array with doc strings when registering the
command in sources. But while not a really bad idea, it is not easy to
access and a bit odd place to add enhanced documentation, like with
examples.

So probably we should decide to add dedicated section in module docs
(some have actually already) or have a wiki page as for variables.

Cheers,
Daniel
Post by Juha Heinanen
i could not find any documentation about tm.t_uac_wait rpc command. is
it documented somewhere?
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Juha Heinanen
2014-09-25 18:43:11 UTC
Permalink
Post by Daniel-Constantin Mierla
kamcmd help tm.t_uac_wait
i did figure that out, but help text is not comprehensive. for example,
it appears that host !! of contact uri in headers is replaced by ip
address of the proxy and it has not been mentioned anywhere.

i then started to wonder what happens if listen= line has advertise
option. is !! replaced by advertise address or not. i tried to look
answer from the source, but could not.

can you point me where in the source contact host !! is handled?

-- juha
Daniel-Constantin Mierla
2014-09-29 07:27:19 UTC
Permalink
Post by Juha Heinanen
Post by Daniel-Constantin Mierla
kamcmd help tm.t_uac_wait
i did figure that out, but help text is not comprehensive. for example,
it appears that host !! of contact uri in headers is replaced by ip
address of the proxy and it has not been mentioned anywhere.
This specific function appears to be implemented by Andrei. IIRC, there
was a discussion with you about a version of t_uac that waits for
response, as the one from MI. But the !! could be inherited from the SER
version of the rpc call, and probably no much documentation.

Cheers,
Daniel
Post by Juha Heinanen
i then started to wonder what happens if listen= line has advertise
option. is !! replaced by advertise address or not. i tried to look
answer from the source, but could not.
can you point me where in the source contact host !! is handled?
-- juha
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Loading...