[Freeswitch-users] conference with did example

Madovsky infos at madovsky.org
Thu Jan 27 19:54:26 MSK 2011


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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110127/79246914/attachment.html 


More information about the FreeSWITCH-users mailing list