<!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 </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: 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: 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> </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: 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)"> - <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. </I><B><I>IPeva</I></B><I> 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 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
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"> <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
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><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
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 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>_______________________________________________<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>