ABBAS SHAKEEL
2009-Oct-20 12:24 UTC
[asterisk-users] Syncronizing files on different Asterisk servers
Hello I need some advice regarding the Asterisk server that are located at different locations. Three asterisk servers are here each at different location. Suppose A,B,C be the three servers respectively. Server A is connected to server B and server C through a VPN. I have a developed an IVR service on server B and server C where users come and record their voice. On the same servers B and C users come to listen the recorded voices (I am using agi ). any user records his profile on server B , NOW a user who make a call to server C cannot listen to profiles recorded at server B. Because these profiles reside on Server B ... Similar in case of server C. I thought a solution that i will use sockets. when a user records a voice on Server B . The file will be send to Server A and Server A will send it to all other servers ie C and others if exists. But if alot of user start to record their voices then sockets may fail ??? DO any one have idea to do it in better way ??? -- Best Regards Shakeel Abbas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091020/afed1da6/attachment.htm
Jeff LaCoursiere
2009-Oct-20 12:44 UTC
[asterisk-users] Syncronizing files on different Asterisk servers
On Tue, 20 Oct 2009, ABBAS SHAKEEL wrote:> Hello > I need some advice regarding the Asterisk server that are located at > different locations. > > Three asterisk servers are here each at different location. Suppose A,B,C be > the three servers respectively. > > Server A is connected to server B and server C through a VPN. > > I have a developed an IVR service on server B and server C where users come > and record their voice. On the same servers B and C users come to listen the > recorded voices (I am using agi ). any user records his profile on server B > , NOW a user who make a call to server C cannot listen to profiles recorded > at server B. Because these profiles reside on Server B ... Similar in case > of server C. > > I thought a solution that i will use sockets. when a user records a voice > on Server B . The file will be send to Server A and Server A will send it to > all other servers ie C and others if exists. > > But if alot of user start to record their voices then sockets may fail ??? > DO any one have idea to do it in better way ??? >How about rsync? j
ABBAS SHAKEEL
2009-Oct-20 13:01 UTC
[asterisk-users] Syncronizing files on different Asterisk servers
Yeah i do have considered that option but the problem is that in if i have four servers server ie A,B,C,D... all cannot be servers ands clients at the same time. Thats the reason I am wondering any other solution On Tue, Oct 20, 2009 at 5:44 PM, Jeff LaCoursiere <jeff at jeff.net> wrote:> > On Tue, 20 Oct 2009, ABBAS SHAKEEL wrote: > > > Hello > > I need some advice regarding the Asterisk server that are located at > > different locations. > > > > Three asterisk servers are here each at different location. Suppose A,B,C > be > > the three servers respectively. > > > > Server A is connected to server B and server C through a VPN. > > > > I have a developed an IVR service on server B and server C where users > come > > and record their voice. On the same servers B and C users come to listen > the > > recorded voices (I am using agi ). any user records his profile on server > B > > , NOW a user who make a call to server C cannot listen to profiles > recorded > > at server B. Because these profiles reside on Server B ... Similar in > case > > of server C. > > > > I thought a solution that i will use sockets. when a user records a > voice > > on Server B . The file will be send to Server A and Server A will send it > to > > all other servers ie C and others if exists. > > > > But if alot of user start to record their voices then sockets may fail > ??? > > DO any one have idea to do it in better way ??? > > > > How about rsync? > > j > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best Regards Shakeel Abbas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091020/9c17311a/attachment.htm
Jeff LaCoursiere
2009-Oct-20 13:20 UTC
[asterisk-users] Syncronizing files on different Asterisk servers
On Tue, 20 Oct 2009, ABBAS SHAKEEL wrote:> Yeah i do have considered that option but the problem is that in if i have > four servers server ie A,B,C,D... all cannot be servers ands clients at the > same time. Thats the reason I am wondering any other solution >Well you already suggested that you would send all files to server A, so A is your "server". Now you just need to replicate that file store to the other servers, with a tool like rsync. Other options? How about setting up A as a mounted file system on the other servers, such that they all write to the same place. Or perhaps make it more complex and have a database that points to the files on their respective servers, and your app then grabs the file it needs based on the pointer it finds in the table. j
Joseph
2009-Oct-21 05:08 UTC
[asterisk-users] Syncronizing files on different Asterisk servers
On 10/20/09 17:24, ABBAS SHAKEEL wrote:>Hello >I need some advice regarding the Asterisk server that are located at >different locations. > >Three asterisk servers are here each at different location. Suppose A,B,C be >the three servers respectively. > >Server A is connected to server B and server C through a VPN. > >I have a developed an IVR service on server B and server C where users come >and record their voice. On the same servers B and C users come to listen the >recorded voices (I am using agi ). any user records his profile on server B >, NOW a user who make a call to server C cannot listen to profiles recorded >at server B. Because these profiles reside on Server B ... Similar in case >of server C.By "...listen to profile..." do you mean retrieve their voice-mail on a different server? -- Joseph
ABBAS SHAKEEL
2009-Oct-21 06:59 UTC
[asterisk-users] Syncronizing files on different Asterisk servers
Thanks Alot @ Jeff LaCoursiere, at Arjan Kroon, at Robin, at Joseph @ Jeff LaCoursiere>>Well you already suggested that you would send all files to server A, so A >>is your "server"Sorry For the wording actually i need to send to a central server. then a central server to all others. Because all servers have VPN To central Server only. The Drive Mount Option seems cool to me but I dont have any Idea About it . Can you give me some clues or links @ Arjan Kroon As i dont have good idea about Mounting what about the script .... actually i need some thing that dont needs human hand after development. And if script can do this then it will be fine. @Robin Which Application do use for that ?? Please elaborate>>>Hell, you could even "abuse" dropbox for this purpose.What does this means? @ Joseph No Joseph its not some thing voice mail its recording of suggestions etc Actually operators are located at different locations and if a user leave a suggestion at one operator then the file will be on that particular server. But if the user of another operator want to listen that file then this file must be present on that server also ..Thats why I am considering these options On Wed, Oct 21, 2009 at 10:08 AM, Joseph <syscon780 at gmail.com> wrote:> On 10/20/09 17:24, ABBAS SHAKEEL wrote: > >Hello > >I need some advice regarding the Asterisk server that are located at > >different locations. > > > >Three asterisk servers are here each at different location. Suppose A,B,C > be > >the three servers respectively. > > > >Server A is connected to server B and server C through a VPN. > > > >I have a developed an IVR service on server B and server C where users > come > >and record their voice. On the same servers B and C users come to listen > the > >recorded voices (I am using agi ). any user records his profile on server > B > >, NOW a user who make a call to server C cannot listen to profiles > recorded > >at server B. Because these profiles reside on Server B ... Similar in case > >of server C. > > By "...listen to profile..." do you mean retrieve their voice-mail on a > different server? > > -- > Joseph > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best Regards Shakeel Abbas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091021/aba24fee/attachment-0001.htm
lists at torrenga.com
2009-Oct-21 17:10 UTC
[asterisk-users] Syncronizing files on different Asterisk servers
Have you considered rsync? We use it to synchronize voicemail between offices connected through a VPN. Of course you need to run rsync somehow, which is easy with an external command every time someone checks their voice mail, but no reason it couldn't be done with a cron job. Sincerely, Brent A. Torrenga> Sorry For the wording actually i need to send to a central server. > then a central server to all others. Because all servers have VPN To > central Server only. > The Drive Mount Option seems cool to me but I dont have any Idea About it.