Skip to content

Commit

Permalink
tm: add examples for MI commands docs
Browse files Browse the repository at this point in the history
(cherry picked from commit 5f17ed5)
  • Loading branch information
rvlad-patrascu committed Jul 31, 2018
1 parent 0bd252c commit 67efdb9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions modules/tm/doc/tm_admin.xml
Expand Up @@ -1953,6 +1953,12 @@ if (is_method("ACK|CANCEL") && !t_check_trans()) {
headers)
</para></listitem>
</itemizedlist>
<para>
MI FIFO Command Format:
</para>
<programlisting format="linespecific">
opensipsctl fifo t_uac_dlg INVITE "sip:123456@127.0.0.1:5060 SIP/2.0" . . "\"From: sipp:6024151234@127.0.0.1:5090>\r\nTo: sip:test@127.0.0.1:5060\r\nContact: sip:sipp@127.0.0.1:5090\r\n"\"
</programlisting>
</section>

<section id="mi_t_uac_cancel" xreflabel="t_uac_cancel">
Expand All @@ -1973,6 +1979,12 @@ if (is_method("ACK|CANCEL") &amp;&amp; !t_check_trans()) {
cancelled.
</para></listitem>
</itemizedlist>
<para>
MI FIFO Command Format:
</para>
<programlisting format="linespecific">
opensipsctl fifo t_uac_cancel "1-23454@127.0.0.1" "1 INVITE"
</programlisting>
</section>

<section id="mi_t_hash" xreflabel="t_hash">
Expand All @@ -1988,6 +2000,12 @@ if (is_method("ACK|CANCEL") &amp;&amp; !t_check_trans()) {
<emphasis>none</emphasis>
</para></listitem>
</itemizedlist>
<para>
MI FIFO Command Format:
</para>
<programlisting format="linespecific">
opensipsctl fifo t_hash
</programlisting>
</section>

<section id="mi_t_reply" xreflabel="t_reply">
Expand Down Expand Up @@ -2024,6 +2042,12 @@ if (is_method("ACK|CANCEL") &amp;&amp; !t_check_trans()) {
headers)
</para></listitem>
</itemizedlist>
<para>
MI FIFO Command Format:
</para>
<programlisting format="linespecific">
opensipsctl fifo t_reply 403 Forbidden 46961:1279687637 abcde .
</programlisting>
</section>

</section>
Expand Down

0 comments on commit 67efdb9

Please sign in to comment.