<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "> &lt;condition field=&quot;destination_number&quot; expression=&quot;^<span class="Apple-style-span" style="border-collapse: separate; font-family: monospace; font-size: 12px; color: rgb(0, 128, 0); font-weight: bold; line-height: 14px; white-space: nowrap; ">${caller_id_number}</span>$&quot;&gt;</span><br>
<br><div class="gmail_quote">On Thu, Nov 26, 2009 at 4:36 PM, Joseph L. Casale <span dir="ltr">&lt;<a href="mailto:JCasale@activenetwerx.com">JCasale@activenetwerx.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">&gt;Of course.  Please read through the default configs and the getting started guide and xml dialplan information on the wiki.<br>
&gt;<br>
&gt;Mike<br>
<br>
</div>This is of interest to me as well, would that be something like this:<br>
<br>
   &lt;extension name=&quot;ext_100_vm&quot;&gt;<br>
     &lt;condition field=&quot;caller_id_number&quot; expression=&quot;^100$&quot;/&gt;<br>
     &lt;condition field=&quot;destination_number&quot; expression=&quot;^100$&quot;&gt;<br>
         &lt;action application=&quot;answer&quot;/&gt;<br>
         &lt;action application=&quot;voicemail&quot; data=&quot;check $${voicemail_profile} $${domain} 100&quot;/&gt;<br>
     &lt;/condition&gt;<br>
   &lt;/extension&gt;<br>
<br>
Could anyone versed in xml and variables comment on this so it generically checked<br>
if the extension dialed was of your extension length, like ^(\d{3})$ then if it matched<br>
your caller_id_number go into the action so you could leave it as $1, not 100 in my case?<br>
<br>
That way you could only have one of these plans work for all extensions.<br>
<div><div></div><div class="h5"><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>
</div></div></blockquote></div><br>