Hi everyone I am trying to setup some pinned routing in freeswitch strictly through the xml dialplan, so not using any external scripts to validate pins, that being said i have written a sample dial plan below and it seems to fail, not sure why.<br>
<br>The parts that are failing are actually detecting a valid pin was placed in as well as hanging up the phone call when more than 3 attempts have been made.  can anyone please help me figure out why this is not working.<br>
<br>&lt;extension name=&quot;pinned_route_test&quot; inline=&quot;true&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^5555$&quot;&gt;<br>        &lt;action application=&quot;answer&quot;/&gt;<br>
        &lt;action application=&quot;log&quot; data=&quot;INFO Attempting to obtain pin&quot;/&gt;<br>        &lt;action application=&quot;play_and_get_digits&quot; data=&quot;4 10 3 3000 # conference\8000\conf-pin.wav silence_stream://250 inputted_validation_pin \d+&quot;/&gt;<br>
        &lt;action application=&quot;log&quot; data=&quot;INFO Pin Number obtained ${inputted_validation_pin}.&quot;/&gt;<br>        &lt;action application=&quot;set&quot; data=&quot;pin_attempts=${expr(${pin_attempts}+1)}&quot;/&gt;<br>
        &lt;action application=&quot;log&quot; data=&quot;INFO # of pin attempts ${pin_attempts}.&quot;/&gt;<br>      &lt;/condition&gt;<br>      &lt;condition field=&quot;inputted_validation_pin&quot; expression=&quot;1234&quot; break=&quot;on-true&quot;&gt;<br>
        &lt;action application=&quot;log&quot; data=&quot;INFO Pin number entered was valid&quot;/&gt;<br>        &lt;anti-action application=&quot;log&quot; data=&quot;INFO 1234 is not a valid match for the inputted pin ${inputted_validation_pin}.&quot;/&gt;<br>
      &lt;/condition&gt;<br>      &lt;condition field=&quot;pin_attempts&quot; expression=&quot;3&quot;&gt;<br>        &lt;action application=&quot;playback&quot; data=&quot;conference\8000\conf-goodbye.wav&quot;/&gt;<br>
        &lt;action application=&quot;hangup&quot;/&gt;<br>        &lt;anti-action application=&quot;log&quot; data=&quot;INFO invalid pin was inputted for attemp ${pin_attempts}.&quot;/&gt;<br>        &lt;anti-action application=&quot;playback&quot; data=&quot;conference\8000\conf-bad-pin.wav&quot;/&gt;<br>
        &lt;anti-action application=&quot;log&quot; data=&quot;INFO restarting extension pinned_route_test.&quot;/&gt;<br>        &lt;anti-action application=&quot;transfer&quot; data=&quot;${destination_number} XML default&quot;/&gt;<br>
      &lt;/condition&gt;<br>    &lt;/extension&gt;<br>