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

Rodney notlikeme75 at yahoo.com
Sun Dec 18 21:22:47 MSK 2011


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> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111218/a437d869/attachment.html 


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