<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
I attached the section in my dialplan that handles the
bridging conference, when the first user (just say user 99) dials
'20', he will invite user 10 to join conference, the conference will
only be established if user 10 accepts the invitation, after this,
other users can join the conference by dialing '20'. <br>
<br>
I want that if the first user (user 99 in this case) or the
user been invited (user 10 in this case) leaves the conference, no
matter how many people are still in the conference, it will close
down the conference. so i'm trying to use the 'endconf' flag, but
apparently it is not valid syntax for bridging conference as I get a
config error while running. If I take out the '+flags{endconf} ', i
wont get a config error while running, but then conference will only
close down when there is 1 person left.<br>
<br>
I have also tried creating 2 difference conference profiles,
one profile has the 'endconf' set in the 'member-flags', one
profiles doesnt have 'endconf' set, so user99 and user20 joins the
20@profile1 conference, and other users joins the 20@profile2
conference, that doesnt seem to work neither. I have pasted
conference.conf.xml file as well for ur review. <br>
<br>
<pre><include>
<context name="test">
<extension name="global" continue="true">
<condition>
</condition>
</extension>
<extension name="conf">
<condition field="destination_number" expression="^(20)$" > </condition>
<action application="answer"/>
<action application="conference" data="bridge:20@default+flags{endconf}:user/10"/>
<action application="conference" data="20@default"/>
</condition>
</extension>
</context>
</include></pre>
<br>
<br>
<br>
<br>
On 6/30/2011 6:16 PM, Michael Collins wrote:
<blockquote
cite="mid:BANLkTi=Cmuz6a3K8smK3Nr46E2ptg=pZdQ@mail.gmail.com"
type="cite">Please put this information on pastebin and reply to
the list so that we can all discuss it.<br>
-MC<br>
<br>
<div class="gmail_quote">On Thu, Jun 30, 2011 at 1:51 PM, ran
zhang <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rzhang@gosilverplus.com">rzhang@gosilverplus.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> Mr Collins:<br>
<br>
I attached the section in my dialplan that handles
the bridging conference, when the first user (just say user
99) dials '20', he will invite user 10 to join conference,
the conference will only be established if user 10 accepts
the invitation, after this, other users can join the
conference by dialing '20'. <br>
<br>
I want that if the first user (user 99 in this case)
or the user been invited (user 10 in this case) leaves the
conference, no matter how many people are still in the
conference, it will close down the conference. so i'm
trying to use the 'endconf' flag, but apparently it is not
valid syntax for bridging conference as I get a config error
while running. If I take out the '+flags{endconf} ', i wont
get a config error while running, but then conference will
only close down when there is 1 person left.<br>
<br>
I have also tried creating 2 difference conference
profiles, one profile has the 'endconf' set in the
'member-flags', one profiles doesnt have 'endconf' set, so
user99 and user20 joins the 20@profile1 conference, and
other users joins the 20@profile2 conference, that doesnt
seem to work neither. I have pasted conference.conf.xml
file as well for ur review. <br>
<br>
<pre><include>
<context name="test">
<extension name="global" continue="true">
<condition>
</condition>
</extension>
<extension name="conf">
<condition field="destination_number" expression="^(20)$" > </condition>
<action application="answer"/>
<action application="conference" data="bridge:20@default+flags{endconf}:user/10"/>
<action application="conference" data="20@default"/>
</condition>
</extension>
</context>
</include>
</pre>
<br>
<pre><configuration name="conference.conf" description="Audio Conference">
<!-- Advertise certain presence on startup . -->
<advertise>
<room name="3001@$${domain}" status="FreeSWITCH"/>
</advertise>
<!-- These are the default keys that map when you do not specify a caller control group -->        
<!-- Note: none and default are reserved names for group names. Disabled if dist-dtmf member flag is set. -->        
<caller-controls>
<group name="default">
<control action="mute" digits="0"/>
<control action="deaf mute" digits="*"/>
<control action="energy up" digits="9"/>
<control action="energy equ" digits="8"/>
<control action="energy dn" digits="7"/>
<control action="vol talk up" digits="3"/>
<control action="vol talk zero" digits="2"/>
<control action="vol talk dn" digits="1"/>
<control action="vol listen up" digits="6"/>
<control action="vol listen zero" digits="5"/>
<control action="vol listen dn" digits="4"/>
<control action="hangup" digits="#"/>
</group>
</caller-controls>
<!-- Profiles are collections of settings you can reference by name. -->
<profiles>
<!--If no profile is specified it will default to "default"-->
<profile name="default">
<!-- Domain (for presence) -->
<param name="domain" value="$${domain}"/>
<!-- Sample Rate-->
<param name="rate" value="8000"/>
<!-- Number of milliseconds per frame -->
<param name="interval" value="20"/>
<!-- Energy level required for audio to be sent to the other users -->
<param name="energy-level" value="300"/>
<!--Can be | delim of waste|mute|deaf|dist-dtmf waste will always transmit data to each channel
even during silence. dist-dtmf propagates dtmfs to all other members, but channel controls
         via dtmf will be disabled. -->
<param name="member-flags" value="dist-dtmf"/>
<!-- Name of the caller control group to use for this profile -->
<!-- <param name="caller-controls" value="some name"/> -->
<!-- TTS Engine to use -->
<!--<param name="tts-engine" value="cepstral"/>-->
<!-- TTS Voice to use -->
<!--<param name="tts-voice" value="david"/>-->
<!-- If TTS is enabled all audio-file params beginning with -->
<!-- 'say:' will be considered text to say with TTS -->
<!-- Override the default path here, after which you use relative paths in the other sound params -->
<!-- Note: The default path is the conference's first caller's sound_prefix -->
<!--<param name="sound-prefix" value="$${sounds_dir}/en/us/callie"/>-->
<!-- File to play to acknowledge succees -->
<!--<param name="ack-sound" value="beep.wav"/>-->
<!-- File to play to acknowledge failure -->
<!--<param name="nack-sound" value="beeperr.wav"/>-->
<!-- File to play to acknowledge muted -->
<!-- Conference pin -->
<!--<param name="pin" value="12345"/>-->
<!-- Default Caller ID Name for outbound calls -->
<param name="caller-id-name" value="$${outbound_caller_name}"/>
<!-- Default Caller ID Number for outbound calls -->
<param name="caller-id-number" value="1234"/>
<!-- Suppress start and stop talking events -->
<!-- <param name="suppress-events" value="start-talking,stop-talking"/> -->
<!-- enable comfort noise generation -->
<param name="comfort-noise" value="true"/>
<!-- Uncomment auto-record to toggle recording every conference call. -->
<!-- Another valid value is <a moz-do-not-send="true" href="mailto:shout://user:pass@server.com/live.mp3" target="_blank">shout://user:pass@server.com/live.mp3</a> -->
<!--
<param name="auto-record" value="$${recordings_dir}/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
-->
</profile>
</pre>
<div>
<div class="h5"> <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 6/30/2011 1:07 PM, Michael Collins wrote:
<blockquote type="cite">Can you pastebin exactly what
you are doing to establish the call? Including any
relevant dialplan entries. Also, if you have modified
conference.conf.xml we would like to see that also.<br>
<br>
-MC<br>
<br>
<div class="gmail_quote"> On Thu, Jun 30, 2011 at
10:59 AM, ran zhang <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:rzhang@gosilverplus.com"
target="_blank">rzhang@gosilverplus.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt
0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
204, 204); padding-left: 1ex;"> hi all:<br>
<br>
I'm trying to creating a conference, so when first
member enters the<br>
conference, he has to invite another members<br>
and have at least 1 other member to join to have
the conference established, so i'm<br>
using bridging conference.<br>
<br>
I need this conference to be terminated when the
original creator of the<br>
conference leaves no matter how many members are
still left in the conference.<br>
<br>
i'm trying to set 'endconf' flag in a bridging
conference using<br>
'bridge:confname+flag{endconf}:user/10',<br>
so it wil invite user extension 10, but its giving
me config error while<br>
running.<br>
<br>
can someone tell me what to do to solve this
problem or get around? the key<br>
is i only want the original member to be able to
terminate the conference<br>
when he leaves, not other members assuming there
are at least 2 members.<br>
<br>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a moz-do-not-send="true"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>