Module: kamailio Branch: master Commit: 421c530ec6ae663ae0ad9f65c19dc6e454d4774b URL: https://github.com/kamailio/kamailio/commit/421c530ec6ae663ae0ad9f65c19dc6e454d4774b
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-01-21T10:00:21+01:00 corex: docs for add_tcp_alias() --- Modified: src/modules/corex/doc/corex_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/421c530ec6ae663ae0ad9f65c19dc6e454d4774b.diff Patch: https://github.com/kamailio/kamailio/commit/421c530ec6ae663ae0ad9f65c19dc6e454d4774b.patch --- diff --git a/src/modules/corex/doc/corex_admin.xml b/src/modules/corex/doc/corex_admin.xml index 0b0797a5fec..7b9ca1400e0 100644 --- a/src/modules/corex/doc/corex_admin.xml +++ b/src/modules/corex/doc/corex_admin.xml @@ -1142,6 +1142,29 @@ msg_vbflag_reset("1"); </programlisting> </example> </section> + <section id="corex.f.add_tcp_alias"> + <title> + <function moreinfo="none">add_tcp_alias(port)</function> + </title> + <para> + Add an alias to the TCP connection with the port parameter. If the + port is 0, then the port of the first Via-header is used. The + parameter can also be a variable holding an integer port value. + </para> + <para> + This function can be used from ANY_ROUTE. + </para> + <example> + <title><function>add_tcp_alias</function> usage</title> + <programlisting format="linespecific"> +... + add_tcp_alias("5062"); +... + add_tcp_alias("$sp"); +... +</programlisting> + </example> + </section> </section> <section> _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
