Gerald Harshany
2008-Aug-05 05:55 UTC
[asterisk-users] a simple Asterisk AMI interface with Delphi (or Lazarus+FreePascal)
Hi Everyone, Those of you who have a simple home-based Asterisk box might be interested in a "simple" Win32 (Win2K or WinXP) interface to the AMI manager. The quick-start versions merely require unzipping with NO Installation - hence, NO Uninstall (i.e., no registry writes at any time by the install nor by the program). (Unfortunately) the INSTALL version does write to the registry due to the database licensing requirements. Would suggest that you download the PDF and, if interested, (or if you hate to read manuals, just ), download the quick-start version which only requires 3 settings in Asterisk's manager.conf file (the user name, the password, and the read/write privileges - program defaults to the 5038 port). The program was really written as a nostalgic cruise down the old Pascal OOP thruway, and not as a contender to the likes of FOP, etc. Pascal has nice features such as declaring any of your functions "inline"; or for that matter writing inline Assembler code which was "the" language in the '70s (that is the 1900's, by the way). The Win2K version was compiled on an old Delphi 5 compiler (and for you young'uns, that was circa 1999 when Win2K was unveiled). However, fear not, the WinXP version was compiled with the latest Delphi 2007 R2. However, I did NOT insert some required Vista enabling statements (such as for the glass effect), since I have no interest in testing it (yet) in Vista; so, the XP version may or may not function well in XP compatibility mode within Vista. As for my Subject - Is anyone in this Asterisk group doing anything using Lazarus and FreePascal for the Asterisk box? The FreePascal compiler is a "total" (and, yes, an open source work in progress) cross-platform compiler. What I mean is, it can compile for Win, Mac, and Linux, but also for about half a dozen CPU's. The documentation for the compiler is an outstanding example for open-source projects. Downloads and info at: http://www.jerryh.us/Downloads/amifiles.htm Gerald Harshany, Ph.D. Professor Emeritus of Mathematics And again, for you young'uns, "Emeritus" simply means "ancient" :)
Marco Eduardo Cordeiro
2008-Aug-05 12:57 UTC
[asterisk-users] RES: a simple Asterisk AMI interface with Delphi (or Lazarus+FreePascal)
Hello, Just wanted to let you know that the XP version works fine on vista. I was working on a similar program but didn?t have enough time to finish, I was working on Delphi 7 btw. Thanks Marco. -----Mensagem original----- De: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] Em nome de Gerald Harshany Enviada em: ter?a-feira, 5 de agosto de 2008 02:56 Para: Asterisk Users Mailing List - Non-Commercial Discussion Assunto: [asterisk-users] a simple Asterisk AMI interface with Delphi (or Lazarus+FreePascal) Hi Everyone, Those of you who have a simple home-based Asterisk box might be interested in a "simple" Win32 (Win2K or WinXP) interface to the AMI manager. The quick-start versions merely require unzipping with NO Installation - hence, NO Uninstall (i.e., no registry writes at any time by the install nor by the program). (Unfortunately) the INSTALL version does write to the registry due to the database licensing requirements. Would suggest that you download the PDF and, if interested, (or if you hate to read manuals, just ), download the quick-start version which only requires 3 settings in Asterisk's manager.conf file (the user name, the password, and the read/write privileges - program defaults to the 5038 port). The program was really written as a nostalgic cruise down the old Pascal OOP thruway, and not as a contender to the likes of FOP, etc. Pascal has nice features such as declaring any of your functions "inline"; or for that matter writing inline Assembler code which was "the" language in the '70s (that is the 1900's, by the way). The Win2K version was compiled on an old Delphi 5 compiler (and for you young'uns, that was circa 1999 when Win2K was unveiled). However, fear not, the WinXP version was compiled with the latest Delphi 2007 R2. However, I did NOT insert some required Vista enabling statements (such as for the glass effect), since I have no interest in testing it (yet) in Vista; so, the XP version may or may not function well in XP compatibility mode within Vista. As for my Subject - Is anyone in this Asterisk group doing anything using Lazarus and FreePascal for the Asterisk box? The FreePascal compiler is a "total" (and, yes, an open source work in progress) cross-platform compiler. What I mean is, it can compile for Win, Mac, and Linux, but also for about half a dozen CPU's. The documentation for the compiler is an outstanding example for open-source projects. Downloads and info at: http://www.jerryh.us/Downloads/amifiles.htm Gerald Harshany, Ph.D. Professor Emeritus of Mathematics And again, for you young'uns, "Emeritus" simply means "ancient" :) _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users << Visioncom Tecnologia da Informa??o (www.visioncom.com.br) >>
Steve Totaro
2008-Aug-05 13:51 UTC
[asterisk-users] a simple Asterisk AMI interface with Delphi (or Lazarus+FreePascal)
On Tue, Aug 5, 2008 at 1:55 AM, Gerald Harshany <gerh at jerryh.us> wrote:> Hi Everyone, > > Those of you who have a simple home-based Asterisk box might > be interested in a "simple" Win32 (Win2K or WinXP) interface to > the AMI manager. The quick-start versions merely require > unzipping with NO Installation - hence, NO Uninstall (i.e., no > registry writes at any time by the install nor by the program). > > (Unfortunately) the INSTALL version does write to the registry > due to the database licensing requirements. Would suggest that > you download the PDF and, if interested, (or if you hate to read > manuals, just ), download the quick-start version which only > requires 3 settings in Asterisk's manager.conf file (the user name, > the password, and the read/write privileges - program defaults to > the 5038 port). > > The program was really written as a nostalgic cruise down the old > Pascal OOP thruway, and not as a contender to the likes of FOP, > etc. Pascal has nice features such as declaring any of your > functions "inline"; or for that matter writing inline Assembler code > which was "the" language in the '70s (that is the 1900's, by the > way). The Win2K version was compiled on an old Delphi 5 > compiler (and for you young'uns, that was circa 1999 when Win2K > was unveiled). However, fear not, the WinXP version was > compiled with the latest Delphi 2007 R2. However, I did NOT > insert some required Vista enabling statements (such as for the > glass effect), since I have no interest in testing it (yet) in Vista; so, > the XP version may or may not function well in XP compatibility > mode within Vista. > > As for my Subject - Is anyone in this Asterisk group doing > anything using Lazarus and FreePascal for the Asterisk box? The > FreePascal compiler is a "total" (and, yes, an open source work in > progress) cross-platform compiler. What I mean is, it can compile > for Win, Mac, and Linux, but also for about half a dozen CPU's. > The documentation for the compiler is an outstanding example for > open-source projects. > > Downloads and info at: http://www.jerryh.us/Downloads/amifiles.htm > > Gerald Harshany, Ph.D. > Professor Emeritus of Mathematics > > And again, for you young'uns, "Emeritus" simply means "ancient" :) >I have to admit I am Win2k Server fan. I still have a few of these scattered in basements here and there, chugging away for years and years. Thanks, Steve T