[Freeswitch-users] Conference Configure Multiple Prompts
Callum Guy
callum.guy at x-on.co.uk
Thu Oct 3 19:01:04 MSD 2013
OK, wow, given the amount of time i've spent searching the wiki i'm
surprised i hadn't already seen that! Presumably i had overlooked it as i'm
working purely with ESL rather than XML dialplans.
Anyway your suggestion pointed me in the right direction and the file
string syntax gave me everything i needed to get things working.
As such my conference XML shows:
<param name="enter-sound"
value="file_string://${ConferenceJoinName}!/usr/share/sounds/ConferenceJoined.wav"/>
<param name="exit-sound"
value="file_string://${ConferenceJoinName}!/usr/share/sounds/ConferenceLeft.wav"/>
This solved the issue and is the nice clean solution i have been looking
for.
Thank you!
______________________________
Callum Guy
Developer
X-on
Framlingham Technology Centre
Station Road, Framlingham,
Suffolk, IP13 9EZ
T 0333 332 0116
E callum.guy at x-on.co.uk
X-on is a trading name of Storacall Technology Ltd a limited company
registered in England and Wales
Registered Office : Avaland House, 110 London Road, Apsley, Hemel
Hempstead, Herts, HP3 9SD
Company Registration No. 2578478
This email has been sent from X-on.The contents and attachments are
confidential to the sender and the intended addressees.If the message
is received by anyone other than the addressee please return the
message to the sender by replying to it and then delete the message
from
your computer without copying or disclosing the contents to
anyone.Opinions, conclusions and statements of intent in this email
are those of
the sender and do not bind X-on unless confirmed by authorised
representatives independently of this message.While best endeavours
have
been taken to avoid transmission of viruses, it is the responsibility
of the recipient to scan for these.Please note emails sent to and from
X-on
are routinely monitored for record keeping and quality control, to
ensure regulatory compliance and prevent unauthorised use of our
systems.
Please consider the environment before printing this email.
On 3 October 2013 15:28, Stanislav Sinyagin <ssinyagin at yahoo.com> wrote:
> isn't the example at the bottom of
> http://wiki.freeswitch.org/wiki/Mod_conference
> doing exactly that?
>
>
>
>
> ------------------------------
> *From:* Callum Guy <callum.guy at x-on.co.uk>
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Sent:* Thursday, October 3, 2013 4:04 PM
> *Subject:* Re: [Freeswitch-users] Conference Configure Multiple Prompts
>
> Hi All,
>
> I am still having problems implementing a conference announcement where i
> need to play two files in sequence. For clarity i want to play the joiners
> (or leavers) name, followed by "has joined/left the conference".
>
> I have tried channel variables in the conference XML. This works great for
> a single file so i can play the name of the joiner/leaver to the conference
> but not both files in sequence.
>
> I have tried phrases as suggested by Michael but these are incompatible
> with the conference XML (if i understand correctly). I also attempted to
> use these with uuid_broadcast however that does not interrupt the
> conference.
>
> My most recent attempt has been to use the conference play API (i.e. "api
> conference test play /usr/share/sounds/ConferenceJoined.wav async") where I
> am having some success. The problem is that this configuration is awkward
> because it won't play a set of files either and often due to suspected
> timing issues one of the play events doesn't happen at all!
>
> Overall i have to say that using channel variables in the XML for the
> enter sound (<param name="enter-sound" value="${ConferenceJoinName}"/>) is
> the only stable option but I really do need to be able to play two files if
> at all possible. I have considered concatenating the audio files but this
> doesn't seem like a clean solution.
>
> Does anyone have any ideas for me to pursue?
>
> Thanks,
>
> Callum
>
> ______________________________
>
> Callum Guy
> Developer
>
> X-on
> Framlingham Technology Centre
> Station Road, Framlingham,
> Suffolk, IP13 9EZ
>
> T 0333 332 0116
> E callum.guy at x-on.co.uk
>
>
> X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
> Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD
> Company Registration No. 2578478
>
> This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
> is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from
> your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
> the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have
> been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on
> are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.
> Please consider the environment before printing this email.
>
>
>
> On 2 October 2013 17:31, Callum Guy <callum.guy at x-on.co.uk> wrote:
>
> OK so i've run into another issue when trying uuid_broadcast.
>
> I'm running the following just after joining an existing conference:
>
> api uuid_broadcast [UUID] phrase:conferenceAnnounce:${ConferenceJoinName}
> both
>
> This is having no immediate effect however when either leg closes they
> hear the broadcast message set by the closing channel!
>
> I'm sure i'm doing something wrong and i'll revisit tomorrow!
>
>
>
> _________________________________________________________________________
> 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
>
>
>
> _________________________________________________________________________
> 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/20131003/5a8c96a9/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list