Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update b2b_logic_admin.xml example syntax #3420

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/b2b_logic/doc/b2b_logic_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]");

b2b_bridge_retry("client_retry");
Expand Down Expand Up @@ -874,7 +874,7 @@ route[b2b_logic_request] {
<programlisting format="linespecific">
...
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();
}
...
Expand Down Expand Up @@ -1311,7 +1311,7 @@ local_route {

<section id="b2b_logic.entity" xreflabel="$b2b_logic.entity">
<title>
<varname>$b2b_logic.entity(field)[idx]</varname>
<varname>$(b2b_logic.entity(field)[idx])</varname>
</title>
<para>
This is a read-only variable that returns information about the
Expand Down