This may be an obvious reflection of my Asterisk/Linux/Windows weaknesses but I want to know in any case! Can a vb script run somehow on a Linux machine or does it only work on Windows? If I were to build a call file script (described in this link http://www.voip-info.org/wiki/index.php?page=Asterisk+auto-dial+out ) then how does it work if my Asterisk machine is running on Centos 5.5? I simply want to execute a script that helps me automate the voice broadcasting/IVR of up to 10000 phone numbers. Thank you Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110522/2e8c2929/attachment.htm>
Thomas Perron wrote:> Can a vb script run somehow on a Linux machine or does it only work on > Windows?Visual Basic is Windows specific. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Hi Doug, Yes. I have sorted that part out. Also, it seems like the pscp function is the way that I can tie together the vb script with the logic of the Asterisk call files........ learning curve!! Thanks On Sun, May 22, 2011 at 8:37 PM, Doug Lytle <support at drdos.info> wrote:> Thomas Perron wrote: > >> Can a vb script run somehow on a Linux machine or does it only work on >> Windows? >> > > > Visual Basic is Windows specific. > > Doug > > > -- > Ben Franklin quote: > > "Those who would give up Essential Liberty to purchase a little Temporary > Safety, deserve neither Liberty nor Safety." > > > -- > _____________________________________________________________________ > -- 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/20110522/c583dd29/attachment.htm>
On Sun, 22 May 2011, Thomas Perron wrote:> Can a vb script run somehow on a Linux machine or does it only work on Windows?Virtual machines or Wine may have some possibilities.> I simply want to execute a script that helps me automate the voice > broadcasting/IVR of up to 10000 phone numbers.Write a script that executes on the Asterisk box. Where do the 10,000 numbers come from? Executing a script on the Asterisk box will enable you to monitor the status of the process better. Like only dumping xxx scripts at a time into the spool directory and sending you an email if Asterisk stops processing them for some reason. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
On Sun, May 22, 2011 at 07:05:45PM -0400, Thomas Perron wrote:> This may be an obvious reflection of my Asterisk/Linux/Windows weaknesses > but I want to know in any case! > > Can a vb script run somehow on a Linux machine or does it only work on > Windows?Only on Windows (practically).> > If I were to build a call file script (described in this link > http://www.voip-info.org/wiki/index.php?page=Asterisk+auto-dial+out ) then > how does it work if my Asterisk machine is running on Centos 5.5? > > I simply want to execute a script that helps me automate the voice > broadcasting/IVR of up to 10000 phone numbers.I assume you know what you're doing and this is for a good cause. Use the Asterisk Manager Interface. http://www.voip-info.org/wiki/view/Asterisk+manager+API Specifically, the Originate command. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
On Monday 23 May 2011, Thomas Perron wrote:> This may be an obvious reflection of my Asterisk/Linux/Windows weaknesses > but I want to know in any case! > > Can a vb script run somehow on a Linux machine or does it only work on > Windows?AFAIK there is no Linux interpreter for VBS :( But the format of the callfile is independent of the language used to create it -- anything else would violate the Principle of Equivalence. Just learn Perl or Python instead. Both these interpreters are installed by default on every modern Linux system. Python is for the young and trendy, and I can't get to grips with it myself. Perl is the rusty old Ford Transit van of programming languages: it may not be much to look at, but it gets the job done. And its regular expression handling is second to none.> If I were to build a call file script (described in this link > http://www.voip-info.org/wiki/index.php?page=Asterisk+auto-dial+out ) then > how does it work if my Asterisk machine is running on Centos 5.5? > > I simply want to execute a script that helps me automate the voice > broadcasting/IVR of up to 10000 phone numbers.You have to write a program, in whatever language you like (bash even, if you're feeling sufficiently masochistic), which generates a callfile to establish the call you want to set up. (It's also best if you generate the file in some temporary location, then move it to the intended destination directory.) -- AJS Answers come *after* questions.