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><meta charset="utf-8"><font class="Apple-style-span" face="arial, sans-serif"><div>
<span class="Apple-style-span" style="border-collapse: collapse;">  &lt;extension name=&quot;ask user for conf number&quot;&gt;</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(9903)$&quot;&gt;</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;">      &lt;action application=&quot;answer&quot;/&gt;</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">      &lt;action application=&quot;play_and_get_digits&quot;</span></div>
<div><span class="Apple-style-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 class="Apple-style-span" style="border-collapse: collapse;">      &lt;action application=&quot;playback&quot; data=&quot;ivr/ivr-one_moment_please.wav&quot;/&gt;</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">      &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;">      &lt;action application=&quot;transfer&quot; data=&quot;USER_DIALED_${confnumber} XML default&quot;/&gt;</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">    &lt;/condition&gt;</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;">  &lt;/extension&gt;</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">  &lt;extension name=&quot;put user into conf&quot;&gt;</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;">    &lt;condition field=&quot;destination_number&quot; expression=&quot;^USER_DIALED_(\d+)$&quot;&gt;</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">      &lt;action application=&quot;conference&quot; data=&quot;$1@${domain}&quot;/&gt;</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;">    &lt;/condition&gt;</span></div><div><span class="Apple-style-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><div style="border-collapse: collapse; ">-MC</div></font></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">steveayre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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 class="im"><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 class="h5">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 class="h5">
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">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>