Great, a few questions:<br><br><font><font face="arial, sans-serif"><span style="border-collapse: collapse;">1) ${domain} is the conference's profile name right?<br>2)what are the digits 4437000 ? the conference number?<br>
3) the sound files should be any regular.wav file, even one that i can record using my laptop's mic, no special requeriments?<br></span></font></font><br>thanks in advance<br><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 7:27 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></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't believe this example will work because ${confnumber} won'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;"> <extension name="ask user for conf number"></span></div><div><span style="border-collapse: collapse;"> <condition field="destination_number" expression="^(9903)$"></span></div>
<div class="im">
<div><span style="border-collapse: collapse;"> <action application="answer"/></span></div><div><span style="border-collapse: collapse;"> <action application="play_and_get_digits"</span></div>
</div><div><span style="border-collapse: collapse;"> data="4 4 3 7000 # conference/conf-enter_conf_number.wav ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+"/></span></div>
<div><span style="border-collapse: collapse;"> <action application="playback" data="ivr/ivr-one_moment_please.wav"/></span></div><div class="im"><div><span style="border-collapse: collapse;"> <action application="set" data="ringback=${us-ring}"/></span></div>
</div><div><span style="border-collapse: collapse;"> <action application="transfer" data="USER_DIALED_${confnumber} XML default"/></span></div><div><span style="border-collapse: collapse;"> </condition></span></div>
<div><span style="border-collapse: collapse;"> </extension></span></div><div><span style="border-collapse: collapse;"><br></span></div><div><span style="border-collapse: collapse;"> <extension name="put user into conf"></span></div>
<div><span style="border-collapse: collapse;"> <condition field="destination_number" expression="^USER_DIALED_(\d+)$"></span></div><div><span style="border-collapse: collapse;"> <action application="conference" data="$1@${domain}"/></span></div>
<div><span style="border-collapse: collapse;"> </condition></span></div><div><span style="border-collapse: collapse;"> </extension></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 "9903" - 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 class="h5"><div><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 3:57 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></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><extension name="conference"><br> <condition field="destination_number" expression="^12345$"><br>
<action application="answer"/><br>
<action application="play_and_get_digits" data="4 4 3 7000 # $${base_dir}/sounds/conf-number.wav /invalid.wav confnumber \d+"/><div><br> <action application="playback" data="connecting_your_call.wav"/><br>
<action application="set" data="ringback=${us-ring}"/><br></div> <action application="conference" data="${confnumber}@${domain_name}"/><br> </condition><br>
</extension><br><br><br><br><br><div class="gmail_quote"><div><div></div><div>On 26 January 2011 22:10, Miguel Miranda <span dir="ltr"><<a href="mailto:miguel.mirandag@gmail.com" target="_blank">miguel.mirandag@gmail.com</a>></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 "please enter you conference number and press puond key, etc", and if the conference room was configured with pin it asks "please enter īpin number, etc".<br>
as i undestend, in this example from wiki:<br><br><pre><extension name="test_bridging_conference"><br> <condition field="destination_number" expression="^(3000)$"><br> <action application="answer"/><br>
<action application="playback" data="connecting_your_call.wav"/><br> <action application="set" data="ringback=${us-ring}"/><br> <action application="conference" data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/><br>
</condition><br></extension><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">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>