[Freeswitch-users] announce conf count (total callers minus 1)?

Michael Collins msc at freeswitch.org
Mon Dec 19 22:53:18 MSK 2011


Try this:

<action application="say" data="en number pronounced ${expr
${conf_count} - 1}"/>

That's just off the top of my head, so if it doesn't work then tinker with
it until you get it working.

-MC

On Sun, Dec 18, 2011 at 10:22 AM, Rodney <notlikeme75 at yahoo.com> wrote:

> this works great, thank you to whomever created it. is there a way to make
> the conf count = list count -1 so the playback will only speak total
> "other" callers instead of including the person who press the option?
>
>
> conf/dialplan/default/01_Announce_Conf_Count.xml:
>
> <include>
>   <!-- Sample dialplan for announcing the call count -->
>   <extension name="Announce Conf Count (Inline)">
>     <condition field="destination_number" expression="^ANNOUNCE_CONF_COUNT_PRIVATE$">
>       <action application="set" data="conf_count=${conference ${conference_name} list count}"/>
>       <action application="log" data="INFO ${conf_count}"/>
>       <action application="say" data="en number pronounced ${conf_count}"/>
>     </condition>
>   </extension>
> </include>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20111219/3cd54e67/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list