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
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="playback" data="connecting_your_call.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="conference" data="${confnumber}@${domain_name}"/> </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
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: <extension name="ask user for conf number"> <condition field="destination_number" expression="^(9903)$"> <action application="answer"/> <action application="play_and_get_digits" data="4 4 3 7000 # conference/conf-enter_conf_number.wav ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+"/> <action application="playback" data="ivr/ivr-one_moment_please.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="transfer" data="USER_DIALED_${confnumber} XML default"/> </condition> </extension> <extension name="put user into conf"> <condition field="destination_number" expression="^USER_DIALED_(\d+)$"> <action application="conference" data="$1@${domain}"/> </condition> </extension> 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. -MC On Wed, Jan 26, 2011 at 3:57 PM, Steven Ayre <steveayre@gmail.com> wrote:
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="playback" data="connecting_your_call.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="conference" data="${confnumber}@ ${domain_name}"/> </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
Great, a few questions: 1) ${domain} is the conference's profile name right? 2)what are the digits 4437000 ? the conference number? 3) the sound files should be any regular.wav file, even one that i can record using my laptop's mic, no special requeriments? thanks in advance On Wed, Jan 26, 2011 at 7:27 PM, Michael Collins <msc@freeswitch.org> wrote:
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:
<extension name="ask user for conf number"> <condition field="destination_number" expression="^(9903)$"> <action application="answer"/> <action application="play_and_get_digits" data="4 4 3 7000 # conference/conf-enter_conf_number.wav ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+"/> <action application="playback" data="ivr/ivr-one_moment_please.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="transfer" data="USER_DIALED_${confnumber} XML default"/> </condition> </extension>
<extension name="put user into conf"> <condition field="destination_number" expression="^USER_DIALED_(\d+)$"> <action application="conference" data="$1@${domain}"/> </condition> </extension>
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.
-MC
On Wed, Jan 26, 2011 at 3:57 PM, Steven Ayre <steveayre@gmail.com> wrote:
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="playback" data="connecting_your_call.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="conference" data="${confnumber}@ ${domain_name}"/> </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
_______________________________________________ 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
Miguel, I think you should be able to find most answers in the wiki. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 27/01/2011 à 17:37, Miguel Miranda a écrit :
Great, a few questions:
1) ${domain} is the conference's profile name right? 2)what are the digits 4437000 ? the conference number? 3) the sound files should be any regular.wav file, even one that i can record using my laptop's mic, no special requeriments?
thanks in advance
On Wed, Jan 26, 2011 at 7:27 PM, Michael Collins <msc@freeswitch.org> wrote: 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:
<extension name="ask user for conf number"> <condition field="destination_number" expression="^(9903)$"> <action application="answer"/> <action application="play_and_get_digits" data="4 4 3 7000 # conference/conf-enter_conf_number.wav ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+"/> <action application="playback" data="ivr/ivr-one_moment_please.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="transfer" data="USER_DIALED_${confnumber} XML default"/> </condition> </extension>
<extension name="put user into conf"> <condition field="destination_number" expression="^USER_DIALED_(\d+)$"> <action application="conference" data="$1@${domain}"/> </condition> </extension>
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.
-MC
On Wed, Jan 26, 2011 at 3:57 PM, Steven Ayre <steveayre@gmail.com> wrote: 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="playback" data="connecting_your_call.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="conference" data="${confnumber}@${domain_name}"/> </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
_______________________________________________ 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
I recommand to all new user to buy the FS book, you'll find all your answer easily with good examples. ----- Original Message ----- From: David Ponzone To: FreeSWITCH Users Help Sent: Thursday, January 27, 2011 11:44 AM Subject: Re: [Freeswitch-users] conference with did example Miguel, I think you should be able to find most answers in the wiki. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 27/01/2011 à 17:37, Miguel Miranda a écrit : Great, a few questions: 1) ${domain} is the conference's profile name right? 2)what are the digits 4437000 ? the conference number? 3) the sound files should be any regular.wav file, even one that i can record using my laptop's mic, no special requeriments? thanks in advance On Wed, Jan 26, 2011 at 7:27 PM, Michael Collins <msc@freeswitch.org> wrote: 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: <extension name="ask user for conf number"> <condition field="destination_number" expression="^(9903)$"> <action application="answer"/> <action application="play_and_get_digits" data="4 4 3 7000 # conference/conf-enter_conf_number.wav ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+"/> <action application="playback" data="ivr/ivr-one_moment_please.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="transfer" data="USER_DIALED_${confnumber} XML default"/> </condition> </extension> <extension name="put user into conf"> <condition field="destination_number" expression="^USER_DIALED_(\d+)$"> <action application="conference" data="$1@${domain}"/> </condition> </extension> 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. -MC On Wed, Jan 26, 2011 at 3:57 PM, Steven Ayre <steveayre@gmail.com> wrote: 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="playback" data="connecting_your_call.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="conference" data="${confnumber}@${domain_name}"/> </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 _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits On 27 January 2011 16:37, Miguel Miranda <miguel.mirandag@gmail.com> wrote:
Great, a few questions:
1) ${domain} is the conference's profile name right?
You can replace that with whatever the profile is named
2)what are the digits 4437000 ? the conference number?
Read the play_and_get_digits documentation on the wiki, that explains the syntax: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits Basically, they specify the number of digits, number of retries to allow and the timeout waiting for the number to be entered. 3) the sound files should be any regular.wav file, even one that i can
record using my laptop's mic, no special requeriments?
thanks in advance
Almost any sound format supported by sndfile will probably work. WAV files will use more space but less CPU (it's raw audio so FS won't need to decompress it).
On Wed, Jan 26, 2011 at 7:27 PM, Michael Collins <msc@freeswitch.org>wrote:
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:
<extension name="ask user for conf number"> <condition field="destination_number" expression="^(9903)$"> <action application="answer"/> <action application="play_and_get_digits" data="4 4 3 7000 # conference/conf-enter_conf_number.wav ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+"/> <action application="playback" data="ivr/ivr-one_moment_please.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="transfer" data="USER_DIALED_${confnumber} XML default"/> </condition> </extension>
<extension name="put user into conf"> <condition field="destination_number" expression="^USER_DIALED_(\d+)$"> <action application="conference" data="$1@${domain}"/> </condition> </extension>
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.
-MC
On Wed, Jan 26, 2011 at 3:57 PM, Steven Ayre <steveayre@gmail.com> wrote:
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="playback" data="connecting_your_call.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="conference" data="${confnumber}@ ${domain_name}"/> </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
_______________________________________________ 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
Thanks Steve and all, that is exactly what i was looking for, beacuse of that link all is clear now. regards, On Thu, Jan 27, 2011 at 11:56 AM, Steven Ayre <steveayre@gmail.com> wrote:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits
On 27 January 2011 16:37, Miguel Miranda <miguel.mirandag@gmail.com>wrote:
Great, a few questions:
1) ${domain} is the conference's profile name right?
You can replace that with whatever the profile is named
2)what are the digits 4437000 ? the conference number?
Read the play_and_get_digits documentation on the wiki, that explains the syntax: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits
Basically, they specify the number of digits, number of retries to allow and the timeout waiting for the number to be entered.
3) the sound files should be any regular.wav file, even one that i can
record using my laptop's mic, no special requeriments?
thanks in advance
Almost any sound format supported by sndfile will probably work. WAV files will use more space but less CPU (it's raw audio so FS won't need to decompress it).
On Wed, Jan 26, 2011 at 7:27 PM, Michael Collins <msc@freeswitch.org>wrote:
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:
<extension name="ask user for conf number"> <condition field="destination_number" expression="^(9903)$"> <action application="answer"/> <action application="play_and_get_digits" data="4 4 3 7000 # conference/conf-enter_conf_number.wav ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+"/> <action application="playback" data="ivr/ivr-one_moment_please.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="transfer" data="USER_DIALED_${confnumber} XML default"/> </condition> </extension>
<extension name="put user into conf"> <condition field="destination_number" expression="^USER_DIALED_(\d+)$"> <action application="conference" data="$1@${domain}"/> </condition> </extension>
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.
-MC
On Wed, Jan 26, 2011 at 3:57 PM, Steven Ayre <steveayre@gmail.com>wrote:
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="playback" data="connecting_your_call.wav"/> <action application="set" data="ringback=${us-ring}"/> <action application="conference" data="${confnumber}@ ${domain_name}"/> </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
_______________________________________________ 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
_______________________________________________ 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
participants (5)
-
David Ponzone
-
Madovsky
-
Michael Collins
-
Miguel Miranda
-
Steven Ayre