[Freeswitch-users] Phrase macros in conferences

Michael Collins msc at freeswitch.org
Mon Jun 27 19:25:44 MSD 2011

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.

Curious: what types of phrases are you trying to play into the conference?


On Sun, Jun 26, 2011 at 4:57 PM, Bryan Smart <bryansmart at bryansmart.com>wrote:

> I'm attempting to use phrase macros in mod_conference, but I'm not having
> success. Perhaps they aren't supported?
> I have a working phrase macro. In the dialplan, both
> <action application="phrase" data="my_phrase"/>
> and
> <action application="playback" data="phrase:my_phrase"/>
> Work just fine.
> 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.
> <param name="pin-sound" value="phrase:my_phrase"/>
> The console tells me "unknown file format". The console still tells me this
> if I make up phrase names
> <param name="pin-sound" value="phrase:not_a_real_phrase"/>
> So it is complaining about the syntax or capability, rather than an
> unrecognized format of an actual file.
> 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.
> Bryan
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> 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/20110627/3b6bc560/attachment.html 

More information about the FreeSWITCH-users mailing list