From a512f3b22b1b570ef6e5afea5d25e254dd953b67 Mon Sep 17 00:00:00 2001 From: Norm Brandinger Date: Fri, 21 Jun 2024 08:56:10 -0400 Subject: [PATCH] Update b2b_logic_admin.xml Added parens around b2b_logic.entities to correct the examples. --- modules/b2b_logic/doc/b2b_logic_admin.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/b2b_logic/doc/b2b_logic_admin.xml b/modules/b2b_logic/doc/b2b_logic_admin.xml index e74f563b0ca..300a677e2bb 100644 --- a/modules/b2b_logic/doc/b2b_logic_admin.xml +++ b/modules/b2b_logic/doc/b2b_logic_admin.xml @@ -812,7 +812,7 @@ route[b2b_logic_request] { ... route[b2b_logic_reply] { ... - if ($b2b_logic.entity(id) == "client1" && $rm == "INVITE" && $rs >= 300) { + if ($(b2b_logic.entity(id)[0]) == "client1" && $rm == "INVITE" && $rs >= 300) { b2b_client_new("client_retry", "sip:alice@opensips.org"); b2b_bridge_retry("client_retry"); @@ -874,7 +874,7 @@ route[b2b_logic_request] { ... route[b2b_logic_reply] { - xlog("B2B REPLY: [$rs $rm] from entity: $b2b_logic.entity(id)\n"); + xlog("B2B REPLY: [$rs $rm] from entity: $(b2b_logic.entity(id)[0])\n"); b2b_handle_reply(); } ... @@ -1311,7 +1311,7 @@ local_route {
- <varname>$b2b_logic.entity(field)[idx]</varname> + <varname>$(b2b_logic.entity(field)[idx])</varname> This is a read-only variable that returns information about the