Re: [Asterisk-java-devel] Have anyone implemetned a windows service with asterisk-java?
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2010-06-01 09:18:36
|
Hi, as far as I understand your answer, your service is up and the problem lies somewhere else. But... unfortunately you supply no information at all. What do you mean by "script is not displayed"?? Between the lines I assume, you want to execute an agi when a call comes in... did you follow the instructions on how to build agi-scripts with java? did you set up a fastagi-mapping file and placed it in the right folder? how does your dialplan and your java class look like (sources...). You don´t need to set up "asterisk-java working as a service", its just a helper library. Instead, you should implement a service for starting / stopping and watching your agi-server... What is "demo.php" ?? btw.: The Java-Agi-Server is very stable. In my production I use it for my own conference-servers and IVRs with thousands of calls (with recording, dtmf-input and so on) per week and so far it never failed! yves Saugort Dario Garcia Tovar schrieb: > Thanks for your answer, > > Basically, It is for a proyect. The final user requires that if the > box fail, on restart, all services start again, automatically, and be > controlled by Widnows SCM. > > I found Java Wrapper Service > (http://wrapper.tanukisoftware.org/doc/english/integrate-listener.html) > and used to create a new class to work get asterisk-java working as > service. I am succeed making the service. however when a call arrives > the script is not displayed. asterisk-java just said that can not find > fastagi-mapping file or that demo.php is not found. > > So, I dont want to reinvent the wheel. If someone has work with > asterisk-java in windows and make it work as a windows service, I > would like to know how to do it. > > Yves Arikoglu wrote: >> Hi, >> >> I don´t see, why this should not work, although there might be 100 >> reasons... >> Could you pls. explain what your objective is, what you tried and what >> the result was ? (no success is a bit too little info). >> (please include any version info) >> >> yves >> >> Saugort Dario Garcia Tovar schrieb: >> >>> Hi, >>> >>> Have anyone implemetned a windows service with asterisk-java? I mean >>> deploy asterisk-java in a windows machine and declare a windows >>> controlable service from SCM. >>> >>> I am tried to use Java Wrapper Service >>> (http://wrapper.tanukisoftware.org/doc/english/integrate-listener.html) >>> but without successs. >>> >>> Thanks in advance >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Asterisk-java-devel mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel >>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Asterisk-java-devel mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 9.0.819 / Virus Database: 271.1.1/2908 - Release Date: 05/31/10 01:55:00 >> >> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |