Hi all, Is there any way of originating calls in future without using call files? We have 2 servers (1 active at a time). If we use call files with modification date in future, on the 1st server and it dies and, we activate the second server but we lose the call files. I could have a cronjob on both servers and create callfiles reading execution time from database, but this involves some other complications. Any crazy ideas would be helpful. Thanks -- Best Ragards Rizwan H Qureshi V: +971 (0) 528272154 linkedin.com/in/rhqureshi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131031/c4e5e096/attachment.html>
There are several options: AMI and ARI (vs. 12). Depending on what you are trying to do there is also AGI and FastAGI.
Hi Rizwan , Have you tried to define astspooldir (usually /var/spool/asterisk) to a shared filesystem? Or to create a symlink for outgoing directory (where the call files have to be placed) to a directory placed on a shared filesystem (eg on a NAS)? Just brainstorming - not yet tried and maybe completely wrong :) HTH, Ioan On Thu, Oct 31, 2013 at 4:44 PM, Rizwan Hisham <rizwanhasham at gmail.com>wrote:> Hi all, > Is there any way of originating calls in future without using call files? > > We have 2 servers (1 active at a time). If we use call files with > modification date in future, on the 1st server and it dies and, we activate > the second server but we lose the call files. > > I could have a cronjob on both servers and create callfiles reading > execution time from database, but this involves some other complications. > > Any crazy ideas would be helpful. > > Thanks > > -- > Best Ragards > Rizwan H Qureshi > > V: +971 (0) 528272154 > linkedin.com/in/rhqureshi > > > > -- > _____________________________________________________________________ > -- 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/20131031/f9abdfa1/attachment.html>
On 10/31/13, 8:44 AM, Rizwan Hisham wrote:> Hi all, > Is there any way of originating calls in future without using call files? > > We have 2 servers (1 active at a time). If we use call files with > modification date in future, on the 1st server and it dies and, we > activate the second server but we lose the call files. > > I could have a cronjob on both servers and create callfiles reading > execution time from database, but this involves some other complications. > > Any crazy ideas would be helpful. > > Thanks > >The easiest way to do this would be with AMI and originate your calls in realtime. That way you do not have to worry about which server will handle the call, the one you connect to will. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez +52 (55)9116-91161