<div dir="ltr">Can you update the docs for it, then? The wiki page looks incredibly sparse.<div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div>

</div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small"><br></span></div><div class="gmail_quote">On Thu, Oct 3, 2013 at 12:27 AM, Andrew Cassidy <span dir="ltr">&lt;<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Unrelated, but thanks for highlighting mod_translate, it&#39;s solved one of the big problems I was having in needing to translate numbers before they hit the xml dialplan (and therefore xml curl)</div>

<div class="gmail_extra"><div><div class="h5">
<br><br><div class="gmail_quote">On 1 October 2013 18:27, Raymond Chandler <span dir="ltr">&lt;<a href="mailto:intralanman@freeswitch.org" target="_blank">intralanman@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>The numbering_plan variable was
      originally set a few years back for the concept of adding
      numbering plans to the default config set (i.e. for doing local
      dialing rules for the US, UK, HK, etc).  The idea was that we&#39;d
      include a US.xml dialplan that you could transfer the call into so
      that numbers could be formatted into e.164 according to predefined
      rules.  <br>
      <br>
      Since then, mod_translate was added, which will translate the
      numbers for you in it&#39;s dialplan, using a dialplan app for the XML
      dialplan, or api function call.  Using a module instead of
      multiple dialplans is arguably simpler, and more efficient.  The
      sample config in mod_translate&#39;s conf/ directory in the source,
      will show you an example usage which happens to include the
      numbering_plan variable.<br>
      <br>
      &lt;include&gt;<br>
        &lt;extension&gt;<br>
          &lt;condition&gt;<br>
            &lt;!-- translate the desintation_number and
      caller_id_number<br>
                 according to the default numbering plan (as seen in
      brian.xml) --&gt;<br>
            &lt;action application=&quot;translate&quot;
      data=&quot;${destination_number} ${numbering_plan}&quot;/&gt;<br>
            &lt;action application=&quot;log&quot; data=&quot;info Before:
      ${destination_number}&quot;/&gt;<br>
            &lt;action application=&quot;log&quot; data=&quot;info After: 
      ${translated}&quot;/&gt;<br>
          &lt;/condition&gt;<br>
        &lt;/extension&gt;<br>
      &lt;/include&gt;<br>
      <br>
      <br>
      There&#39;s also a very minimal wiki page at
      
      <a href="https://wiki.freeswitch.org/wiki/Mod_translate" target="_blank">https://wiki.freeswitch.org/wiki/Mod_translate</a>
      that gives basic usage examples.<br>
      <br>
      -Ray<div><div><br>
      <br>
      On 10/01/2013 09:50 AM, Michael Jerris wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      
      <div>conf/vanilla/directory/default/default.xml:21:    
         &lt;variable name=&quot;numbering_plan&quot;
        value=&quot;$${default_country}&quot;/&gt;</div>
      <div>conf/vanilla/vars.xml:222:  &lt;X-PRE-PROCESS cmd=&quot;set&quot;
        data=&quot;default_country=US&quot;/&gt;</div>
      <div><br>
      </div>
      <div>Its used to set the numbering_plan variable which as far as I
        can tell is unused.</div>
      <div><br>
      </div>
      <div>
        <div>On Oct 1, 2013, at 9:42 AM, Richard Mace &lt;<a href="mailto:richard.mace@gmail.com" target="_blank">richard.mace@gmail.com</a>&gt;
          wrote:</div>
        <br>
        <blockquote type="cite">
          <p dir="ltr">And, could I ask what it is used for ?</p>
          <p dir="ltr">Richard</p>
          <div class="gmail_quote">On 1 Oct 2013 06:50, &quot;Richard Mace&quot;
            &lt;<a href="mailto:richard.mace@gmail.com" target="_blank">richard.mace@gmail.com</a>&gt;
            wrote:<br type="attribution">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div dir="ltr">
                <div style="font-family:arial,helvetica,sans-serif">Hi All,</div>
                <div style="font-family:arial,helvetica,sans-serif">I see
                  that in vars.xml there is an entry for Default
                  Country.</div>
                <div style="font-family:arial,helvetica,sans-serif">Where
                  can I find out what each of the available Default
                  Country options are please?</div>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><div><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </div></blockquote>
    <br>
  </div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><b>Andrew Cassidy BSc (Hons) MBCS SSCA</b><div>Managing Director<div><div><img><br></div><div><br><div>


<b style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"><a href="mailto:info@cassidywebservices.co.uk" style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif" target="_blank">T</a> </b>03300 100 960 
<b style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"><a href="mailto:info@cassidywebservices.co.uk" style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif" target="_blank">F</a> </b>03300 100 961</div>


<div><b style="text-decoration:none;font-family:sans-serif"><a href="mailto:info@cassidywebservices.co.uk" style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif" target="_blank">E</a> </b><a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.co.uk</a></div>


<div><b style="text-decoration:none;font-family:sans-serif"><a href="mailto:info@cassidywebservices.co.uk" style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif" target="_blank">W</a> </b><a href="http://www.cassidywebservices.co.uk" target="_blank">www.cassidywebservices.co.uk</a></div>


</div></div></div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>