<div dir="ltr">clever!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 29, 2015 at 3:06 PM, Alex Lake <span dir="ltr">&lt;<a href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK - Got this working. Just in case anyone is interested:<br>
<br>
     &lt;macro name=&quot;xplayN&quot;&gt;<br>
         &lt;input pattern=&quot;^([^,]*),([^,]*),(.*)$&quot;&gt;<br>
<span class="">             &lt;match&gt;<br>
                 &lt;action function=&quot;play-file&quot; data=&quot;$1/$2.wav&quot;/&gt;<br>
</span><span class="">                 &lt;action function=&quot;play-file&quot; data=&quot;phrase:xplayN:$1,$3&quot;/&gt;<br>
             &lt;/match&gt;<br>
         &lt;/input&gt;<br>
</span>         &lt;input pattern=&quot;^([^,]*),([^,]*)$&quot;&gt;<br>
<span class="">             &lt;match&gt;<br>
                 &lt;action function=&quot;play-file&quot; data=&quot;$1/$2.wav&quot;/&gt;<br>
</span>             &lt;/match&gt;<br>
         &lt;/input&gt;<br>
     &lt;/macro&gt;<br>
<br>
Example of use:<br>
<br>
       &lt;action application=&quot;playback&quot;<br>
data=&quot;phrase:xplayN:/home/pabx/004-3774/x,001,0211,0221,0231&quot;/&gt;<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : +39-347-2665618<br></div>
</div>