Hi, <br><br>I have a question regarding editing the default.xml file in conf/dialplan.<br>What I want to do, is set the dialplan to record calls on specific extensions, for example, 1002, but not on other extensions.<br><br>
So far, I&#39;ve tried the following:<br><br><br>&lt;extension name=&quot;Local_Extension&quot;&gt;<br>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^(1002)$&quot;&gt;<br>           &lt;action application=&quot;set&quot; data=&quot;RECORD_TITLE=...<br>
                        :<br>                        :<br>           &lt;action application=&quot;record_session&quot; data=&quot;$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav&quot;/&gt;<br>
      &lt;/condition&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;<br>                        :<br>                        :<br>            the rest of the applications that were originally in Local_Extension are here<br>
                        :<br>                        :<br>      &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>The problem with this, is that now all other calls that do not dial 1002 give me the error message that the &quot;destination number is not available&quot;<br>
<br>I have also tried reversing the order:<br><br>&lt;extension name=&quot;Local_Extension&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;<br>
                        :<br>
                        :<br>
            the rest of the applications that were originally in Local_Extension are here<br>
                        :<br>
                        :<br>
      &lt;/condition&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(1002)$&quot;&gt;<br>
           &lt;action application=&quot;set&quot; data=&quot;RECORD_TITLE=...<br>

                        :<br>

                        :<br>

           &lt;action application=&quot;record_session&quot;
data=&quot;$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav&quot;/&gt;<br>

      &lt;/condition&gt;<br>
&lt;/extension&gt;<br><br>However, this results in no recording being done at all.<br><br>How do I fix this such that I only record calls to extension 1002, and allow all other calls through normally?<br><br>thanks<br>-Ian<br>