<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits</a><br><br><div class="gmail_quote">On 27 January 2011 16:37, Miguel Miranda <span dir="ltr">&lt;<a href="mailto:miguel.mirandag@gmail.com">miguel.mirandag@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Great, a few questions:<br><br><font><font face="arial, sans-serif"><span style="border-collapse: collapse;">1) ${domain} is the  conference&#39;s profile name right?<br>
</span></font></font></blockquote><div><br>You can replace that with whatever the profile is named<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font><font face="arial, sans-serif"><span style="border-collapse: collapse;">2)what are the digits 4437000 ? the conference number?<br></span></font></font></blockquote><div><br>Read the play_and_get_digits documentation on the wiki, that explains the syntax:<br>
<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits</a><br><br>Basically, they specify the number of digits, number of retries to allow and the timeout waiting for the number to be entered.<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font><font face="arial, sans-serif"><span style="border-collapse: collapse;">
3) the sound files should be any regular.wav file, even one that i can record using my laptop&#39;s mic, no special requeriments?<br></span></font></font><br>thanks in advance</blockquote><div><br>Almost any sound format supported by sndfile will probably work. WAV files will use more space but less CPU (it&#39;s raw audio so FS won&#39;t need to decompress it).<br>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 7:27 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I don&#39;t believe this example will work because ${confnumber} won&#39;t be populated at the time the dialplan is parsed. However a trivial modification would make it work:<div>

<br></div><div><font face="arial, sans-serif"><div>
<span style="border-collapse: collapse;">  &lt;extension name=&quot;ask user for conf number&quot;&gt;</span></div><div><span style="border-collapse: collapse;">    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(9903)$&quot;&gt;</span></div>

<div>
<div><span style="border-collapse: collapse;">      &lt;action application=&quot;answer&quot;/&gt;</span></div><div><span style="border-collapse: collapse;">      &lt;action application=&quot;play_and_get_digits&quot;</span></div>


</div><div><span style="border-collapse: collapse;">              data=&quot;4 4 3 7000 # conference/conf-enter_conf_number.wav ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+&quot;/&gt;</span></div>
<div><span style="border-collapse: collapse;">      &lt;action application=&quot;playback&quot; data=&quot;ivr/ivr-one_moment_please.wav&quot;/&gt;</span></div><div><div><span style="border-collapse: collapse;">      &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</span></div>


</div><div><span style="border-collapse: collapse;">      &lt;action application=&quot;transfer&quot; data=&quot;USER_DIALED_${confnumber} XML default&quot;/&gt;</span></div><div><span style="border-collapse: collapse;">    &lt;/condition&gt;</span></div>


<div><span style="border-collapse: collapse;">  &lt;/extension&gt;</span></div><div><span style="border-collapse: collapse;"><br></span></div><div><span style="border-collapse: collapse;">  &lt;extension name=&quot;put user into conf&quot;&gt;</span></div>


<div><span style="border-collapse: collapse;">    &lt;condition field=&quot;destination_number&quot; expression=&quot;^USER_DIALED_(\d+)$&quot;&gt;</span></div><div><span style="border-collapse: collapse;">      &lt;action application=&quot;conference&quot; data=&quot;$1@${domain}&quot;/&gt;</span></div>


<div><span style="border-collapse: collapse;">    &lt;/condition&gt;</span></div><div><span style="border-collapse: collapse;">  &lt;/extension&gt;</span></div><div style="border-collapse: collapse;">
<br></div><div style="border-collapse: collapse;">Note that I tested this with real sound files on my system instead of the pretend ones that were there. I also used dest num of &quot;9903&quot; - use a value that works for you.</div>


<div style="border-collapse: collapse;"><br></div><font color="#888888"><div style="border-collapse: collapse;">-MC</div></font></font></div><div><div></div><div><div><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 3:57 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Something like this:<br><br>&lt;extension name=&quot;conference&quot;&gt;<br>   &lt;condition field=&quot;destination_number&quot; expression=&quot;^12345$&quot;&gt;<br>


      &lt;action application=&quot;answer&quot;/&gt;<br>
      &lt;action application=&quot;play_and_get_digits&quot; data=&quot;4 4 3 7000 # $${base_dir}/sounds/conf-number.wav /invalid.wav confnumber \d+&quot;/&gt;<div><br>      &lt;action application=&quot;playback&quot; data=&quot;connecting_your_call.wav&quot;/&gt;<br>



      &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<br></div>      &lt;action application=&quot;conference&quot; data=&quot;${confnumber}@${domain_name}&quot;/&gt;<br>   &lt;/condition&gt;<br>



&lt;/extension&gt;<br><br><br><br><br><div class="gmail_quote"><div><div></div><div>On 26 January 2011 22:10, Miguel Miranda <span dir="ltr">&lt;<a href="mailto:miguel.mirandag@gmail.com" target="_blank">miguel.mirandag@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>
Hi, i have searched the arvhices and could not find a simple example on how to configure a DID for  mod_conference, i mean you dial an DID, an ivr responds &quot;please enter you conference number and press puond key, etc&quot;, and if the conference room was configured with pin it asks &quot;please enter īpin number, etc&quot;.<br>




as i undestend, in this example from wiki:<br><br><pre>&lt;extension name=&quot;test_bridging_conference&quot;&gt;<br>   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(3000)$&quot;&gt;<br>      &lt;action application=&quot;answer&quot;/&gt;<br>




      &lt;action application=&quot;playback&quot; data=&quot;connecting_your_call.wav&quot;/&gt;<br>      &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<br>      &lt;action application=&quot;conference&quot; data=&quot;bridge:$1-${domain_name}@default:user/1000@${domain_name}&quot;/&gt;<br>




   &lt;/condition&gt;<br>&lt;/extension&gt;<br></pre><br>i need a gateway and if you receive the DID 3000 you join the conference right?<br>What i want is a single did for all the conferences.<br>regards<br><br>
<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>_______________________________________________<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></div>
</div></div><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>
</div></div><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>