Olli Heiskanen
2015-Feb-06 07:54 UTC
[asterisk-users] Question regarding custom announcements used by several Asterisk servers
Hello, Got a question regarding custom announcements in Asterisk. My goal is to allow my users record their own queue announcements and choose which announcements they want to use in each queue. I have several Asterisk servers and a Kamailio server which dispatches call traffic between the Asterisks. Question is, is it possible to have something like a NSF disk shared between several asterisk servers and store custom announcements there, where all Asterisks would use them? I expect to have to place the files under whatever I configure in asterisk.conf. Additionally, can I place the announcements in subfolders under that directory and in my realtime queue table use values something like '/subfldr/myannouncement'? Keep up the good work! cheers, Olli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150206/5d653237/attachment.html>
Ishfaq Malik
2015-Feb-06 10:03 UTC
[asterisk-users] Question regarding custom announcements used by several Asterisk servers
On 6 February 2015 at 07:54, Olli Heiskanen <ohjelmistoarkkitehti at gmail.com> wrote:> > Hello, > > Got a question regarding custom announcements in Asterisk. > > My goal is to allow my users record their own queue announcements and > choose which announcements they want to use in each queue. I have several > Asterisk servers and a Kamailio server which dispatches call traffic > between the Asterisks. Question is, is it possible to have something like a > NSF disk shared between several asterisk servers and store custom > announcements there, where all Asterisks would use them? I expect to have > to place the files under whatever I configure in asterisk.conf. > Additionally, can I place the announcements in subfolders under that > directory and in my realtime queue table use values something like > '/subfldr/myannouncement'? > > Keep up the good work! > > cheers, > Olli > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >Hi All of that is possible and is exactly what we do, both for customer sounds and for call recordings. Just make sure you have resilience in your shared storage device. Alternatively, you could use something like Puppet to deploy the files to all the servers. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: ish at pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150206/911eec8b/attachment.html>
Gareth Blades
2015-Feb-06 10:32 UTC
[asterisk-users] Question regarding custom announcements used by several Asterisk servers
On 06/02/15 07:54, Olli Heiskanen wrote:> My goal is to allow my users record their own queue announcements and > choose which announcements they want to use in each queue. I have > several Asterisk servers and a Kamailio server which dispatches call > traffic between the Asterisks. Question is, is it possible to have > something like a NSF disk shared between several asterisk servers and > store custom announcements there, where all Asterisks would use them? > I expect to have to place the files under whatever I configure in > asterisk.conf. Additionally, can I place the announcements in > subfolders under that directory and in my realtime queue table use > values something like '/subfldr/myannouncement'?I assume you mean NFS. Yes you can do that although using NFS you will then have a single point of failure and in the standard NFS client configuration if you try to access a file which is on NFS but it is unavailable then the file access will hang. So you might be better off having the files copied onto each of the asterisks servers local file storage or use a redundant file system such as gluster.
Olli Heiskanen
2015-Feb-06 11:00 UTC
[asterisk-users] Question regarding custom announcements used by several Asterisk servers
Oops, quite right, how typoful of me! Thanks for the excellent points, I'll look into gluster and puppet and see may way onwards from there. cheers, Olli 2015-02-06 12:32 GMT+02:00 Gareth Blades <mailinglist+asterisk at dns99.co.uk>:> On 06/02/15 07:54, Olli Heiskanen wrote: > >> My goal is to allow my users record their own queue announcements and >> choose which announcements they want to use in each queue. I have several >> Asterisk servers and a Kamailio server which dispatches call traffic >> between the Asterisks. Question is, is it possible to have something like a >> NSF disk shared between several asterisk servers and store custom >> announcements there, where all Asterisks would use them? I expect to have >> to place the files under whatever I configure in asterisk.conf. >> Additionally, can I place the announcements in subfolders under that >> directory and in my realtime queue table use values something like >> '/subfldr/myannouncement'? >> > > I assume you mean NFS. > Yes you can do that although using NFS you will then have a single point > of failure and in the standard NFS client configuration if you try to > access a file which is on NFS but it is unavailable then the file access > will hang. > > So you might be better off having the files copied onto each of the > asterisks servers local file storage or use a redundant file system such as > gluster. > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150206/b76f22eb/attachment.html>
Paul Belanger
2015-Feb-06 18:58 UTC
[asterisk-users] Question regarding custom announcements used by several Asterisk servers
On Fri, Feb 6, 2015 at 5:03 AM, Ishfaq Malik <ish at pack-net.co.uk> wrote:> > > On 6 February 2015 at 07:54, Olli Heiskanen <ohjelmistoarkkitehti at gmail.com> > wrote: >> >> >> Hello, >> >> Got a question regarding custom announcements in Asterisk. >> >> My goal is to allow my users record their own queue announcements and >> choose which announcements they want to use in each queue. I have several >> Asterisk servers and a Kamailio server which dispatches call traffic between >> the Asterisks. Question is, is it possible to have something like a NSF disk >> shared between several asterisk servers and store custom announcements >> there, where all Asterisks would use them? I expect to have to place the >> files under whatever I configure in asterisk.conf. Additionally, can I place >> the announcements in subfolders under that directory and in my realtime >> queue table use values something like '/subfldr/myannouncement'? >> >> Keep up the good work! >> >> cheers, >> Olli >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > > Hi > > All of that is possible and is exactly what we do, both for customer sounds > and for call recordings. Just make sure you have resilience in your shared > storage device. > > Alternatively, you could use something like Puppet to deploy the files to > all the servers. >This is basically what we do, we use puppet to help distribute files to remote servers while still using app_queue. Shared network drive also works. -- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger
Apparently Analagous Threads
- Question regarding custom announcements used by several Asterisk servers
- Question regarding custom announcements used by several Asterisk servers
- Realtime integration: Unregistered clients showing as registered?
- Letting rtp profiles be handled by rtpengine instead of Asterisk
- Rejecting secure audio stream without encryption details - when using ws clients and Kamailio integration