Skip to content

Commit dd9400f

Browse files
Rebuild documentation
1 parent 4ccf042 commit dd9400f

4 files changed

Lines changed: 36 additions & 14 deletions

File tree

modules/b2b_logic/README

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ B2B_LOGIC
8080
1.7.2. $b2b_logic.entity(field)[idx]
8181
1.7.3. $b2b_logic.ctx(key)
8282
1.7.4. $b2b_logic.scenario(key)
83+
1.7.5. $b2b_logic.peer(b2b_key)
8384

8485
2. Developer Guide
8586

@@ -147,6 +148,7 @@ B2B_LOGIC
147148
1.35. $b2b_logic.entity usage
148149
1.36. $b2b_logic.ctx usage
149150
1.37. $b2b_logic.scenario usage
151+
1.38. $b2b_logic.peer usage
150152
2.1. b2bl_api_t structure
151153

152154
Chapter 1. Admin Guide
@@ -961,6 +963,9 @@ nsips.org
961963
* flag (optional) - used to specify that the callee must be
962964
bridged to the new destination. If not present the caller
963965
will be bridged. Possible values are '0' or '1'.
966+
. If missing and the b2b_logic key is in the
967+
callid;from-tag;to-tag form, the module determines the
968+
entity based on the key used.
964969
* prov_media_uri (optional) - the uri of a media server able
965970
to play provisional media starting from the beginning of
966971
the bridging scenario to the end of it. It is optional. If
@@ -1121,6 +1126,19 @@ route[b2b_logic_request] {
11211126
}
11221127
...
11231128

1129+
1.7.5. $b2b_logic.peer(b2b_key)
1130+
1131+
This is a read-only variable that returns the peer discussing
1132+
with the associated b2b_key, provided in the
1133+
callid;from-tag;to-tag format.
1134+
1135+
Example 1.38. $b2b_logic.peer usage
1136+
...
1137+
$var(b2b_key) = $ci + ';' + $ft + ';' + $tt;
1138+
xlog("$var(b2b_key) is talking to $b2b_logic.peer($var(b2b_key))
1139+
\n");
1140+
...
1141+
11241142
Chapter 2. Developer Guide
11251143

11261144
The module provides an API that can be used from other OpenSIPS
@@ -1274,7 +1292,7 @@ Chapter 3. Contributors
12741292
commits^(2) and lines added/removed^(3)
12751293
Name DevScore Commits Lines ++ Lines --
12761294
1. Vlad Patrascu (@rvlad-patrascu) 239 57 8167 6793
1277-
2. Razvan Crainea (@razvancrainea) 44 27 1210 311
1295+
2. Razvan Crainea (@razvancrainea) 48 30 1414 332
12781296
3. Bogdan-Andrei Iancu (@bogdan-iancu) 15 11 152 76
12791297
4. Nick Altmann (@nikbyte) 14 10 346 36
12801298
5. Carsten Bock 12 5 679 23

modules/b2b_logic/doc/contributors.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
<row>
3030
<entry>2. </entry>
3131
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
32-
<entry align="center">44</entry>
33-
<entry align="center">27</entry>
34-
<entry align="center">1210</entry>
35-
<entry align="center">311</entry>
32+
<entry align="center">48</entry>
33+
<entry align="center">30</entry>
34+
<entry align="center">1414</entry>
35+
<entry align="center">332</entry>
3636
</row>
3737
<row>
3838
<entry>3. </entry>

modules/siprec/README

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,12 @@ modparam("siprec", "skip_failover_codes", "[34][0-9][0-9]")
238238
disabled for those participants.
239239

240240
Note that the call recording is not started right away, but
241-
only when the call is actually answered - 200 OK is sent by the
242-
callee.
241+
only when the callee provides an SDP as well (usually in a 200
242+
OK, or possibly a 183 Ringing).
243+
244+
Note if you only want to start recording when the call is
245+
established (200 OK is received), then you should call this
246+
function in the onreply route processing that 200 OK.
243247

244248
Parameters:
245249
* srs (string) - a comma-separated list of SRS URIs. These
@@ -449,7 +453,7 @@ Chapter 2. Contributors
449453
Table 2.1. Top contributors by DevScore^(1), authored
450454
commits^(2) and lines added/removed^(3)
451455
Name DevScore Commits Lines ++ Lines --
452-
1. Razvan Crainea (@razvancrainea) 187 96 6353 2210
456+
1. Razvan Crainea (@razvancrainea) 188 97 6361 2212
453457
2. Vlad Patrascu (@rvlad-patrascu) 16 11 166 149
454458
3. Liviu Chircu (@liviuchircu) 9 7 35 53
455459
4. Maksym Sobolyev (@sobomax) 6 4 12 11
@@ -477,7 +481,7 @@ Chapter 2. Contributors
477481

478482
Table 2.2. Most recently active contributors^(1) to this module
479483
Name Commit Activity
480-
1. Razvan Crainea (@razvancrainea) Jun 2017 - Apr 2025
484+
1. Razvan Crainea (@razvancrainea) Jun 2017 - Jun 2025
481485
2. Maksym Sobolyev (@sobomax) Feb 2023 - Nov 2023
482486
3. Seyed Mehran Siadati Nov 2023 - Nov 2023
483487
4. Liviu Chircu (@liviuchircu) Apr 2018 - Aug 2023

modules/siprec/doc/contributors.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
<row>
2222
<entry>1. </entry>
2323
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
24-
<entry align="center">187</entry>
25-
<entry align="center">96</entry>
26-
<entry align="center">6353</entry>
27-
<entry align="center">2210</entry>
24+
<entry align="center">188</entry>
25+
<entry align="center">97</entry>
26+
<entry align="center">6361</entry>
27+
<entry align="center">2212</entry>
2828
</row>
2929
<row>
3030
<entry>2. </entry>
@@ -105,7 +105,7 @@
105105
<row>
106106
<entry>1. </entry>
107107
<entry>Razvan Crainea (<ulink url="https://github.com/razvancrainea">@razvancrainea</ulink>)</entry>
108-
<entry align="center">Jun 2017 - Apr 2025</entry>
108+
<entry align="center">Jun 2017 - Jun 2025</entry>
109109
</row>
110110
<row>
111111
<entry>2. </entry>

0 commit comments

Comments
 (0)