Skip to content

Commit

Permalink
Rebuild documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
opensips-github committed Dec 23, 2023
1 parent d3f31a0 commit 741abd2
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 41 deletions.
4 changes: 2 additions & 2 deletions modules/b2b_logic/README
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ Chapter 3. Contributors
commits^(2) and lines added/removed^(3)
Name DevScore Commits Lines ++ Lines --
1. Vlad Patrascu (@rvlad-patrascu) 235 57 8167 6793
2. Razvan Crainea (@razvancrainea) 23 12 770 226
2. Razvan Crainea (@razvancrainea) 24 13 774 226
3. Nick Altmann (@nikbyte) 14 10 346 36
4. Carsten Bock 12 5 679 23
5. Bogdan-Andrei Iancu (@bogdan-iancu) 11 7 143 64
Expand Down Expand Up @@ -1272,7 +1272,7 @@ Chapter 3. Contributors

Table 3.2. Most recently active contributors^(1) to this module
Name Commit Activity
1. Razvan Crainea (@razvancrainea) Jan 2021 - Sep 2023
1. Razvan Crainea (@razvancrainea) Jan 2021 - Oct 2023
2. Bogdan-Andrei Iancu (@bogdan-iancu) Apr 2021 - Sep 2023
3. Vlad Patrascu (@rvlad-patrascu) Nov 2020 - Jul 2023
4. Shanee Vanstone Apr 2023 - Apr 2023
Expand Down
8 changes: 4 additions & 4 deletions modules/b2b_logic/doc/contributors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<row>
<entry>2. </entry>
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
<entry align="center">23</entry>
<entry align="center">12</entry>
<entry align="center">770</entry>
<entry align="center">24</entry>
<entry align="center">13</entry>
<entry align="center">774</entry>
<entry align="center">226</entry>
</row>
<row>
Expand Down Expand Up @@ -129,7 +129,7 @@
<row>
<entry>1. </entry>
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
<entry align="center">Jan 2021 - Sep 2023</entry>
<entry align="center">Jan 2021 - Oct 2023</entry>
</row>
<row>
<entry>2. </entry>
Expand Down
53 changes: 43 additions & 10 deletions modules/call_center/README
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Call-Center Module
1.4.29. ccf_m_queue_column (string)
1.4.30. ccf_m_dissuading_column (string)
1.4.31. ccf_m_flow_id_column (string)
1.4.32. b2b_logic_ctx_param (string)

1.5. Exported Functions

Expand Down Expand Up @@ -134,9 +135,10 @@ Call-Center Module
1.29. Set ccf_m_queue_column parameter
1.30. Set ccf_m_dissuading_column parameter
1.31. Set ccf_m_flow_id_column parameter
1.32. cc_handle_call usage
1.33. cc_agent_login usage
1.34. $rtpquery Usage
1.32. Set b2b_logic_ctx_param parameter
1.33. cc_handle_call usage
1.34. cc_agent_login usage
1.35. $rtpquery Usage

Chapter 1. Admin Guide

Expand Down Expand Up @@ -691,6 +693,35 @@ modparam("call_center", "ccf_m_dissuading_column", "audio_dissuading")
modparam("call_center", "ccf_m_flow_id_column", "audio_flow_id")
...

1.4.32. b2b_logic_ctx_param (string)

The name of the $b2b_logic.ctx variable that can be used to
retrieve the value of the parameter passed to the
cc_handle_call function.

This parameter will be copied throughout all the B2B scenarios
started by the call_center module. NOTE that you can change the
value of the current scenario by writing into it, but the
change will not be reflected in a different scenario.

Default value is “call_center”.

Example 1.32. Set b2b_logic_ctx_param parameter
...
modparam("call_center", "b2b_logic_ctx_param", "b2b_callid")
...
route[handle_call_center] {
...
cc_handle_call("flow", $ci);
...
}
...
route[b2b_handle_request] {
...
xlog("Initial Callid is $b2b_logic.ctx(b2b_callid)\n");
...
}

1.5. Exported Functions

1.5.1. cc_handle_call( flowID [,param])
Expand All @@ -709,7 +740,9 @@ modparam("call_center", "ccf_m_flow_id_column", "audio_flow_id")
is intended for custom integration of the call center
module and it is 100% up to the script writer about the
value and purpose of this parameter, OpenSIPS will not
touch or interpret it.
touch or interpret it. You can retrieve the value of this
parameter using the $b2b_logic.ctx variable with the name
defined in the b2b_logic_ctx_param parameter.

The function returns TRUE back to the script if the call was
successfully pushed and handled by the Call Center engine.
Expand All @@ -724,7 +757,7 @@ modparam("call_center", "ccf_m_flow_id_column", "audio_flow_id")
* -4 - no agents logged in the flow;
* -5 - internal error;

Example 1.32. cc_handle_call usage
Example 1.33. cc_handle_call usage
...
if (is_method("INVITE") and !has_totag()) {
if (!cc_handle_call("tech_support")) {
Expand All @@ -745,7 +778,7 @@ if (is_method("INVITE") and !has_totag()) {
* state (int) - an integer value giving the new state - 0
means logged off, anything else means logged in.

Example 1.33. cc_agent_login usage
Example 1.34. cc_agent_login usage
...
# log off the 'agentX' agent
cc_agent_login("agentX",0);
Expand Down Expand Up @@ -1032,7 +1065,7 @@ opensips-cli -x mi cc_reset_stats
* preagent - the agent is being called.
* toagent - the agent is in call.

Example 1.34. $rtpquery Usage
Example 1.35. $rtpquery Usage
...
$json(reply) := $rtpquery;
xlog("Total RTP Stats: $json(reply/totals)\n");
Expand Down Expand Up @@ -1087,7 +1120,7 @@ Chapter 4. Contributors
commits^(2) and lines added/removed^(3)
Name DevScore Commits Lines ++ Lines --
1. Bogdan-Andrei Iancu (@bogdan-iancu) 109 44 6780 511
2. Razvan Crainea (@razvancrainea) 43 33 796 159
2. Razvan Crainea (@razvancrainea) 44 34 849 159
3. Vlad Patrascu (@rvlad-patrascu) 18 9 287 314
4. Liviu Chircu (@liviuchircu) 14 11 72 89
5. Maksym Sobolyev (@sobomax) 5 3 7 12
Expand Down Expand Up @@ -1135,8 +1168,8 @@ Chapter 5. Documentation

5.1. Contributors

Last edited by: Bogdan-Andrei Iancu (@bogdan-iancu), Razvan
Crainea (@razvancrainea), Vlad Patrascu (@rvlad-patrascu), Zero
Last edited by: Razvan Crainea (@razvancrainea), Bogdan-Andrei
Iancu (@bogdan-iancu), Vlad Patrascu (@rvlad-patrascu), Zero
King (@l2dy), Peter Lemenkov (@lemenkov), Liviu Chircu
(@liviuchircu).

Expand Down
8 changes: 4 additions & 4 deletions modules/call_center/doc/contributors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<row>
<entry>2. </entry>
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
<entry align="center">43</entry>
<entry align="center">33</entry>
<entry align="center">796</entry>
<entry align="center">44</entry>
<entry align="center">34</entry>
<entry align="center">849</entry>
<entry align="center">159</entry>
</row>
<row>
Expand Down Expand Up @@ -190,7 +190,7 @@
<title>Documentation</title>
<section id="documentation_contributors" xreflabel="documentation_contributors">
<title>Contributors</title>
<para><emphasis role='bold'>Last edited by:</emphasis> Bogdan-Andrei Iancu (<ulink url="https://github.com/bogdan-iancu">@bogdan-iancu</ulink>), Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>), Vlad Patrascu (<ulink url="https://github.com/rvlad-patrascu">@rvlad-patrascu</ulink>), Zero King (<ulink url="https://github.com/l2dy">@l2dy</ulink>), Peter Lemenkov (<ulink url="https://github.com/lemenkov">@lemenkov</ulink>), Liviu Chircu (<ulink url="https://github.com/liviuchircu">@liviuchircu</ulink>).</para>
<para><emphasis role='bold'>Last edited by:</emphasis> Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>), Bogdan-Andrei Iancu (<ulink url="https://github.com/bogdan-iancu">@bogdan-iancu</ulink>), Vlad Patrascu (<ulink url="https://github.com/rvlad-patrascu">@rvlad-patrascu</ulink>), Zero King (<ulink url="https://github.com/l2dy">@l2dy</ulink>), Peter Lemenkov (<ulink url="https://github.com/lemenkov">@lemenkov</ulink>), Liviu Chircu (<ulink url="https://github.com/liviuchircu">@liviuchircu</ulink>).</para>
</section>

</chapter>
10 changes: 5 additions & 5 deletions modules/proto_hep/README
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ modparam("proto_hep", "hep_async_local_connect_timeout", 200)

Example 1.11. Set hep_async_local_write_timeout parameter
...
modparam("proto_hep", "tcp_async_local_write_timeout", 100)
modparam("proto_hep", "hep_async_local_write_timeout", 100)
...

1.4. Exported Functions
Expand Down Expand Up @@ -351,7 +351,7 @@ Chapter 3. Contributors
commits^(2) and lines added/removed^(3)
Name DevScore Commits Lines ++ Lines --
1. Ionut Ionita (@ionutrazvanionita) 149 66 8047 998
2. Razvan Crainea (@razvancrainea) 36 27 83 486
2. Razvan Crainea (@razvancrainea) 37 28 84 487
3. Bogdan-Andrei Iancu (@bogdan-iancu) 26 19 384 170
4. Liviu Chircu (@liviuchircu) 18 15 81 92
5. Vlad Patrascu (@rvlad-patrascu) 7 4 36 84
Expand Down Expand Up @@ -381,7 +381,7 @@ Chapter 3. Contributors

Table 3.2. Most recently active contributors^(1) to this module
Name Commit Activity
1. Razvan Crainea (@razvancrainea) Nov 2015 - Jul 2023
1. Razvan Crainea (@razvancrainea) Nov 2015 - Oct 2023
2. Maksym Sobolyev (@sobomax) Feb 2023 - Feb 2023
3. Liviu Chircu (@liviuchircu) Mar 2016 - Oct 2022
4. Nick Altmann (@nikbyte) May 2021 - May 2021
Expand All @@ -399,8 +399,8 @@ Chapter 4. Documentation

4.1. Contributors

Last edited by: Bogdan-Andrei Iancu (@bogdan-iancu), Liviu
Chircu (@liviuchircu), Razvan Crainea (@razvancrainea), Vlad
Last edited by: Razvan Crainea (@razvancrainea), Bogdan-Andrei
Iancu (@bogdan-iancu), Liviu Chircu (@liviuchircu), Vlad
Patrascu (@rvlad-patrascu), Peter Lemenkov (@lemenkov), Ionut
Ionita (@ionutrazvanionita).

Expand Down
12 changes: 6 additions & 6 deletions modules/proto_hep/doc/contributors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
<row>
<entry>2. </entry>
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
<entry align="center">36</entry>
<entry align="center">27</entry>
<entry align="center">83</entry>
<entry align="center">486</entry>
<entry align="center">37</entry>
<entry align="center">28</entry>
<entry align="center">84</entry>
<entry align="center">487</entry>
</row>
<row>
<entry>3. </entry>
Expand Down Expand Up @@ -129,7 +129,7 @@
<row>
<entry>1. </entry>
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
<entry align="center">Nov 2015 - Jul 2023</entry>
<entry align="center">Nov 2015 - Oct 2023</entry>
</row>
<row>
<entry>2. </entry>
Expand Down Expand Up @@ -190,7 +190,7 @@
<title>Documentation</title>
<section id="documentation_contributors" xreflabel="documentation_contributors">
<title>Contributors</title>
<para><emphasis role='bold'>Last edited by:</emphasis> Bogdan-Andrei Iancu (<ulink url="https://github.com/bogdan-iancu">@bogdan-iancu</ulink>), Liviu Chircu (<ulink url="https://github.com/liviuchircu">@liviuchircu</ulink>), Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>), Vlad Patrascu (<ulink url="https://github.com/rvlad-patrascu">@rvlad-patrascu</ulink>), Peter Lemenkov (<ulink url="https://github.com/lemenkov">@lemenkov</ulink>), Ionut Ionita (<ulink url="https://github.com/ionutrazvanionita">@ionutrazvanionita</ulink>).</para>
<para><emphasis role='bold'>Last edited by:</emphasis> Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>), Bogdan-Andrei Iancu (<ulink url="https://github.com/bogdan-iancu">@bogdan-iancu</ulink>), Liviu Chircu (<ulink url="https://github.com/liviuchircu">@liviuchircu</ulink>), Vlad Patrascu (<ulink url="https://github.com/rvlad-patrascu">@rvlad-patrascu</ulink>), Peter Lemenkov (<ulink url="https://github.com/lemenkov">@lemenkov</ulink>), Ionut Ionita (<ulink url="https://github.com/ionutrazvanionita">@ionutrazvanionita</ulink>).</para>
</section>

</chapter>
14 changes: 8 additions & 6 deletions modules/tls_wolfssl/README
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ Chapter 3. Contributors
2. Razvan Crainea (@razvancrainea) 6 4 114 49
3. Bogdan-Andrei Iancu (@bogdan-iancu) 4 2 4 4
4. Maksym Sobolyev (@sobomax) 4 2 2 2
5. Alexey Vasilyev (@vasilevalex) 2 1 11 0
5. Liviu Chircu (@liviuchircu) 3 1 2 2
6. Alexey Vasilyev (@vasilevalex) 2 1 11 0

(1) DevScore = author_commits + author_lines_added /
(project_lines_added / project_commits) + author_lines_deleted
Expand All @@ -118,11 +119,12 @@ Chapter 3. Contributors

Table 3.2. Most recently active contributors^(1) to this module
Name Commit Activity
1. Bogdan-Andrei Iancu (@bogdan-iancu) May 2023 - Oct 2023
2. Razvan Crainea (@razvancrainea) Sep 2023 - Oct 2023
3. Vlad Patrascu (@rvlad-patrascu) May 2021 - Mar 2023
4. Maksym Sobolyev (@sobomax) Feb 2023 - Feb 2023
5. Alexey Vasilyev (@vasilevalex) Jan 2022 - Jan 2022
1. Liviu Chircu (@liviuchircu) Oct 2023 - Oct 2023
2. Bogdan-Andrei Iancu (@bogdan-iancu) May 2023 - Oct 2023
3. Razvan Crainea (@razvancrainea) Sep 2023 - Oct 2023
4. Vlad Patrascu (@rvlad-patrascu) May 2021 - Mar 2023
5. Maksym Sobolyev (@sobomax) Feb 2023 - Feb 2023
6. Alexey Vasilyev (@vasilevalex) Jan 2022 - Jan 2022

(1) including any documentation-related commits, excluding
merge commits
Expand Down
21 changes: 17 additions & 4 deletions modules/tls_wolfssl/doc/contributors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@
</row>
<row>
<entry>5. </entry>
<entry>Liviu Chircu (<ulink url="https://github.com/liviuchircu">@liviuchircu</ulink>)</entry>
<entry align="center">3</entry>
<entry align="center">1</entry>
<entry align="center">2</entry>
<entry align="center">2</entry>
</row>
<row>
<entry>6. </entry>
<entry>Alexey Vasilyev (<ulink url="https://github.com/vasilevalex">@vasilevalex</ulink>)</entry>
<entry align="center">2</entry>
<entry align="center">1</entry>
Expand Down Expand Up @@ -88,26 +96,31 @@
<tbody>
<row>
<entry>1. </entry>
<entry>Liviu Chircu (<ulink url="https://github.com/liviuchircu">@liviuchircu</ulink>)</entry>
<entry align="center">Oct 2023 - Oct 2023</entry>
</row>
<row>
<entry>2. </entry>
<entry>Bogdan-Andrei Iancu (<ulink url="https://github.com/bogdan-iancu">@bogdan-iancu</ulink>)</entry>
<entry align="center">May 2023 - Oct 2023</entry>
</row>
<row>
<entry>2. </entry>
<entry>3. </entry>
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
<entry align="center">Sep 2023 - Oct 2023</entry>
</row>
<row>
<entry>3. </entry>
<entry>4. </entry>
<entry>Vlad Patrascu (<ulink url="https://github.com/rvlad-patrascu">@rvlad-patrascu</ulink>)</entry>
<entry align="center">May 2021 - Mar 2023</entry>
</row>
<row>
<entry>4. </entry>
<entry>5. </entry>
<entry>Maksym Sobolyev (<ulink url="https://github.com/sobomax">@sobomax</ulink>)</entry>
<entry align="center">Feb 2023 - Feb 2023</entry>
</row>
<row>
<entry>5. </entry>
<entry>6. </entry>
<entry>Alexey Vasilyev (<ulink url="https://github.com/vasilevalex">@vasilevalex</ulink>)</entry>
<entry align="center">Jan 2022 - Jan 2022</entry>
</row>
Expand Down

0 comments on commit 741abd2

Please sign in to comment.