Module: kamailio
Branch: master
Commit: abecca7f6515a454b3394ec0df7f535a6a52e1e9
URL:
https://github.com/kamailio/kamailio/commit/abecca7f6515a454b3394ec0df7f535…
Author: Mathias WOLFF <mathias(a)celea.org>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-02-25T20:37:57+01:00
update example using IP address reserved for documentation
---
Modified: src/modules/rtjson/doc/rtjson_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/abecca7f6515a454b3394ec0df7f535…
Patch:
https://github.com/kamailio/kamailio/commit/abecca7f6515a454b3394ec0df7f535…
---
diff --git a/src/modules/rtjson/doc/rtjson_admin.xml
b/src/modules/rtjson/doc/rtjson_admin.xml
index e2240f03f3..1492e82d5a 100644
--- a/src/modules/rtjson/doc/rtjson_admin.xml
+++ b/src/modules/rtjson/doc/rtjson_admin.xml
@@ -280,50 +280,50 @@ branch_route[OUTGOING] {
<programlisting format="linespecific">
...
{
- "version": "1.0",
- "routing": "serial",
- "routes": [
- {
- "uri": "sip:127.0.0.1:5080",
- "dst_uri": "sip:127.0.0.1:5082",
- "path": "<sip:127.0.0.1:5084>,
<sip:127.0.0.1:5086>",
- "socket": "udp:127.0.0.1:5060",
- "headers": {
- "from": {
- "display": "Alice",
- "uri": "sip:alice@127.0.0.1"
- },
- "to": {
- "display": "Alice",
- "uri": "sip:alice@127.0.0.1"
- },
- "extra": "X-Hdr-A: abc\r\nX-Hdr-B: bcd\r\n"
- },
- "branch_flags": 8,
- "fr_timer": 5000,
- "fr_inv_timer": 30000
- },
- {
- "uri": "sip:127.0.0.1:5080",
- "dst_uri": "sip:127.0.0.1:5082",
- "path": "<sip:127.0.0.1:5084>,
<sip:127.0.0.1:5086>",
- "socket": "udp:127.0.0.1:5060",
- "headers": {
- "from": {
- "display": "Alice",
- "uri": "sip:alice@127.0.0.1"
- },
- "to": {
- "display": "Alice",
- "uri": "sip:alice@127.0.0.1"
- },
- "extra": "X-Hdr-A: abc\r\nX-Hdr-B: bcd\r\n"
- },
- "branch_flags": 8,
- "fr_timer": 5000,
- "fr_inv_timer": 30000
- }
- ]
+ "version": "1.0",
+ "routing": "serial",
+ "routes": [
+ {
+ "uri": "sip:bob@b.example.org:5060",
+ "dst_uri": "sip:192.0.2.1:5060",
+ "path": "<sip:192.0.2.2:5084>,
<sip:192.0.2.2:5086>",
+ "socket": "udp:192.0.2.20:5060",
+ "headers": {
+ "from": {
+ "display": "Alice",
+ "uri":
"sip:alice@a.example.org"
+ },
+ "to": {
+ "display": "Bob",
+ "uri":
"sip:bob@b.example.org"
+ },
+ "extra": "X-Hdr-A: abc\r\nX-Hdr-B:
bcd\r\n"
+ },
+ "branch_flags": 8,
+ "fr_timer": 5000,
+ "fr_inv_timer": 30000
+ },
+ {
+ "uri": "sip:bob@b.example.org:5060",
+ "dst_uri": "sip:192.0.2.10:5060",
+ "path": "<sip:192.0.2.2:5084>,
<sip:192.0.2.2:5086>",
+ "socket": "udp:192.0.2.20:5060",
+ "headers": {
+ "from": {
+ "display": "Alice",
+ "uri":
"sip:alice@a.example.org"
+ },
+ "to": {
+ "display": "Bob",
+ "uri":
"sip:bob@b.example.org"
+ },
+ "extra": "P-Asserted-Identity:
\u003csip:alice@a.example.org\u003e\r\n"
+ },
+ "branch_flags": 8,
+ "fr_timer": 5000,
+ "fr_inv_timer": 30000
+ },
+ ]
}
...
</programlisting>