<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes, but not sure how I'd do that. In the conference profile, I can play a single sound file for an enter/leave. I can't join two files with "!" to have them play in series, like "name.wav!conference/conf-enter.wav".<div><br><div>Bryan</div><div><br><div><div>On Jun 27, 2011, at 3:37 PM, Brad Mina wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF"><div>You could have users prompted to record their name to get around the first issue and play it back before "... Has joined the conference" is played back.&nbsp;<br><br>Sent from my iPhone</div><div><br>On Jun 27, 2011, at 12:05 PM, Bryan Smart &lt;<a href="mailto:bryansmart@bryansmart.com">bryansmart@bryansmart.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Thanks, Michael. At least I know that it is a limitation, and not me overlooking something. :) I have 3 or 4 years on Asterisk, but only months on Freeswitch, so I'm always concerned that I haven't dug enough before posting requests.<div><br></div><div>For phrases inside conferences, I imagine 3 cases.</div><div><br></div><div>First are dynamic announcements, such as those that announce when someone joins or leaves a conference. It is helpful if the joining or leaving party can be identified. I imagined combining TTS for the name, along with a pre-recorded fragment like conference/conf-has_joined.wav. The result would be like "John has entered the conference." Right now, I must use entirely TTS for such announcements. I can't use "!" to concatenate files, and I can't defer to a phrase macro to string TTS and recordings together.</div><div><br></div><div>Second applies to localization. In a dynamic announcement, it might not be appropriate for the noun to be spoken first in languages other than English. Right now, the conference's prompt language must be customized by creating a different conference profile that specifies the correct sound base for the language. That could mean that the number of profiles in use has to be multiplied by the number of languages that should be supported. I know that the profile can omit the sound base, and the sound base of the first person to join will be used, but, particularly in a situation that concatenates TTS and audio, that can be worse. If the first person to join automatically selects sound files for a language, but the concatenation order is different for that language, then any rules in that profile that concatenate TTS and recordings to render announcements could result in strange outcomes. As far as I've been able to discover, the phrase system is the appropriate Freeswitch way to localize announcements, so it would probably be best for Conference to work that way also, rather than depending on per-case localization being handled with multiple profiles. If phrases were supported, then a single conference profile could play both static and dynamic prompts, and could automatically adjust to any language where phrase macros are present on the system.</div><div><br></div><div>Last are cases when multiple types of notification are desired. For example, notifications might use a combination of cues and speech. An audio cue serves a similar function to a visual icon: attracts attention and conveys general meaning. In a situation like a conference, there might be soft audio cues for joining, leaving, when a new person has the floor, etc. When one of those events takes place, the cue plays first to attract attention and set the listener's expectations regarding the type of spoken information that will follow. Next, an announcement is heard with details about the event. "&lt;cue&gt; John has left &nbsp;the conference."</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Jun 27, 2011, at 11:25 AM, Michael Collins wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Phrase macros are not supported inside mod_conference. If you look inside mod_conference.c you will see that it has its own functions for injecting audio into the conference and it does not support phrase macros. You can open up a feature request on Jira. I honestly don't know how easy/difficult this would be, so you may consider offering a bounty to sweeten the deal.<br>
<br>Curious: what types of phrases are you trying to play into the conference?<br><br>-MC<br><br><div class="gmail_quote">On Sun, Jun 26, 2011 at 4:57 PM, Bryan Smart <span dir="ltr">&lt;<a href="mailto:bryansmart@bryansmart.com"></a><a href="mailto:bryansmart@bryansmart.com">bryansmart@bryansmart.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div style="word-wrap:break-word">I'm attempting to use phrase macros in mod_conference, but I'm not having success. Perhaps they aren't supported?<div>
<br></div><div>I have a working phrase macro. In the dialplan, both</div><div><br></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&lt;action application="phrase" data="my_phrase"/&gt;</div>
</div><div><br></div><div>and</div><div><br></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&lt;action application="playback" data="phrase:my_phrase"/&gt;</div>
</div><div><br></div><div>Work just fine.</div><div><br></div><div>The wiki says that, in conference.conf.xml, entries like pin-sound accept, for their value, file paths, strings prefixed with "say" for TTS, and strings prefixed with "tone_stream". This looks almost the same as what can be passed to the playback application in the dialplan. When I try to prefix a string with "phrase", it doesn't work.</div>
<div><br></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&lt;param name="pin-sound" value="phrase:my_phrase"/&gt;</div></div><div><br></div><div>The console tells me "unknown file format". The console still tells me this if I make up phrase names</div>
<div><br></div><div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&lt;param name="pin-sound" value="phrase:not_a_real_phrase"/&gt;</div></div></div><div><br></div>
<div>So it is complaining about the syntax or capability, rather than an unrecognized format of an actual file.</div><div><br></div><div>If mod_conference doesn't support phrase macros, is this a near-future feature? Phrases would seem to be necessary to ocalize announcements and play announcements that are stitched together from multiple files.</div>
<div><br></div><font color="#888888"><div>Bryan</div><div><br></div></font></div><br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com/" target="_blank"></a><a href="http://www.cluecon.com/">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"></a><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"></a><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"></a><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank"></a><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com/"></a><a href="http://www.cluecon.com/">http://www.cluecon.com</a> 877-7-4ACLUE<br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org"></a><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Join us at ClueCon 2011, Aug 9-11, Chicago</span><br><span><a href="http://www.cluecon.com/">http://www.cluecon.com</a> 877-7-4ACLUE</span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a></span><br></div></blockquote></div>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com">http://www.cluecon.com</a> 877-7-4ACLUE<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></div></body></html>