<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Let me explain. All inbound calls are routed via one single
      context, where they are parsed by source IP etc. I want to have an
      option to insert (and delete) rule that all call will be pass
      BEFORE any other rules like IP parsing. For example, external
      script is analyzing CDR and "shuts down" any international calls
      in case of emergency. I can do this easily by including file with
      dialplan rules in Yate. I want similiar functionality in FS.<br>
    </p>
     <br>
    <div class="moz-cite-prefix">23.06.2017 16:46, Giovanni Maruzzelli
      пишет:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALXCt0qUaZPuvHWNEx1uueN4fWLzmQVd=NDxOWzsG2xe1zxiTw@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 23 June 2017 at 15:40, Yu Boot <span
              dir="ltr"><<a href="mailto:yu@yu-boot.ru"
                target="_blank" moz-do-not-send="true">yu@yu-boot.ru</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF">
                <p>I want something like this:</p>
                <p>default.xml:</p>
                <p><extension></p>
                <p><condition></p>
                <p>....</p>
                <p></condition></p>
                <p></extension></p>
                <p><br>
                </p>
                <p>>>>>> include file.xml here
                  <<<<</p>
                <p><br>
                </p>
                <p><extension></p>
                <p><condition></p>
                <p>....</p>
                <p></condition></p>
                <p></extension></p>
                <p><br>
                </p>
                <p>Is it possible?<br>
                </p>
              </div>
            </blockquote>
            <div><br>
              is already like that. Also, being XML, is inherently
              structured.<br>
              <br>
            </div>
            <div>What I cannot understand is what you think you gain
              from this.<br>
              <br>
            </div>
            <div>Eg: it will not be automatically reloaded if you change
              the included files, you must "reloadxml" . Same would be
              if you edit the "already there" files... you would need to
              "reloadxml" <br>
              <br>
              <br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF">
                <p> </p>
                <br>
                <div class="gmail-m_-9034449046137178296moz-cite-prefix">23.06.2017
                  15:40, Giovanni Maruzzelli пишет:<br>
                </div>
                <div>
                  <div class="gmail-h5">
                    <blockquote type="cite">
                      <div dir="ltr">all XML dialplan and configs are 
                        based on including files. Obviously the included
                        files must be XML... <br>
                      </div>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On 23 June 2017 at
                          13:52, Yu Boot <span dir="ltr"><<a
                              href="mailto:yu@yu-boot.ru"
                              target="_blank" moz-do-not-send="true">yu@yu-boot.ru</a>></span>
                          wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0px 0px 0px
                            0.8ex;border-left:1px solid
                            rgb(204,204,204);padding-left:1ex">Is it
                            possible to just include arbitrary text file
                            to some place in XML dialplan? I want to add
                            or remove some extension and condition
                            entries automatically, without parsing and
                            building entire dialplan XML.<br>
                            <br>
                            ______________________________<wbr>______________________________<wbr>_____________<br>
                            Professional FreeSWITCH Consulting Services:<br>
                            <a href="mailto:consulting@freeswitch.org"
                              target="_blank" moz-do-not-send="true">consulting@freeswitch.org</a><br>
                            <a href="http://www.freeswitchsolutions.com"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">http://www.freeswitchsolutions<wbr>.com</a><br>
                            <br>
                            Official FreeSWITCH Sites<br>
                            <a href="http://www.freeswitch.org"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">http://www.freeswitch.org</a><br>
                            <a href="http://confluence.freeswitch.org"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">http://confluence.freeswitch.o<wbr>rg</a><br>
                            <a href="http://www.cluecon.com"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">http://www.cluecon.com</a><br>
                            <br>
                            FreeSWITCH-users mailing list<br>
                            <a
                              href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                              target="_blank" moz-do-not-send="true">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
                            <a
                              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
                            UNSUBSCRIBE:<a
                              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
                            <a href="http://www.freeswitch.org"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">http://www.freeswitch.org</a></blockquote>
                        </div>
                        <br>
                        <br clear="all">
                        <br>
                        -- <br>
                        <div
                          class="gmail-m_-9034449046137178296gmail_signature">
                          <div dir="ltr">
                            <div><span><span><br>
                                  Sincerely,<br>
                                </span><span><font color="#888888"><br>
                                    Giovanni Maruzzelli<br>
                                    OpenTelecom.IT</font></span><br>
                                <span>cell: +39 347 266 56 18<span><font
                                      color="#888888"><br>
                                    </font></span></span></span></div>
                          </div>
                        </div>
                      </div>
                      <br>
                      <fieldset
                        class="gmail-m_-9034449046137178296mimeAttachmentHeader"></fieldset>
                      <br>
                      <pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services:
<a class="gmail-m_-9034449046137178296moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank" moz-do-not-send="true">consulting@freeswitch.org</a>
<a class="gmail-m_-9034449046137178296moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank" moz-do-not-send="true">http://www.<wbr>freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="gmail-m_-9034449046137178296moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a>
<a class="gmail-m_-9034449046137178296moz-txt-link-freetext" href="http://confluence.freeswitch.org" target="_blank" moz-do-not-send="true">http://confluence.freeswitch.<wbr>org</a>
<a class="gmail-m_-9034449046137178296moz-txt-link-freetext" href="http://www.cluecon.com" target="_blank" moz-do-not-send="true">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="gmail-m_-9034449046137178296moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" moz-do-not-send="true">FreeSWITCH-users@lists.<wbr>freeswitch.org</a>
<a class="gmail-m_-9034449046137178296moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" moz-do-not-send="true">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>
UNSUBSCRIBE:<a class="gmail-m_-9034449046137178296moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" moz-do-not-send="true">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a>
<a class="gmail-m_-9034449046137178296moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a></pre>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
              <br>
              ______________________________<wbr>______________________________<wbr>_____________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a href="mailto:consulting@freeswitch.org"
                moz-do-not-send="true">consulting@freeswitch.org</a><br>
              <a href="http://www.freeswitchsolutions.com"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.<wbr>freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a href="http://www.freeswitch.org" rel="noreferrer"
                target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
              <a href="http://confluence.freeswitch.org"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://confluence.freeswitch.<wbr>org</a><br>
              <a href="http://www.cluecon.com" rel="noreferrer"
                target="_blank" moz-do-not-send="true">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                moz-do-not-send="true">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
              <a
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
              UNSUBSCRIBE:<a
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
              <a href="http://www.freeswitch.org" rel="noreferrer"
                target="_blank" moz-do-not-send="true">http://www.freeswitch.org</a><br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <br>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">
              <div><span><span><br>
                    Sincerely,<br>
                  </span><span><font color="#888888"><br>
                      Giovanni Maruzzelli<br>
                      OpenTelecom.IT</font></span><br>
                  <span>cell: +39 347 266 56 18<span><font
                        color="#888888"><br>
                      </font></span></span></span></div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>