<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "> <condition field="destination_number" expression="^<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>$"></span><br>
<br><div class="gmail_quote">On Thu, Nov 26, 2009 at 4:36 PM, Joseph L. Casale <span dir="ltr"><<a href="mailto:JCasale@activenetwerx.com">JCasale@activenetwerx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">>Of course. Please read through the default configs and the getting started guide and xml dialplan information on the wiki.<br>
><br>
>Mike<br>
<br>
</div>This is of interest to me as well, would that be something like this:<br>
<br>
<extension name="ext_100_vm"><br>
<condition field="caller_id_number" expression="^100$"/><br>
<condition field="destination_number" expression="^100$"><br>
<action application="answer"/><br>
<action application="voicemail" data="check $${voicemail_profile} $${domain} 100"/><br>
</condition><br>
</extension><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>