Thread: [Asterisk-java-users] (no subject)
Brought to you by:
srt
From: Steve D. <Ste...@Su...> - 2005-04-14 20:12:40
|
>> Why not just use the logging built into Java? It does the same thing >> in this simple case. > > You are right, using Java's builtin logging is an alternative. > I see two problems with this approach though: > > 1. Asterisk-java using Java's logging would require JDK 1.4 at least. > Currently it also works with 1.3. > 2. Some application servers and servlet containers (e.g. JBoss) are > using log4j for logging. Commons-logging uses log4j when available, > too. > So when using Asterisk-java within such a container logs are easily > integrated. I am not sure this works equally well when using Java's > logging without a wrapper around. OK. Then put java.util.logging, before the null log. So if commons is there, that is used, otherwise if jul is there that is used, otherwise use null log. I'll submit a patch. |
From: Sergey S. <sam...@gm...> - 2008-04-01 17:14:50
|
Hello, people! In your opinion, how long could it take for a guy to learn *-java and what-needed-else to become capable of writing a basic IVR application, provided that the guy - is an experienced java developer - has ZERO knoledge of Asterisk - has marginal experience in VoIP (setting up dial plans in cisco routers) - can receive some help from the experienced * admin. The IVR app involves receiving and originating calls, playing sound files, collecting dtmf digits and connecting the calling/called parties together. Is it possible in 2, max 3 weeks? Where to start? Thanks in advance! Sergey |
From: Stefan R. <ste...@re...> - 2008-04-01 17:36:20
Attachments:
signature.asc
|
Sergey, if we have the same understanding of "experienced" they can be up and running in a few hours. The Asterisk guy will setup an Asterisk server and prepare the dialplan for Fast AGI while the Java guy will set up a basic a basic Java project and look at the AGI tutorial. Then they come together and make sure the "Hello World" example works and they are up and running. =Stefan Sergey Samokhodkin wrote: > Hello, people! > > In your opinion, how long could it take for a guy to learn *-java and > what-needed-else to become capable of writing a basic IVR application, > provided that the guy > - is an experienced java developer > - has ZERO knoledge of Asterisk > - has marginal experience in VoIP (setting up dial plans in cisco routers) > - can receive some help from the experienced * admin. > > The IVR app involves receiving and originating calls, playing sound > files, collecting dtmf digits and connecting the calling/called > parties together. > > Is it possible in 2, max 3 weeks? Where to start? > > Thanks in advance! > Sergey -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: T. L. P. T. <tom...@gm...> - 2008-04-01 18:01:15
|
Hello Sergey: In my opinion, if you can get a development box with an Asterisk server already configured to use with Asterisk Java, and you could receive some help from an Asterisk wizard to debug the low level problems that could arise; you could be writing a simple IVR application in less than a week. If you ask me for a estimation, develop an application with all the features described in your mail, should take you 3 to 5 weeks. It's a good idea to have in mind that you could find some weird problems that could take some time (even some days sometimes) to resolve. Obviously, this estimation is based on my work style (using Maven, JUnit, SVN, deploying, etc.). It could be lower, maybe. Where to start? I suggest you to start with the Asterisk Java Tutorial, then expand your application from there. Whenever you find a problem, or need a suggestion; we are here ;-) Best regards, Tomás. On Tue, Apr 1, 2008 at 2:14 PM, Sergey Samokhodkin <sam...@gm...> wrote: > Hello, people! > > In your opinion, how long could it take for a guy to learn *-java and > what-needed-else to become capable of writing a basic IVR application, > provided that the guy > - is an experienced java developer > - has ZERO knoledge of Asterisk > - has marginal experience in VoIP (setting up dial plans in cisco routers) > - can receive some help from the experienced * admin. > > The IVR app involves receiving and originating calls, playing sound > files, collecting dtmf digits and connecting the calling/called > parties together. > > Is it possible in 2, max 3 weeks? Where to start? > > Thanks in advance! > Sergey > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Gad A. <gad...@gm...> - 2010-01-21 19:26:39
|
From: Yves A. <yv...@gm...> - 2010-01-22 08:26:07
|
gad, there is no need to spam the list with empty messages. If you want to opt-out, pls use this url: https://lists.sourceforge.net/lists/options/asterisk-java-users/ login with your email and click unsubscribe... y. Gad Alaloof schrieb: > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Edwin Q. <lis...@ho...> - 2010-04-19 22:03:30
|
Hi! I am a newbie using Asterisk-Java and I wanna know if I can use perl to develop my AGI scripts? How can I connect to a different database server MSSQL, Oracle and Postgres, to get data and play with my IVR? Can I use the same libs used in the language that I use, example PHP ? TIA *-------------------------------------------------------* *-Edwin Quijada *-Developer DataBase *-JQ Microsistemas *-Soporte PostgreSQL *-www.jqmicrosistemas.com *-809-849-8087 *-------------------------------------------------------* _________________________________________________________________ |
From: Christian W. <cwa...@gm...> - 2010-09-09 10:04:42
|
Hi List, I need to interrupt a playback-action by software. On an incoming call I answer it via AgiChannel and Send a playback-command using the exec-function from the AgiChannel. Then I start a time consuming process and when the Process was finished, I want to stop playing and start Reading the result... When I initiate a new PlayBack-Action using the exec-command it will not be played... I cant use the MOH since every caller can have its Own waiting-music... Kind regards Christian -- Achtung Sicherheitswarnung: GMX warnt vor Phishing-Attacken! http://portal.gmx.net/de/go/sicherheitspaket |
From: Yves A. <yv...@gm...> - 2010-09-10 08:22:13
|
Hi, whats the cli showing? are there any java-exceptions thrown? what do you mean by "reading the results"? do you use an tts-engine? a source and hints to the versions of asterisk and asterisk-java you use would be helpful. yves Am 09.09.2010 12:04, schrieb Christian Wallukat: > Hi List, > > > I need to interrupt a playback-action by software. > > On an incoming call I answer it via AgiChannel and Send a playback-command using the exec-function from the AgiChannel. > > Then I start a time consuming process and when the Process was finished, I want to stop playing and start Reading the result... > > When I initiate a new PlayBack-Action using the exec-command it will not be played... > > I cant use the MOH since every caller can have its Own waiting-music... > > > Kind regards > > > Christian > |
From: Javier <vmc...@gm...> - 2011-06-23 15:54:24
|
Hello, After 32secondsthe callhangs up andthrowsthis exception: [23/06/2011] 431457 [Asterisk-Java DaemonPool-1-thread-1] INFO Slf4JLogger.info() ---> Removing channel SIP/8001-0000002e due to hangup (PROTOCOL_ERROR) Why can it be? Thanks! --javier |
From: Saiful I. <ami...@li...> - 2011-09-18 07:01:32
|
Hello, I am using asterisk-java 1.0.0.M3 with asterisk 1.6. I am setting two channel variables using following code while call origination: private void originateCall() throws TimeoutException, IllegalArgumentException, IllegalStateException, IOException, org.asteriskjava.manager.TimeoutException { OriginateAction originateAction; ManagerResponse originateResponse; originateAction = new OriginateAction(); originateAction.setChannel("Dahdi/" + this.tg + "/" + num); originateAction.setContext(context); originateAction.setExten(this.extension); // set the extension ;1000 for opt-in based; 2000 for rvc originateAction.setCallerId(this.maskName); originateAction.setVariable("Mobile", num); originateAction.setVariable("CMPID", camp_ID); originateAction.setPriority(new Integer(1)); System.out.println("Calling : " + num); originateResponse = managerConnection.sendAction(originateAction, 20000); // System.out.println(originateResponse); // System.out.println("Response: " + originateResponse.getUniqueId()); } >From a separate manager app, I am listening for newChannelEvent, StateChangedEven & HangupEvent. The problem is for first two events, I need to get the custom variables (Mobile, CMPID). I am doing it using following code: managerConnection.login(); GetVarAction getVarAction = new GetVarAction(channel, "CMPID"); //”Mobile” for getting the other variable ManagerResponse response = managerConnection.sendAction(getVarAction); value = response.getAttribute("Value"); managerConnection.logoff(); It seems okay almost every time except heuristically for some 30-40 minutes after 1-3 days, I get “null” for each variable. Though the CMPID variable is got okay in the dialplan, I don’t get it from the manager app using asterisk-java. I need help badly. Please help. Regards, Md. Saiful Islam |
From: Todd F. <tod...@ya...> - 2013-01-07 01:51:26
|
http://www.sotb-orlando.com/new-old/ndold.php?ecty=ecty |
From: Diego G. <die...@gm...> - 2013-04-01 18:41:56
|
how can I get the value of the cdr duration in the channel? because CallDetailRecord is only created after the call is finished. Diego Augusto Costa Guimarães Gerente TI - Praia Clube *dCAP (Digium Certified Asterisk Professional)* Pabx: (34) 3256-3116 (Mobile) celular: (34) - 9268-9999 Chat Google Talk: die...@gm... Skype: diegoacguimares MSN: die...@gm... |
From: Shitian L. <lon...@gm...> - 2013-04-12 07:34:00
|
I think you could try AsteriskServer class. probably you will find the information you want. On Apr 1, 2013, at 8:41 PM, Diego Guimarães <die...@gm...> wrote: > how can I get the value of the cdr duration in the channel? because CallDetailRecord is only created after the call is finished. > > Diego Augusto Costa Guimarães > Gerente TI - Praia Clube > dCAP (Digium Certified Asterisk Professional) > Pabx: (34) 3256-3116 > (Mobile) celular: (34) - 9268-9999 > Chat Google Talk: die...@gm... Skype: diegoacguimares MSN: die...@gm... > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d_______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Yves A. <yv...@gm...> - 2013-04-12 08:16:38
|
hi, if you fire a "core show channel <channelid> command from the cli you cann see every info you need. so, if you are in need of getting infos that AJ can´t provide, but the cli can... then you can use CommandAction Class from AJ to fire any command as if you were on cli and parse the output. yves Am 12.04.2013 09:33, schrieb Shitian Long: > I think you could try AsteriskServer class. probably you will find > the information you want. > > On Apr 1, 2013, at 8:41 PM, Diego Guimarães <die...@gm... > <mailto:die...@gm...>> wrote: > >> how can I get the value of the cdr duration in the channel? because >> CallDetailRecord is only created after the call is finished. >> >> Diego Augusto Costa Guimarães >> Gerente TI - Praia Clube >> /dCAP (Digium Certified Asterisk Professional)/ >> Pabx: (34) 3256-3116 >> (Mobile) celular: (34) - 9268-9999 >> Chat Google Talk: die...@gm... <mailto:die...@gm...> >> Skype: diegoacguimares MSN: die...@gm... >> <mailto:die...@gm...> >> >> ------------------------------------------------------------------------------ >> Own the Future-Intel® Level Up Game Demo Contest 2013 >> Rise to greatness in Intel's independent game demo contest. >> Compete for recognition, cash, and the chance to get your game >> on Steam. $5K grand prize plus 10 genre and skill prizes. >> Submit your demo by 6/6/13. >> http://p.sf.net/sfu/intel_levelupd2d_______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Diego G. <di...@pr...> - 2013-04-12 11:48:35
|
is, I already thought of that. But AJ is very wrong not to provide it, does anyone need this? I think it's essential. Diego Augusto Costa Guimarães Gerente TI - Praia Clube *dCAP (Digium Certified Asterisk Professional)* Pabx: (34) 3256-3116 (Mobile) celular: (34) - 9268-9999 Chat Google Talk: die...@gm... Skype: diegoacguimares MSN: die...@gm... On Fri, Apr 12, 2013 at 5:17 AM, Yves A. <yv...@gm...> wrote: > hi, > > if you fire a "core show channel <channelid> command from the cli you cann > see every info you need. > so, if you are in need of getting infos that AJ can´t provide, but the cli > can... then you can use > CommandAction Class from AJ to fire any command as if you were on cli and > parse the output. > > yves > > Am 12.04.2013 09:33, schrieb Shitian Long: > > I think you could try AsteriskServer class. probably you will find > the information you want. > > On Apr 1, 2013, at 8:41 PM, Diego Guimarães <die...@gm...> wrote: > > how can I get the value of the cdr duration in the channel? because > CallDetailRecord is only created after the call is finished. > > Diego Augusto Costa Guimarães > Gerente TI - Praia Clube > *dCAP (Digium Certified Asterisk Professional)* > Pabx: (34) 3256-3116 > (Mobile) celular: (34) - 9268-9999 > Chat Google Talk: die...@gm... Skype: diegoacguimares MSN: > die...@gm... > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. > http://p.sf.net/sfu/intel_levelupd2d_______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account!http://www2.precog.com/precogplatform/slashdotnewsletter > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Jimmy C. <cha...@gm...> - 2013-05-01 07:57:45
|
I'm using ESL. When receive CHANNEL_CREATE, start counting. When receive CHANNEL_HANGUP_COMPLETE, finish counting. Between these two events, you can get the duration yourself. Regards, Jimmy ? 2013/4/2 ?? 02:41, Diego Guimarães ??: > how can I get the value of the cdr duration in the channel? because > CallDetailRecord is only created after the call is finished. > > Diego Augusto Costa Guimarães > Gerente TI - Praia Clube > /dCAP (Digium Certified Asterisk Professional)/ > Pabx: (34) 3256-3116 > (Mobile) celular: (34) - 9268-9999 > Chat Google Talk: die...@gm... <mailto:die...@gm...> > Skype: diegoacguimares MSN: die...@gm... > <mailto:die...@gm...> > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Jhoan O. <jho...@gm...> - 2013-05-02 06:46:10
|
Eso lo puedes hacer también por medio de AMI, creando una acción Command, y envías el comando: "sip show channelstats" 2013/5/1 Jimmy Chang <cha...@gm...> > I'm using ESL. > When receive CHANNEL_CREATE, start counting. > When receive CHANNEL_HANGUP_COMPLETE, finish counting. > > Between these two events, you can get the duration yourself. > > Regards, > Jimmy > > > 於 2013/4/2 上午 02:41, Diego Guimarães 提到: > > how can I get the value of the cdr duration in the channel? because > CallDetailRecord is only created after the call is finished. > > Diego Augusto Costa Guimarães > Gerente TI - Praia Clube > *dCAP (Digium Certified Asterisk Professional)* > Pabx: (34) 3256-3116 > (Mobile) celular: (34) - 9268-9999 > Chat Google Talk: die...@gm... Skype: diegoacguimares MSN: > die...@gm... > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Jimmy C. <cha...@gm...> - 2013-05-01 07:59:34
|
My bad, it's wrong. That's about FreeSWITCH. ? 2013/4/2 ?? 02:41, Diego Guimarães ??: > how can I get the value of the cdr duration in the channel? because > CallDetailRecord is only created after the call is finished. > > Diego Augusto Costa Guimarães > Gerente TI - Praia Clube > /dCAP (Digium Certified Asterisk Professional)/ > Pabx: (34) 3256-3116 > (Mobile) celular: (34) - 9268-9999 > Chat Google Talk: die...@gm... <mailto:die...@gm...> > Skype: diegoacguimares MSN: die...@gm... > <mailto:die...@gm...> > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Atul A. <adi...@gm...> - 2013-07-16 18:28:36
|
hello Every One, I have googleTTS <http://zaf.github.io/asterisk-googletts/> installed in my asterisk .Can I use googleTTS while I am still inside asterisk-java AGI . Is there any command for that? -- Atul Agrawal |