<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
bgColor=#ffffff>
<DIV><FONT size=2>I recommand to all new user to buy the FS book,</FONT></DIV>
<DIV><FONT size=2>you'll find all your answer easily with good 
examples.</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=david.ponzone@ipeva.fr href="mailto:david.ponzone@ipeva.fr">David 
  Ponzone</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=freeswitch-users@lists.freeswitch.org 
  href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 27, 2011 11:44 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] 
  conference with did example</DIV>
  <DIV><BR></DIV>Miguel,
  <DIV><BR></DIV>
  <DIV>I think you should be able to find most answers in the wiki.</DIV>
  <DIV>
  <DIV><BR class=webkit-block-placeholder></DIV>
  <DIV><SPAN 
  style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 14px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" 
  class=Apple-style-span><SPAN 
  style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 14px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" 
  class=Apple-style-span>
  <DIV 
  style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
  <DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT 
  class=Apple-style-span color=#1c00ff>David Ponzone &nbsp;</FONT><FONT 
  class=Apple-style-span color=#000000 size=3><SPAN style="FONT-SIZE: 12px" 
  class=Apple-style-span>Direction Technique</SPAN></FONT></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT 
  class=Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" 
  class=Apple-style-span>email: <A 
  href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</A></SPAN></FONT></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT 
  class=Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" 
  class=Apple-style-span>tel: &nbsp; &nbsp; &nbsp;01 74 03 18 
  97</SPAN></FONT></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT 
  class=Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" 
  class=Apple-style-span>gsm: &nbsp; 06 66 98 76 34</SPAN></FONT></FONT></DIV>
  <DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><BR></FONT></DIV>
  <DIV><FONT class=Apple-style-span color=#1c00ff 
  face="'Helvetica Neue'">Service Client<SPAN 
  class=Apple-converted-space>&nbsp;</SPAN></FONT><FONT class=Apple-style-span 
  face="'Helvetica Neue'"><FONT class=Apple-style-span 
  color=#ff0000>IP</FONT></FONT><FONT class=Apple-style-span color=#1c00ff 
  face="'Helvetica Neue'">eva</FONT></DIV>
  <DIV><FONT class=Apple-style-span color=#1c00ff face="'Helvetica Neue'"><SPAN 
  style="FONT-FAMILY: Helvetica; COLOR: rgb(0,0,0)" class=Apple-style-span>
  <DIV><FONT class=Apple-style-span face="'Helvetica Neue'"><FONT 
  class=Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" 
  class=Apple-style-span>tel: &nbsp; &nbsp; &nbsp;0811 46 26 
  26</SPAN></FONT></FONT></DIV>
  <DIV><FONT class=Apple-style-span size=3 face="'Helvetica Neue'"><SPAN 
  style="FONT-SIZE: 13px" class=Apple-style-span>
  <DIV style="MARGIN: 0px; FONT: 10px Arial; COLOR: rgb(0,34,243)"><SPAN 
  style="TEXT-DECORATION: underline"><A 
  href="http://www.ipeva.fr">www.ipeva.fr</A></SPAN><SPAN 
  style="COLOR: rgb(101,104,149)">&nbsp; -&nbsp; &nbsp;<SPAN 
  style="COLOR: rgb(0,34,243); TEXT-DECORATION: underline"><A 
  href="http://www.ipeva-studio.com">www.ipeva-studio.com</A></SPAN></SPAN></DIV>
  <DIV style="MARGIN: 0px; FONT: 10px Arial; COLOR: rgb(0,34,243)"><SPAN 
  style="TEXT-DECORATION: underline" class=Apple-style-span><BR></SPAN></DIV>
  <DIV style="MARGIN: 0px; FONT: 10px Arial; COLOR: rgb(0,34,243)"><SPAN 
  class=Apple-style-span>
  <DIV 
  style="TEXT-ALIGN: justify; MARGIN: 0px; FONT: 10px Arial; COLOR: rgb(192,192,192)"><I>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.&nbsp;</I><B><I>IPeva</I></B><I>&nbsp;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.</I></DIV>
  <DIV style="TEXT-ALIGN: justify; TEXT-DECORATION: underline"><FONT 
  class=Apple-style-span 
  color=#c0c0c0><I><BR></I></FONT></DIV></SPAN></DIV></SPAN></FONT></DIV></SPAN></FONT></DIV></DIV></SPAN><BR 
  class=Apple-interchange-newline></SPAN><BR 
  class=Apple-interchange-newline></DIV><BR>
  <DIV>
  <DIV>Le 27/01/2011 à 17:37, Miguel Miranda a écrit :</DIV><BR 
  class=Apple-interchange-newline>
  <BLOCKQUOTE type="cite">Great, a few questions:<BR><BR><FONT size=+0><FONT 
    face="arial, sans-serif"><SPAN style="BORDER-COLLAPSE: collapse">1) 
    ${domain} is the&nbsp; 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>&lt;<A 
    href="mailto:msc@freeswitch.org">msc@freeswitch.org</A>&gt;</SPAN> 
wrote:<BR>
    <BLOCKQUOTE 
    style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
    class=gmail_quote>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">&nbsp;&nbsp;&lt;extension 
      name="ask user for conf number"&gt;</SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; 
      &nbsp;&lt;condition field="destination_number" 
      expression="^(9903)$"&gt;</SPAN></DIV>
      <DIV class=im>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; &nbsp; 
      &nbsp;&lt;action application="answer"/&gt;</SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; &nbsp; 
      &nbsp;&lt;action application="play_and_get_digits"</SPAN></DIV></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; &nbsp; &nbsp; 
      &nbsp; &nbsp; &nbsp; &nbsp;data="4 4 3 7000 # 
      conference/conf-enter_conf_number.wav 
      ivr/ivr-that_was_an_invalid_entry.wav confnumber \d+"/&gt;</SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; &nbsp; 
      &nbsp;&lt;action application="playback" 
      data="ivr/ivr-one_moment_please.wav"/&gt;</SPAN></DIV>
      <DIV class=im>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; &nbsp; 
      &nbsp;&lt;action application="set" 
      data="ringback=${us-ring}"/&gt;</SPAN></DIV></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; &nbsp; 
      &nbsp;&lt;action application="transfer" data="USER_DIALED_${confnumber} 
      XML default"/&gt;</SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; 
      &nbsp;&lt;/condition&gt;</SPAN></DIV>
      <DIV><SPAN 
      style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp;&lt;/extension&gt;</SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse"><BR></SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp;&lt;extension 
      name="put user into conf"&gt;</SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; 
      &nbsp;&lt;condition field="destination_number" 
      expression="^USER_DIALED_(\d+)$"&gt;</SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; &nbsp; 
      &nbsp;&lt;action application="conference" 
      data="$1@${domain}"/&gt;</SPAN></DIV>
      <DIV><SPAN style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp; 
      &nbsp;&lt;/condition&gt;</SPAN></DIV>
      <DIV><SPAN 
      style="BORDER-COLLAPSE: collapse">&nbsp;&nbsp;&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 "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>&lt;<A href="mailto:steveayre@gmail.com" 
      target=_blank>steveayre@gmail.com</A>&gt;</SPAN> wrote:<BR>
      <BLOCKQUOTE 
      style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
      class=gmail_quote>Something like this:<BR><BR>&lt;extension 
        name="conference"&gt;<BR>&nbsp;&nbsp; &lt;condition 
        field="destination_number" 
        expression="^12345$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action 
        application="answer"/&gt;<BR>&nbsp;&nbsp; &nbsp;&nbsp; &lt;action 
        application="play_and_get_digits" data="4 4 3 7000 # 
        $${base_dir}/sounds/conf-number.wav /invalid.wav confnumber \d+"/&gt;
        <DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action 
        application="playback" 
        data="connecting_your_call.wav"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        &lt;action application="set" 
        data="ringback=${us-ring}"/&gt;<BR></DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        &lt;action application="conference" 
        data="${confnumber}@${domain_name}"/&gt;<BR>&nbsp;&nbsp; 
        &lt;/condition&gt;<BR>&lt;/extension&gt;<BR><BR><BR><BR><BR>
        <DIV class=gmail_quote>
        <DIV>
        <DIV></DIV>
        <DIV>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 
        style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
        class=gmail_quote>
          <DIV>
          <DIV></DIV>
          <DIV>Hi, i have searched the arvhices and could not find a simple 
          example on how to configure a DID for&nbsp; 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>&lt;extension name="test_bridging_conference"&gt;<BR>   &lt;condition field="destination_number" expression="^(3000)$"&gt;<BR>      &lt;action application="answer"/&gt;<BR>



      &lt;action application="playback" data="connecting_your_call.wav"/&gt;<BR>      &lt;action application="set" data="ringback=${us-ring}"/&gt;<BR>      &lt;action application="conference" data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/&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" 
        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>_______________________________________________<BR>FreeSWITCH-users 
    mailing list<BR><A 
    href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></DIV><BR></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>FreeSWITCH-users 
  mailing 
  list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>