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:
Something like this:
<extension name="conference">
<condition field="destination_number" expression="^12345$">
<action application="answer"/>
<action application="play_and_get_digits" data="4 4 3 7000 # $${base_dir}/sounds/conf-number.wav /invalid.wav confnumber \d+"/><action application="conference" data="${confnumber}@${domain_name}"/>
<action application="playback" data="connecting_your_call.wav"/>
<action application="set" data="ringback=${us-ring}"/>
</condition>
</extension>On 26 January 2011 22:10, Miguel Miranda <miguel.mirandag@gmail.com> wrote:
_______________________________________________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".
as i undestend, in this example from wiki:<extension name="test_bridging_conference">
<condition field="destination_number" expression="^(3000)$">
<action application="answer"/>
<action application="playback" data="connecting_your_call.wav"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="conference" data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/>
</condition>
</extension>
i need a gateway and if you receive the DID 3000 you join the conference right?
What i want is a single did for all the conferences.
regards
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org