Is it possible to keep a persistent variable throughout a dialog when using the B2B module?  I tried the Dialog modules (set_dlg_flag() and is_dlg_flag_set()) and $dlg_val variable but none worked.  Not sure why.<br><br>route[b2b_request] {<br>
<br>        if (search_body(&quot;a=sendonly&quot;) &amp;&amp; method == &quot;INVITE&quot;){<br>                xlog(&quot;SEARCHING: rm [$rm]  BING BING FOUND IT\n&quot;);<br><br>                create_dialog();<br><br>
                $dlg_val(&quot;IsHolding&quot;) = &quot;1&quot;;<br><br>#               set_dlg_flag(&quot;3&quot;);<br>        };<br><br>$var(IsHolding) = $dlg_val(&quot;IsHolding&quot;);<br>xlog(&quot;************************************************* var is [$var(IsHolding)] and call is rm [$rm]\n&quot;);<br>
        #if (is_dlg_flag_set(&quot;3&quot;) &amp;&amp; method == &quot;ACK&quot;){<br>        if ($var(IsHolding) == &quot;1&quot; &amp;&amp; method == &quot;ACK&quot;){<br>                xlog(&quot;***********SEARCHING***********: rm [$rm]  WE HAVE AN ACK and VarISHolding equals one\n&quot;);<br>
        };<br><br>}<br><br><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span></span></span>