Hello,<br><br>I am getting a strange problem in my dialplan.<br><br>After doing &quot;SET&quot;, I want to use it in the next condition field.  But then the value is not being set properly.  <br><br>Could someone please tell me what is wrong?<br>
<br>Thanks,<br>Woody<br><br><br>Here is the dialplan:<br> &lt;context name=&quot;conf-execution&quot;&gt;<br>        &lt;extension name=&quot;get-pin&quot; continue=&quot;true&quot; &gt;<br>                &lt;condition field=&quot;${destination_number}&quot; expression=&quot;^(.*)$&quot; break=&quot;never&quot;&gt;<br>
<br>                        &lt;action application=&quot;set&quot; data=&quot;conference_id=111&quot;/&gt;<br>                        &lt;action application=&quot;set&quot; data=&quot;is_moderator=true&quot;/&gt;<br>                        &lt;action application=&quot;info&quot;/&gt;<br>
<br>                &lt;/condition&gt;<br>        &lt;/extension&gt;<br>        &lt;extension name=&quot;conf&quot;&gt;<br>                &lt;condition field=&quot;${is_moderator}&quot; expression=&quot;^true$&quot; break=&quot;never&quot;&gt;<br>                        &lt;action application=&quot;conference&quot; data=&quot;${conference_id}@default+flags{Moderator}+1234&quot;/&gt;<br>
<br>                &lt;/condition&gt;<br>                &lt;condition field=&quot;${is_moderator}&quot; expression=&quot;^false$&quot; break=&quot;never&quot;&gt;<br>                        &lt;action application=&quot;conference&quot; data=&quot;${conference_id}@default&quot;/&gt;<br>
<br>                &lt;/condition&gt;<br>                &lt;condition field=&quot;${is_moderator}&quot; expression=&quot;^$&quot; break=&quot;always&quot;&gt;<br>                        &lt;action application=&quot;playback&quot; data=&quot;/var/app/prompt/wav/bye.wav&quot;/&gt;<br>
                        &lt;action application=&quot;hangup&quot;/&gt;<br><br>                &lt;/condition&gt;<br>        &lt;/extension&gt;<br><br> &lt;/context&gt;<br><br><br>Here is the FS log.<br><br>Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> parsing [conf-execution-&gt;get-pin] continue=true<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Regex (PASS) [get-pin] ${destination_number}(117) =~ /^(.*)$/ break=never<br>Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Action set(conference_id=111)<br>
<span style="color: rgb(255, 0, 0);">Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Action set(is_moderator=true)</span><br>Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Action info()<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> parsing [conf-execution-&gt;conf] continue=false<br><span style="color: rgb(255, 0, 0);">Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Regex (FAIL) [conf] ${is_moderator}() =~ /^true$/ break=never</span><br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Regex (FAIL) [conf] ${is_moderator}() =~ /^false$/ break=never<br>Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Regex (PASS) [conf] ${is_moderator}() =~ /^$/ break=always<br>
Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Action playback(/var/app/prompt/wav/bye.wav)<br>Dialplan: sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> Action hangup()