Hi All, I am working with the conference application and controlling it remotely with ESL. I have a requirement to assign multiple prompts to the same event - in this case conference join. I have configured an application to record a users name, and wish to play "NAME..." followed by a default prompt "..has joined the conference". Similarly i plan to use the same idea when callers leave the conference. I am first looking at the application parameters in "autoload_configs/conference.conf.xml" and wondering if there is a way to share a list of prompts - something along the lines of the following which i naively hoped would repeat the prompt twice (obviously it doesn't work, otherwise i wouldn't be asking!): <param name="alone-sound" value="/usr/share/sounds/ConferencingOnlyPerson.wav /usr/share/sounds/ConferencingOnlyPerson.wav"/> I can advance this by changing strategy and broadcasting an event (play application) to all known conference members however i suspect there may be a better and cleaner way of doing this so i'm putting the question to the community! Any help/pointers would be greatly appreciated. Best Regards, Callum
Check out phrases: https://wiki.freeswitch.org/wiki/Speech_Phrase_Management On Oct 2, 2013, at 7:00 AM, Callum Guy <callum.guy@x-on.co.uk> wrote:
Hi All,
I am working with the conference application and controlling it remotely with ESL. I have a requirement to assign multiple prompts to the same event - in this case conference join.
I have configured an application to record a users name, and wish to play "NAME..." followed by a default prompt "..has joined the conference". Similarly i plan to use the same idea when callers leave the conference.
I am first looking at the application parameters in "autoload_configs/conference.conf.xml" and wondering if there is a way to share a list of prompts - something along the lines of the following which i naively hoped would repeat the prompt twice (obviously it doesn't work, otherwise i wouldn't be asking!):
<param name="alone-sound" value="/usr/share/sounds/ConferencingOnlyPerson.wav /usr/share/sounds/ConferencingOnlyPerson.wav"/>
I can advance this by changing strategy and broadcasting an event (play application) to all known conference members however i suspect there may be a better and cleaner way of doing this so i'm putting the question to the community!
Any help/pointers would be greatly appreciated.
Thanks Mike, I've now built and tested the phrase macro and it works but i'm having some difficulty working out how to use it as a conference announcement. My goal is to record a users name as they dial the conference number, store that filename in a variable and when they enter the conference i want to play "users name" followed by "has joined the conference". In an ideal world i'd be able to do the following in my conference profile: <param name="enter-sound" value="phrase:conferenceAnnounce"/> Firstly phrase is invalid in this context so that's no good. Also this would need access to the file path and name of the file created by the person entering but at present the variable only exists in the channel scope so that won't work either, and going global seems messy. I'm going to try uuid_broadcast unless i'm missing something obvious? ______________________________ Callum Guy Developer X-on Framlingham Technology Centre Station Road, Framlingham, Suffolk, IP13 9EZ T 0333 332 0116 E callum.guy@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 13:08, Michael Jerris <mike@jerris.com> wrote:
Check out phrases: https://wiki.freeswitch.org/wiki/Speech_Phrase_Management
On Oct 2, 2013, at 7:00 AM, Callum Guy <callum.guy@x-on.co.uk> wrote:
Hi All,
I am working with the conference application and controlling it remotely with ESL. I have a requirement to assign multiple prompts to the same event - in this case conference join.
I have configured an application to record a users name, and wish to play "NAME..." followed by a default prompt "..has joined the conference". Similarly i plan to use the same idea when callers leave the conference.
I am first looking at the application parameters in "autoload_configs/conference.conf.xml" and wondering if there is a way to share a list of prompts - something along the lines of the following which i naively hoped would repeat the prompt twice (obviously it doesn't work, otherwise i wouldn't be asking!):
<param name="alone-sound" value="/usr/share/sounds/ConferencingOnlyPerson.wav /usr/share/sounds/ConferencingOnlyPerson.wav"/>
I can advance this by changing strategy and broadcasting an event (play application) to all known conference members however i suspect there may be a better and cleaner way of doing this so i'm putting the question to the community!
Any help/pointers would be greatly appreciated.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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!
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@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@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!
isn't the example at the bottom of http://wiki.freeswitch.org/wiki/Mod_conference doing exactly that? ________________________________ From: Callum Guy <callum.guy@x-on.co.uk> To: FreeSWITCH Users Help <freeswitch-users@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@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@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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@x-on.co.uk> *To:* FreeSWITCH Users Help <freeswitch-users@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@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Callum Guy
-
Michael Jerris
-
Stanislav Sinyagin