Skip to content

Commit

Permalink
tmx: removed mi commands
Browse files Browse the repository at this point in the history
- the equivalent rpc commands are implemented in tm module
  • Loading branch information
miconda committed Jan 2, 2017
1 parent 5839001 commit 2a02744
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 1,088 deletions.
3 changes: 0 additions & 3 deletions src/modules/tmx/Makefile
Expand Up @@ -11,7 +11,4 @@ LIBS=

DEFS+=-DKAMAILIO_MOD_INTERFACE

SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/kmi/kmi

include ../../Makefile.modules
155 changes: 1 addition & 154 deletions src/modules/tmx/doc/tmx_admin.xml
Expand Up @@ -464,7 +464,7 @@ event_route [tm:branch-failure:contact] {
</section>

<section>
<title>Exported pseudo-variables</title>
<title>Exported Variables</title>
<itemizedlist>
<listitem><para>
<emphasis>$T_branch_idx</emphasis>
Expand Down Expand Up @@ -502,159 +502,6 @@ event_route [tm:branch-failure:contact] {
</para>
</section>


<section>
<title>MI Commands</title>

<section id="tmx.mi.t_uac_dlg">
<title>
<function moreinfo="none">t_uac_dlg</function>
</title>
<para>
Generates and sends a local SIP request.
</para>
<para>Parameters: </para>
<itemizedlist>
<listitem><para>
<emphasis>method</emphasis> - request method
</para></listitem>
<listitem><para>
<emphasis>RURI</emphasis> - request SIP URI
</para></listitem>
<listitem><para>
<emphasis>NEXT HOP</emphasis> - next hop SIP URI (OBP);
use <quote>.</quote> if no value.
</para></listitem>
<listitem><para>
<emphasis>socket</emphasis> - local socket to be used for
sending the request; use <quote>.</quote> if no value.
</para></listitem>
<listitem><para>
<emphasis>headers</emphasis> - set of additional headers to
be added to the request; at least
<quote>From</quote> and <quote>To</quote> headers must be
specify)
</para></listitem>
<listitem><para>
<emphasis>body</emphasis> - (optional, may not be present)
request body (if present, requires the
<quote>Content-Type</quote> and <quote>Content-length</quote>
headers)
</para></listitem>
</itemizedlist>
</section>

<section id="tmx.mi.t_uac_cancel">
<title>
<function moreinfo="none">t_uac_cancel</function>
</title>
<para>
Generates and sends a CANCEL for an existing local SIP request.
</para>
<para>Parameters: </para>
<itemizedlist>
<listitem><para>
<emphasis>callid</emphasis> - callid of the INVITE request
to be cancelled.
</para></listitem>
<listitem><para>
<emphasis>cseq</emphasis> - cseq of the INVITE request to be
cancelled.
</para></listitem>
</itemizedlist>
</section>

<section id="tmx.mi.t_hash">
<title>
<function moreinfo="none">t_hash</function>
</title>
<para>
Gets information about the load of TM internal hash table.
</para>
<para>Parameters: </para>
<itemizedlist>
<listitem><para>
<emphasis>none</emphasis>
</para></listitem>
</itemizedlist>
</section>

<section id="tmx.mi.t_reply">
<title>
<function moreinfo="none">t_reply</function>
</title>
<para>
Generates and sends a reply for an existing inbound SIP transaction.
</para>
<para>Parameters: </para>
<itemizedlist>
<listitem><para>
<emphasis>code</emphasis> - reply code
</para></listitem>
<listitem><para>
<emphasis>reason</emphasis> - reason phrase.
</para></listitem>
<listitem><para>
<emphasis>trans_id</emphasis> - transaction identifier
(has the hash_entry:label format)
</para></listitem>
<listitem><para>
<emphasis>to_tag</emphasis> - To tag to be added to TO header
</para></listitem>
<listitem><para>
<emphasis>new_headers</emphasis> - extra headers to be
appended to the reply; use a dot (<quote>.</quote>) char
only if there are no headers;
</para></listitem>
<listitem><para>
<emphasis>body</emphasis> - (optional, may not be present)
reply body (if present, requires the
<quote>Content-Type</quote> and <quote>Content-length</quote>
headers)
</para></listitem>
</itemizedlist>
</section>
<section id="tmx.mi.t_reply_callid">
<title>
<function moreinfo="none">t_reply_callid</function>
</title>
<para>
Generates and sends a reply for an existing inbound SIP transaction.
</para>
<para>Parameters: </para>
<itemizedlist>
<listitem><para>
<emphasis>code</emphasis> - reply code
</para></listitem>
<listitem><para>
<emphasis>reason</emphasis> - reason phrase.
</para></listitem>
<listitem><para>
<emphasis>callid</emphasis> - SIP Call-ID header
</para></listitem>
<listitem><para>
<emphasis>cseq</emphasis> - SIP CSeq header
</para></listitem>
<listitem><para>
<emphasis>to_tag</emphasis> - To tag to be added to TO header
</para></listitem>
<listitem><para>
<emphasis>new_headers</emphasis> - extra headers to be
appended to the reply; use a dot (<quote>.</quote>) char
only if there are no headers;
</para></listitem>
<listitem><para>
<emphasis>body</emphasis> - (optional, may not be present)
reply body (if present, requires the
<quote>Content-Type</quote> and <quote>Content-length</quote>
headers)
</para></listitem>
</itemizedlist>
</section>

</section>


<section>
<title>Statistics</title>
<para>
Expand Down

0 comments on commit 2a02744

Please sign in to comment.