That works, thanks Anthm, you&#39;re the man.<br><br>Diego<br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 9:15 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">try \d instead of \\d in your regex<br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Tue, Apr 14, 2009 at 1:02 AM, Diego Viola <span dir="ltr">&lt;<a href="mailto:diego.viola@gmail.com" target="_blank">diego.viola@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">
Anthony,<br><br>I just tried to print the variable with the log app, with read it prints, with play_and_get_digits doesn&#39;t.<br><br>I&#39;m using latest SVN rev:<br><br>FreeSWITCH Version 1.0.trunk (13012M)<br><br>Thanks,<br>

<font color="#888888">
<br>Diego</font><div><div></div><div><br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 1:53 AM, Diego Viola <span dir="ltr">&lt;<a href="mailto:diego.viola@gmail.com" target="_blank">diego.viola@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I remember playAndGetDigits had a bug like this too.<br><br>Anthony, please help me.<div><div></div><div><br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 1:42 AM, Diego Viola <span dir="ltr">&lt;<a href="mailto:diego.viola@gmail.com" target="_blank">diego.viola@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It works if I use &quot;read&quot; and do this:<div><br><br>&lt;extension name=&quot;outbound2&quot;&gt;<br>



  &lt;condition field=&quot;destination_number&quot; expression=&quot;^(1888)$&quot;&gt;<br></div>    &lt;action application=&quot;read&quot; data=&quot;0 10 $${base_dir}/sounds/en/us/callie/conference/8000/conf-pin.wav res 10000 #&quot;/&gt;<br>




    &lt;action application=&quot;transfer&quot; data=&quot;${res} XML default&quot;/&gt;<br>    &lt;!--&lt;action application=&quot;log&quot; data=&quot;CRIT ${foobar}&quot;/&gt;--&gt;<br>    &lt;!--&lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> async full&quot;/&gt;--&gt;<br>




  &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>But I need play_and_get_digits to work like that too, please.<br><font color="#888888"><br>Diego</font><div><div></div><div><br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 1:36 AM, Diego Viola <span dir="ltr">&lt;<a href="mailto:diego.viola@gmail.com" target="_blank">diego.viola@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi everyone,<br><br>I have a question... I have this on my dialplan:<br><br>&lt;extension name=&quot;outbound2&quot;&gt;<br>




  &lt;condition field=&quot;destination_number&quot; expression=&quot;^(1888)$&quot;&gt;<br>    &lt;action application=&quot;play_and_get_digits&quot; data=&quot;2 5 3 7000 # phrase:rac_demo /invalid.wav foobar \\d+&quot;/&gt;<br>





    &lt;action application=&quot;transfer&quot; data=&quot;${foobar} XML default&quot;/&gt;<br>  &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>What I want to do is play and read some digits and as soon as I get those digits, transfer to that extension... but this never happens, even if I terminate with a #.<br>





<br>I do the same thing with Lua and it works with Lua, but I need it to work with play_and_get_digits from mod_dptools, because I plan to use this with event socket outbound, with an application which I&#39;m currently working on.<br>





<br>Any ideas?<br><br>Thanks,<br><font color="#888888"><br>Diego<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div><br></div></div>_______________________________________________<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"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>

IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<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>