asterisk-java-users Mailing List for Asterisk-Java Library (Page 7)
Brought to you by:
srt
You can subscribe to this list here.
2005 |
Jan
|
Feb
(8) |
Mar
(33) |
Apr
(36) |
May
(19) |
Jun
(21) |
Jul
(53) |
Aug
(30) |
Sep
(36) |
Oct
(34) |
Nov
(43) |
Dec
(72) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(123) |
Feb
(75) |
Mar
(86) |
Apr
(46) |
May
(41) |
Jun
(29) |
Jul
(76) |
Aug
(38) |
Sep
(39) |
Oct
(68) |
Nov
(16) |
Dec
(17) |
2007 |
Jan
(34) |
Feb
(18) |
Mar
(39) |
Apr
(30) |
May
(20) |
Jun
(10) |
Jul
(59) |
Aug
(54) |
Sep
(60) |
Oct
(22) |
Nov
(14) |
Dec
(10) |
2008 |
Jan
(34) |
Feb
(67) |
Mar
(65) |
Apr
(67) |
May
(60) |
Jun
(51) |
Jul
(88) |
Aug
(75) |
Sep
(47) |
Oct
(143) |
Nov
(54) |
Dec
(42) |
2009 |
Jan
(46) |
Feb
(80) |
Mar
(162) |
Apr
(159) |
May
(200) |
Jun
(34) |
Jul
(46) |
Aug
(59) |
Sep
(5) |
Oct
(35) |
Nov
(73) |
Dec
(30) |
2010 |
Jan
(23) |
Feb
(50) |
Mar
(8) |
Apr
(24) |
May
(19) |
Jun
(49) |
Jul
(56) |
Aug
(35) |
Sep
(26) |
Oct
(79) |
Nov
(39) |
Dec
(34) |
2011 |
Jan
(27) |
Feb
(22) |
Mar
(28) |
Apr
(12) |
May
(16) |
Jun
(19) |
Jul
(1) |
Aug
(64) |
Sep
(19) |
Oct
(11) |
Nov
(17) |
Dec
(12) |
2012 |
Jan
(6) |
Feb
(8) |
Mar
(15) |
Apr
(43) |
May
(41) |
Jun
(14) |
Jul
(32) |
Aug
(3) |
Sep
(4) |
Oct
(7) |
Nov
(11) |
Dec
(11) |
2013 |
Jan
(35) |
Feb
(11) |
Mar
(23) |
Apr
(25) |
May
(37) |
Jun
(47) |
Jul
(25) |
Aug
(21) |
Sep
|
Oct
(1) |
Nov
(9) |
Dec
|
2014 |
Jan
(26) |
Feb
(2) |
Mar
(18) |
Apr
(41) |
May
(7) |
Jun
(7) |
Jul
(24) |
Aug
(5) |
Sep
(6) |
Oct
(8) |
Nov
(9) |
Dec
(7) |
2015 |
Jan
(7) |
Feb
(15) |
Mar
(8) |
Apr
(12) |
May
(7) |
Jun
|
Jul
|
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
(30) |
Dec
(3) |
2016 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(9) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Daniele R. <dan...@gm...> - 2014-10-14 15:41:38
|
Hi, I'm using Asterisk 11.12.1 with Asterisk Java 1.0.0.M3. I'm trying to hide the callerId when I create an originateasync. When I want to display the callerid I do: action.setCallerId(telefonata.getCallerId()); action.setCallingPres(3); instead when I want to hide it I do: action.setCallingPres(32); unfortunally seems that the call is not sent by asterisk. I see that "This property is only available on BRIstuffed Asterisk servers." But how I can hide the caller id if I'm using a sip trunking asterisk server? Thanks very much -- Daniele Renda |
From: Yves A. <yv...@gm...> - 2014-09-29 08:44:21
|
Hi, I can´t see a reason for the failure. I checked this with my environment (asterisk-java-1.0.0.M3 and asterisk 11.x) and had no problems. Maybe you should downgrade asterisk-java (I have other issues with latest nightly-builds...)? "true" as third Parameter will only work, if you have sox or soxmix installed... do you? Or you have to specify your own "after-record-script"... but nevertheless this is not the cause for the exception, I´m quite sure. yves Am 29.09.2014 um 09:36 schrieb Alessio Turini: > Hi, > i'm using asterisk-java version 1.0.0.CI-20140922.214529-1739 and > Asterisk v. 10.12.3- > This is the portion of code : > > 1 private void startRegister(NewStateEvent nse) { > 2 AsteriskChannel ac = Bottinatrice.getChannel(nse.getUniqueId()); > 3 Log.debug("Celle.startRegister :" + > Config.getConfig().get(PATHREG) + " " + nse.getUniqueId()); > 4 try { > 5 ac.startMonitoring(Config.getConfig().get(PATHREG) + > nse.getUniqueId(), "wav", true); > 6 } catch (org.asteriskjava.live.ManagerCommunicationException exc) { > 7 try { > 8 Thread.sleep(TIMEOUTSTART); > 9 } catch (InterruptedException ex) { > 10 Log.error("Celle.startRegister :" + ex, ex); > 11 } finally { > 12 if (!checkRegister(nse)) { > 13 // invia errore > 14 Log.error("Celle.startRegister:"+nse); > 15 } > 16 removeRegister(nse); > 17 } > 18 } > 19 } > > At line 5 i use startMonitorig, this method is blocked imperative > execution of the code, when the asterisk finished call recording, java > throw the exception org.asteriskjava.manager.TimeoutException: Timeout > waiting. > Below the details of the exception. > > Thanks Ale > > > Il 27/09/2014 18.50, Yves A. ha scritto: >> Hi Alessio, >> >> under normal circumstances this actions makes no problems. >> Please show us your sourcecode and tell us about the asterisk and >> asterisk-java version you are using. >> >> regards, >> yves >> >> Am 26.09.2014 um 09:22 schrieb Alessio Turini: >>> Dears, >>> excuse me for my English but i'm a italian programmer that use >>> Asterisk Java Library. >>> >>> I've a problem with the library (suppose), i'm using command >>> startMonitorig in AsteriskChannel Class to record a call, but the system >>> return >>> >>> org.asteriskjava.live.ManagerCommunicationException: Unable to send >>> MonitorAction >>> at >>> org.asteriskjava.live.internal.ManagerCommunicationExceptionMapper.mapSendActionException(ManagerCommunicationExceptionMapper.java:60) >>> at >>> org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:854) >>> at >>> org.asteriskjava.live.internal.AsteriskChannelImpl.startMonitoring(AsteriskChannelImpl.java:748) >>> ... my code .... >>> at >>> org.asteriskjava.manager.internal.ManagerConnectionImpl.fireEvent(ManagerConnectionImpl.java:1290) >>> at >>> org.asteriskjava.manager.internal.ManagerConnectionImpl.dispatchEvent(ManagerConnectionImpl.java:1274) >>> at >>> org.asteriskjava.manager.internal.ManagerReaderImpl.run(ManagerReaderImpl.java:227) >>> at java.lang.Thread.run(Thread.java:722) >>> at java.lang.Thread.run(Thread.java:722) >>> Caused by: org.asteriskjava.manager.TimeoutException: Timeout waiting >>> for response to Monitor >>> at >>> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:861) >>> at >>> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:817) >>> at >>> org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerConnection.java:311) >>> at >>> org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:850) >>> >>> >>> I look the code in class ManagerConnectionImpl at line 859 there is the >>> code : >>> >>> // still no response? >>> if (result.getResponse() == null) >>> { >>> throw new TimeoutException("Timeout waiting for response to >>> " + action.getAction() >>> + (action.getActionId() == null ? "" : " (actionId: >>> " + action.getActionId() + ")")); >>> } >>> >>> return result.getResponse(); >>> >>> Is correct that MonitorAction hasn't response ? i tryed to view internal >>> code about ResponseHandlerResult and DefaultSendActionCallback but i >>> don't understand how the MonitorAction manage the response. >>> Could you help me about this ? >>> Thanks and Regards >>> Alessio >>> >>> >>> ------------------------------------------------------------------------------ >>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > ------------------------------------------------------------------------------ > Slashdot TV. Videos for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Alessio T. <al...@cr...> - 2014-09-29 07:37:04
|
Hi, i'm using asterisk-java version 1.0.0.CI-20140922.214529-1739 and Asterisk v. 10.12.3- This is the portion of code : 1 private void startRegister(NewStateEvent nse) { 2 AsteriskChannel ac = Bottinatrice.getChannel(nse.getUniqueId()); 3 Log.debug("Celle.startRegister :" + Config.getConfig().get(PATHREG) + " " + nse.getUniqueId()); 4 try { 5 ac.startMonitoring(Config.getConfig().get(PATHREG) + nse.getUniqueId(), "wav", true); 6 } catch (org.asteriskjava.live.ManagerCommunicationException exc) { 7 try { 8 Thread.sleep(TIMEOUTSTART); 9 } catch (InterruptedException ex) { 10 Log.error("Celle.startRegister :" + ex, ex); 11 } finally { 12 if (!checkRegister(nse)) { 13 // invia errore 14 Log.error("Celle.startRegister:"+nse); 15 } 16 removeRegister(nse); 17 } 18 } 19 } At line 5 i use startMonitorig, this method is blocked imperative execution of the code, when the asterisk finished call recording, java throw the exception org.asteriskjava.manager.TimeoutException: Timeout waiting. Below the details of the exception. Thanks Ale Il 27/09/2014 18.50, Yves A. ha scritto: > Hi Alessio, > > under normal circumstances this actions makes no problems. > Please show us your sourcecode and tell us about the asterisk and > asterisk-java version you are using. > > regards, > yves > > Am 26.09.2014 um 09:22 schrieb Alessio Turini: >> Dears, >> excuse me for my English but i'm a italian programmer that use >> Asterisk Java Library. >> >> I've a problem with the library (suppose), i'm using command >> startMonitorig in AsteriskChannel Class to record a call, but the system >> return >> >> org.asteriskjava.live.ManagerCommunicationException: Unable to send >> MonitorAction >> at >> org.asteriskjava.live.internal.ManagerCommunicationExceptionMapper.mapSendActionException(ManagerCommunicationExceptionMapper.java:60) >> at >> org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:854) >> at >> org.asteriskjava.live.internal.AsteriskChannelImpl.startMonitoring(AsteriskChannelImpl.java:748) >> ... my code .... >> at >> org.asteriskjava.manager.internal.ManagerConnectionImpl.fireEvent(ManagerConnectionImpl.java:1290) >> at >> org.asteriskjava.manager.internal.ManagerConnectionImpl.dispatchEvent(ManagerConnectionImpl.java:1274) >> at >> org.asteriskjava.manager.internal.ManagerReaderImpl.run(ManagerReaderImpl.java:227) >> at java.lang.Thread.run(Thread.java:722) >> at java.lang.Thread.run(Thread.java:722) >> Caused by: org.asteriskjava.manager.TimeoutException: Timeout waiting >> for response to Monitor >> at >> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:861) >> at >> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:817) >> at >> org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerConnection.java:311) >> at >> org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:850) >> >> >> I look the code in class ManagerConnectionImpl at line 859 there is the >> code : >> >> // still no response? >> if (result.getResponse() == null) >> { >> throw new TimeoutException("Timeout waiting for response to >> " + action.getAction() >> + (action.getActionId() == null ? "" : " (actionId: >> " + action.getActionId() + ")")); >> } >> >> return result.getResponse(); >> >> Is correct that MonitorAction hasn't response ? i tryed to view internal >> code about ResponseHandlerResult and DefaultSendActionCallback but i >> don't understand how the MonitorAction manage the response. >> Could you help me about this ? >> Thanks and Regards >> Alessio >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Yves A. <yv...@gm...> - 2014-09-27 16:50:13
|
Hi Alessio, under normal circumstances this actions makes no problems. Please show us your sourcecode and tell us about the asterisk and asterisk-java version you are using. regards, yves Am 26.09.2014 um 09:22 schrieb Alessio Turini: > Dears, > excuse me for my English but i'm a italian programmer that use > Asterisk Java Library. > > I've a problem with the library (suppose), i'm using command > startMonitorig in AsteriskChannel Class to record a call, but the system > return > > org.asteriskjava.live.ManagerCommunicationException: Unable to send > MonitorAction > at > org.asteriskjava.live.internal.ManagerCommunicationExceptionMapper.mapSendActionException(ManagerCommunicationExceptionMapper.java:60) > at > org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:854) > at > org.asteriskjava.live.internal.AsteriskChannelImpl.startMonitoring(AsteriskChannelImpl.java:748) > ... my code .... > at > org.asteriskjava.manager.internal.ManagerConnectionImpl.fireEvent(ManagerConnectionImpl.java:1290) > at > org.asteriskjava.manager.internal.ManagerConnectionImpl.dispatchEvent(ManagerConnectionImpl.java:1274) > at > org.asteriskjava.manager.internal.ManagerReaderImpl.run(ManagerReaderImpl.java:227) > at java.lang.Thread.run(Thread.java:722) > at java.lang.Thread.run(Thread.java:722) > Caused by: org.asteriskjava.manager.TimeoutException: Timeout waiting > for response to Monitor > at > org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:861) > at > org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:817) > at > org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerConnection.java:311) > at > org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:850) > > > I look the code in class ManagerConnectionImpl at line 859 there is the > code : > > // still no response? > if (result.getResponse() == null) > { > throw new TimeoutException("Timeout waiting for response to > " + action.getAction() > + (action.getActionId() == null ? "" : " (actionId: > " + action.getActionId() + ")")); > } > > return result.getResponse(); > > Is correct that MonitorAction hasn't response ? i tryed to view internal > code about ResponseHandlerResult and DefaultSendActionCallback but i > don't understand how the MonitorAction manage the response. > Could you help me about this ? > Thanks and Regards > Alessio > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Alessio T. <al...@cr...> - 2014-09-26 07:23:09
|
Dears, excuse me for my English but i'm a italian programmer that use Asterisk Java Library. I've a problem with the library (suppose), i'm using command startMonitorig in AsteriskChannel Class to record a call, but the system return org.asteriskjava.live.ManagerCommunicationException: Unable to send MonitorAction at org.asteriskjava.live.internal.ManagerCommunicationExceptionMapper.mapSendActionException(ManagerCommunicationExceptionMapper.java:60) at org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:854) at org.asteriskjava.live.internal.AsteriskChannelImpl.startMonitoring(AsteriskChannelImpl.java:748) ... my code .... at org.asteriskjava.manager.internal.ManagerConnectionImpl.fireEvent(ManagerConnectionImpl.java:1290) at org.asteriskjava.manager.internal.ManagerConnectionImpl.dispatchEvent(ManagerConnectionImpl.java:1274) at org.asteriskjava.manager.internal.ManagerReaderImpl.run(ManagerReaderImpl.java:227) at java.lang.Thread.run(Thread.java:722) at java.lang.Thread.run(Thread.java:722) Caused by: org.asteriskjava.manager.TimeoutException: Timeout waiting for response to Monitor at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:861) at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:817) at org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerConnection.java:311) at org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:850) I look the code in class ManagerConnectionImpl at line 859 there is the code : // still no response? if (result.getResponse() == null) { throw new TimeoutException("Timeout waiting for response to " + action.getAction() + (action.getActionId() == null ? "" : " (actionId: " + action.getActionId() + ")")); } return result.getResponse(); Is correct that MonitorAction hasn't response ? i tryed to view internal code about ResponseHandlerResult and DefaultSendActionCallback but i don't understand how the MonitorAction manage the response. Could you help me about this ? Thanks and Regards Alessio |
From: Oscar <nor...@ba...> - 2014-09-23 23:05:48
|
Oscar te ha dejado un mensaje Este mensaje es personal. Solo tú y su remitente tenéis acceso a él y te recordamos que lo puedes eliminar en cualquier momento. Si quieres responder puedes hacerlo desde el chat. Para leer tu mensaje, haz clic en el siguiente enlace: http://eu1.badoo.com/0333827253/in/ibMpb1CPPG4/?lang_id=7&g=57-0-4&m=63&mid=5421fcc3000000000007004d043269c302514bc60002 Si al hacer clic en el enlace de este mensaje no funciona, copia y pégalo en la barra de tu navegador. Este email es parte del proceso de entrega del mensaje enviado por Oscar. Si has recibido este email por error, por favor ignóralo. En un breve periodo de tiempo será eliminado del sistema. ¡Divértete! El Equipo de Badoo Has recibido este email de Badoo Trading Limited (dirección postal a continuación). Si no deseas recibir comunicaciones por parte de Badoo en el futuro, haz clic aquí para desactivarlas: https://eu1.badoo.com/impersonation.phtml?lang_id=7&email=asterisk-java-users%40lists.sourceforge.net&block_code=cb2acd&m=63&mid=5421fcc3000000000007004d043269c302514bc60002&g=0-0-4. Badoo Trading Limited es una sociedad de responsabilidad limitada registrada en Inglaterra y Gales con número 7540255 y domicilio en Media Village, 131 - 151 Great Titchfield Street, Londres, W1W 5BB. |
From: Murthy G. <mga...@nt...> - 2014-09-19 18:12:58
|
Hi All I am using the controlStreamFile of the AgiChannel object thus: dtmf=channel.controlStreamFile(asteriskFile, "1*", 0, "7", "8", "9"); I am able to pause by pressing 9 but not forward by pressing 7 nor backward by pressing 8. Any help is appreciated. Thanks Murthy |
From: greglhorton <gre...@gm...> - 2014-08-20 22:39:46
|
Hi Yves. I think ConfBridge was added as a beta like feature in earlier versions of Asterisk after Asterisk developers had written it for internal use as an alternative to meetme. I thought there was a difference in how it was used in earlier versions compared to Asterisk 10 and beyond. So I wanted to make sure the aj code was for the latest. I will give it a try. Thanks! -------- Original message -------- From: "Yves A." <yv...@gm...> Date:08/20/2014 6:20 PM (GMT-05:00) To: ast...@li... Subject: Re: [Asterisk-java-users] What Asterisk Version to get A-J ConfBridge support working? hi greg, "Confbridge" first came up with asterisk 10 afaik... I do not know if there is a backport for older versions. if you compile asterisk by yourself, you can still compile for meetme support on newer asterisk versions. aj supports confbridge and does not care about the asterisk version... so if you use it with asterisk 11 it will also work... yves Am 20.08.2014 um 15:58 schrieb Greg Horton: I need to add ConfBridge support to my app that sits on the A-J stack. I have only supported MeetMe so far. Is A-J ConfBridge support good for all all Asterisk versions that supported any interation of ConfBridge, or maybe just Asterisk 10+ versions? Thanks, Greg ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Yves A. <yv...@gm...> - 2014-08-20 22:20:13
|
hi greg, "Confbridge" first came up with asterisk 10 afaik... I do not know if there is a backport for older versions. if you compile asterisk by yourself, you can still compile for meetme support on newer asterisk versions. aj supports confbridge and does not care about the asterisk version... so if you use it with asterisk 11 it will also work... yves Am 20.08.2014 um 15:58 schrieb Greg Horton: > I need to add ConfBridge support to my app that sits on the A-J > stack. I have only supported MeetMe so far. Is A-J ConfBridge > support good for all all Asterisk versions that supported any > interation of ConfBridge, or maybe just Asterisk 10+ versions? > > Thanks, > > Greg > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Greg H. <gre...@gm...> - 2014-08-20 13:58:33
|
I need to add ConfBridge support to my app that sits on the A-J stack. I have only supported MeetMe so far. Is A-J ConfBridge support good for all all Asterisk versions that supported any interation of ConfBridge, or maybe just Asterisk 10+ versions? Thanks, Greg |
From: przeqpiciel <prz...@gm...> - 2014-08-02 09:57:14
|
virus ? 2014-08-02 4:55 GMT+02:00 Muhammad Farooq <sof...@gm...>: > http://dannysahs.de/wbqws/siowbuaambddrnuhl.zqbpoduwisnikvspdcucnz > > > > > > > > > > > > > > > > Muhammad Farooq > > > > > > 8/2/2014 2:55:30 AM > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Yves A. <yv...@gm...> - 2014-07-13 23:11:44
|
No, that was not what I was asking for. the stacktrace says: WARNING: Unable to set property 'privilege' to '_*SMSCommand*_' on org.asteriskjava.manager.response.ManagerResponse: no setter. Please re so.. what object / class is this SMSCommand? maybe you should post / attach full source, if you´re unsure. Also the asterisk - dialplan would be helpful. yves Am 12.07.2014 18:53, schrieb przeqpiciel: > fact, i have a new created SmscommandAction and in code i "bring it to > live" as komenda > > SmscommandAction komenda = new SmscommandAction(this.generuj()); > > im not sure it is that what you are asking about. > > > 2014-07-12 18:27 GMT+02:00 Yves A. <yv...@gm... > <mailto:yv...@gm...>>: > > Hi, > > what class is this object named SMSCommand? > can you post your eventlistener plus the part of the diaplan that > is executed when the action is fired or the sms is sent? > > yves > > > Am 12.07.2014 13:53, schrieb przeqpiciel: >> Hi, >> >> Its very usefull information, thank you. I make new class and >> register it to eventlistener. No i have one problem >> >> lip 12, 2014 1:49:08 PM >> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >> INFO: Determined Asterisk version: Asterisk 1.6 >> lip 12, 2014 1:49:09 PM >> org.asteriskjava.manager.internal.AbstractBuilder setAttributes >> WARNING: Unable to set property 'privilege' to 'SMSCommand' on >> org.asteriskjava.manager.response.ManagerResponse: no setter. >> Please report at http://jira.reucon.org/browse/AJ >> lip 12, 2014 1:49:09 PM >> org.asteriskjava.manager.internal.ManagerConnectionImpl >> dispatchResponse >> SEVERE: Unable to retrieve internalActionId from response: >> actionId 'null': >> org.asteriskjava.manager.response.ManagerError: actionId='null'; >> message='Missing action in request'; response='Error'; >> uniqueId='null'; systemHashcode=30213361 >> lip 12, 2014 1:49:09 PM >> org.asteriskjava.manager.internal.ManagerConnectionImpl >> dispatchResponse >> SEVERE: Unable to retrieve internalActionId from response: >> actionId 'null': >> org.asteriskjava.manager.response.ManagerError: actionId='null'; >> message='Missing action in request'; response='Error'; >> uniqueId='null'; systemHashcode=12960558 >> >> What i have do with this unable to set property. You wrote about >> make setter/getter and i make it. I attach my source code. What >> is wrong here ? >> >> >> 2014-07-12 0:56 GMT+02:00 Yves A. <yv...@gm... >> <mailto:yv...@gm...>>: >> >> Hi, >> >> to write your own EventClass (in this case updatesmssend) >> write a class named UpdateSMSSendEvent that extends >> ManagerEvent : >> >> >> >> import org.asteriskjava.manager.event.ManagerEvent; >> >> // The name of the event-class is important... is has to be >> <nameoftheevent>Event.class , otherwise >> // it won´t be found by reflection... afaik name is not case >> sensitive, but following java design standards, >> // it should start with an uppercase letter... >> >> public class UpdateSMSSendEvent extends ManagerEvent{ >> >> private static final long serialVersionUID = 123456789L; >> private String channel; >> >> public String getChannel() { >> return channel; >> } >> >> public void setChannel(String channel) { >> this.channel = channel; >> } >> >> >> public UpdateSMSSendEvent (Object source){ >> super(source); >> // you could log some info here to debug to see if your >> class is instantiated in case of an event... >> } >> >> } >> >> >> In the class, that implements the ManagerEventListener, you >> have to register your new Event-Class: >> >> [...] >> asteriskManagerConnection = new >> DefaultManagerConnection(Server,user,pwd); >> asteriskManagerConnection.login(); >> asteriskManagerConnection.addEventListener(new >> ManagerEventListenerProxy(this)); >> asteriskManagerConnection.registerUserEventClass(UpdateSMSSendEvent.class); >> [...] >> >> As you probably don´t know, which Properties are set by the >> Event, you have to test and watch the log for entrys like >> unable to set Property XY ... >> Then alter your EventClass and add the requested properties >> (fields, like channel in the example) and their appropriate >> setter- and getter-methods. >> To Set and Get the properties for the Custom Event, >> Asterisk-Java works with reflections, so if AJ can´t reflect >> to a method >> to set or get a certain property that is needed, it will >> throw an info to the log. >> >> good luck, >> yves >> >> >> Am 11.07.2014 20:41, schrieb przeqpiciel: >>> I wrote my own action class and it is working good. After >>> that it is send i can read in log area this: >>> INFO: No event class registered for event type >>> 'updatesmssend', attributes: {id=928363299635817, >>> sequencenumber=38, status=1 .... }. Please report at >>> http://jira.reucon.org/browse/AJ >>> >>> So i make new class which is extend on ManagerEvent ( i >>> guess it is good way to resolve my problem ) and now im >>> stuck with this problem. I gues i need to register a new >>> object but how or if it is wrong what is good way ? >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... <mailto:Ast...@li...> >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: przeqpiciel <prz...@gm...> - 2014-07-12 16:53:20
|
fact, i have a new created SmscommandAction and in code i "bring it to live" as komenda SmscommandAction komenda = new SmscommandAction(this.generuj()); im not sure it is that what you are asking about. 2014-07-12 18:27 GMT+02:00 Yves A. <yv...@gm...>: > Hi, > > what class is this object named SMSCommand? > can you post your eventlistener plus the part of the diaplan that is > executed when the action is fired or the sms is sent? > > yves > > > Am 12.07.2014 13:53, schrieb przeqpiciel: > > Hi, > > Its very usefull information, thank you. I make new class and register it > to eventlistener. No i have one problem > > lip 12, 2014 1:49:08 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin > INFO: Determined Asterisk version: Asterisk 1.6 > lip 12, 2014 1:49:09 PM org.asteriskjava.manager.internal.AbstractBuilder > setAttributes > WARNING: Unable to set property 'privilege' to 'SMSCommand' on > org.asteriskjava.manager.response.ManagerResponse: no setter. Please report > at http://jira.reucon.org/browse/AJ > lip 12, 2014 1:49:09 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl dispatchResponse > SEVERE: Unable to retrieve internalActionId from response: actionId 'null': > org.asteriskjava.manager.response.ManagerError: actionId='null'; > message='Missing action in request'; response='Error'; uniqueId='null'; > systemHashcode=30213361 > lip 12, 2014 1:49:09 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl dispatchResponse > SEVERE: Unable to retrieve internalActionId from response: actionId 'null': > org.asteriskjava.manager.response.ManagerError: actionId='null'; > message='Missing action in request'; response='Error'; uniqueId='null'; > systemHashcode=12960558 > > What i have do with this unable to set property. You wrote about make > setter/getter and i make it. I attach my source code. What is wrong here ? > > > 2014-07-12 0:56 GMT+02:00 Yves A. <yv...@gm...>: > >> Hi, >> >> to write your own EventClass (in this case updatesmssend) write a class >> named UpdateSMSSendEvent that extends ManagerEvent : >> >> >> >> import org.asteriskjava.manager.event.ManagerEvent; >> >> // The name of the event-class is important... is has to be >> <nameoftheevent>Event.class , otherwise >> // it won´t be found by reflection... afaik name is not case sensitive, >> but following java design standards, >> // it should start with an uppercase letter... >> >> public class UpdateSMSSendEvent extends ManagerEvent{ >> >> private static final long serialVersionUID = 123456789L; >> private String channel; >> >> public String getChannel() { >> return channel; >> } >> >> public void setChannel(String channel) { >> this.channel = channel; >> } >> >> >> public UpdateSMSSendEvent (Object source){ >> super(source); >> // you could log some info here to debug to see if your class is >> instantiated in case of an event... >> } >> >> } >> >> >> In the class, that implements the ManagerEventListener, you have to >> register your new Event-Class: >> >> [...] >> asteriskManagerConnection = new >> DefaultManagerConnection(Server,user,pwd); >> asteriskManagerConnection.login(); >> asteriskManagerConnection.addEventListener(new >> ManagerEventListenerProxy(this)); >> asteriskManagerConnection.registerUserEventClass( >> UpdateSMSSendEvent.class); >> [...] >> >> As you probably don´t know, which Properties are set by the Event, you >> have to test and watch the log for entrys like >> unable to set Property XY ... >> Then alter your EventClass and add the requested properties (fields, like >> channel in the example) and their appropriate >> setter- and getter-methods. >> To Set and Get the properties for the Custom Event, Asterisk-Java works >> with reflections, so if AJ can´t reflect to a method >> to set or get a certain property that is needed, it will throw an info to >> the log. >> >> good luck, >> yves >> >> >> Am 11.07.2014 20:41, schrieb przeqpiciel: >> >> I wrote my own action class and it is working good. After that it is >> send i can read in log area this: >> INFO: No event class registered for event type 'updatesmssend', >> attributes: {id=928363299635817, sequencenumber=38, status=1 .... }. Please >> report at http://jira.reucon.org/browse/AJ >> >> So i make new class which is extend on ManagerEvent ( i guess it is good >> way to resolve my problem ) and now im stuck with this problem. I gues i >> need to register a new object but how or if it is wrong what is good way ? >> >> >> ------------------------------------------------------------------------------ >> >> >> >> _______________________________________________ >> Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Yves A. <yv...@gm...> - 2014-07-12 16:28:29
|
Hi, what class is this object named SMSCommand? can you post your eventlistener plus the part of the diaplan that is executed when the action is fired or the sms is sent? yves Am 12.07.2014 13:53, schrieb przeqpiciel: > Hi, > > Its very usefull information, thank you. I make new class and register > it to eventlistener. No i have one problem > > lip 12, 2014 1:49:08 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin > INFO: Determined Asterisk version: Asterisk 1.6 > lip 12, 2014 1:49:09 PM > org.asteriskjava.manager.internal.AbstractBuilder setAttributes > WARNING: Unable to set property 'privilege' to 'SMSCommand' on > org.asteriskjava.manager.response.ManagerResponse: no setter. Please > report at http://jira.reucon.org/browse/AJ > lip 12, 2014 1:49:09 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl dispatchResponse > SEVERE: Unable to retrieve internalActionId from response: actionId > 'null': > org.asteriskjava.manager.response.ManagerError: actionId='null'; > message='Missing action in request'; response='Error'; > uniqueId='null'; systemHashcode=30213361 > lip 12, 2014 1:49:09 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl dispatchResponse > SEVERE: Unable to retrieve internalActionId from response: actionId > 'null': > org.asteriskjava.manager.response.ManagerError: actionId='null'; > message='Missing action in request'; response='Error'; > uniqueId='null'; systemHashcode=12960558 > > What i have do with this unable to set property. You wrote about make > setter/getter and i make it. I attach my source code. What is wrong here ? > > > 2014-07-12 0:56 GMT+02:00 Yves A. <yv...@gm... > <mailto:yv...@gm...>>: > > Hi, > > to write your own EventClass (in this case updatesmssend) write a > class named UpdateSMSSendEvent that extends ManagerEvent : > > > > import org.asteriskjava.manager.event.ManagerEvent; > > // The name of the event-class is important... is has to be > <nameoftheevent>Event.class , otherwise > // it won´t be found by reflection... afaik name is not case > sensitive, but following java design standards, > // it should start with an uppercase letter... > > public class UpdateSMSSendEvent extends ManagerEvent{ > > private static final long serialVersionUID = 123456789L; > private String channel; > > public String getChannel() { > return channel; > } > > public void setChannel(String channel) { > this.channel = channel; > } > > > public UpdateSMSSendEvent (Object source){ > super(source); > // you could log some info here to debug to see if your class > is instantiated in case of an event... > } > > } > > > In the class, that implements the ManagerEventListener, you have > to register your new Event-Class: > > [...] > asteriskManagerConnection = new > DefaultManagerConnection(Server,user,pwd); > asteriskManagerConnection.login(); > asteriskManagerConnection.addEventListener(new > ManagerEventListenerProxy(this)); > asteriskManagerConnection.registerUserEventClass(UpdateSMSSendEvent.class); > [...] > > As you probably don´t know, which Properties are set by the Event, > you have to test and watch the log for entrys like > unable to set Property XY ... > Then alter your EventClass and add the requested properties > (fields, like channel in the example) and their appropriate > setter- and getter-methods. > To Set and Get the properties for the Custom Event, Asterisk-Java > works with reflections, so if AJ can´t reflect to a method > to set or get a certain property that is needed, it will throw an > info to the log. > > good luck, > yves > > > Am 11.07.2014 20:41, schrieb przeqpiciel: >> I wrote my own action class and it is working good. After that it >> is send i can read in log area this: >> INFO: No event class registered for event type 'updatesmssend', >> attributes: {id=928363299635817, sequencenumber=38, status=1 .... >> }. Please report at http://jira.reucon.org/browse/AJ >> >> So i make new class which is extend on ManagerEvent ( i guess it >> is good way to resolve my problem ) and now im stuck with this >> problem. I gues i need to register a new object but how or if it >> is wrong what is good way ? >> >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Yves A. <yv...@gm...> - 2014-07-11 22:55:54
|
Hi, to write your own EventClass (in this case updatesmssend) write a class named UpdateSMSSendEvent that extends ManagerEvent : import org.asteriskjava.manager.event.ManagerEvent; // The name of the event-class is important... is has to be <nameoftheevent>Event.class , otherwise // it won´t be found by reflection... afaik name is not case sensitive, but following java design standards, // it should start with an uppercase letter... public class UpdateSMSSendEvent extends ManagerEvent{ private static final long serialVersionUID = 123456789L; private String channel; public String getChannel() { return channel; } public void setChannel(String channel) { this.channel = channel; } public UpdateSMSSendEvent (Object source){ super(source); // you could log some info here to debug to see if your class is instantiated in case of an event... } } In the class, that implements the ManagerEventListener, you have to register your new Event-Class: [...] asteriskManagerConnection = new DefaultManagerConnection(Server,user,pwd); asteriskManagerConnection.login(); asteriskManagerConnection.addEventListener(new ManagerEventListenerProxy(this)); asteriskManagerConnection.registerUserEventClass(UpdateSMSSendEvent.class); [...] As you probably don´t know, which Properties are set by the Event, you have to test and watch the log for entrys like unable to set Property XY ... Then alter your EventClass and add the requested properties (fields, like channel in the example) and their appropriate setter- and getter-methods. To Set and Get the properties for the Custom Event, Asterisk-Java works with reflections, so if AJ can´t reflect to a method to set or get a certain property that is needed, it will throw an info to the log. good luck, yves Am 11.07.2014 20:41, schrieb przeqpiciel: > I wrote my own action class and it is working good. After that it is > send i can read in log area this: > INFO: No event class registered for event type 'updatesmssend', > attributes: {id=928363299635817, sequencenumber=38, status=1 .... }. > Please report at http://jira.reucon.org/browse/AJ > > So i make new class which is extend on ManagerEvent ( i guess it is > good way to resolve my problem ) and now im stuck with this problem. I > gues i need to register a new object but how or if it is wrong what is > good way ? > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: przeqpiciel <prz...@gm...> - 2014-07-11 18:41:32
|
I wrote my own action class and it is working good. After that it is send i can read in log area this: INFO: No event class registered for event type 'updatesmssend', attributes: {id=928363299635817, sequencenumber=38, status=1 .... }. Please report at http://jira.reucon.org/browse/AJ So i make new class which is extend on ManagerEvent ( i guess it is good way to resolve my problem ) and now im stuck with this problem. I gues i need to register a new object but how or if it is wrong what is good way ? |
From: Yves A. <yv...@gm...> - 2014-07-11 01:13:43
|
I don´t see how UserEvent will help you calling a command...or how it could be a replacement for a "custom action".... UserEventAction will fire an event, nothing more... I thought, you wrote your own Action class and everything is working..? Just to make things clear... your original question was "is it possible to send a custom action"... and your question was clearly answered. could you please post a new question with a new subject if you are stuck on another problem? please post as much information as possible with any question, this helps me and others understand the problem better and maybe find other ways to solve the problem or realize your objectives. yves Am 10.07.2014 20:48, schrieb przeqpiciel: > What are you think about UserEventAction ? > > > 2014-07-10 20:13 GMT+02:00 przeqpiciel <prz...@gm... > <mailto:prz...@gm...>>: > > We wrote about that. I dont have a permission to send other action > than 'smscommand' and yes, i can change permission in manager.conf > BUT after reboot all changes are overwriting by system on that > device :) > > > 2014-07-10 20:08 GMT+02:00 Miguel Santiago > <m.s...@gm... <mailto:m.s...@gm...>>: > > Here you are. > Follow this link to get the documentation and an example of > thus command. > > http://www.asterisk-java.org/development/apidocs/index.html > > El 10/07/2014 20:02, "Miguel Santiago" > <m.s...@gm... <mailto:m.s...@gm...>> > escribió: > > I think so. You can build and send a "CommandAction" > > El 10/07/2014 11:15, "przeqpiciel" <prz...@gm... > <mailto:prz...@gm...>> escribió: > > Hi everyone, > > Im new here :) Im asking you is it possible to send > custom action with asterisk-java. > In PHP i send like this: > $komenda = "Action: smscommand\r\n"; > $komenda .= "command: gsm send sms 3 $odbiorca > \"$tresc\" $id\r\n\r\n"; > > ------------------------------------------------------------------------------ > Open source business process management suite built on > Java and Eclipse > Turn processes into business applications with Bonita > BPM Community Edition > Quickly connect people, data, and systems into > organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java > and Eclipse > Turn processes into business applications with Bonita BPM > Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: przeqpiciel <prz...@gm...> - 2014-07-10 18:49:06
|
What are you think about UserEventAction ? 2014-07-10 20:13 GMT+02:00 przeqpiciel <prz...@gm...>: > We wrote about that. I dont have a permission to send other action than > 'smscommand' and yes, i can change permission in manager.conf BUT after > reboot all changes are overwriting by system on that device :) > > > 2014-07-10 20:08 GMT+02:00 Miguel Santiago <m.s...@gm...>: > > Here you are. >> Follow this link to get the documentation and an example of thus command. >> >> http://www.asterisk-java.org/development/apidocs/index.html >> El 10/07/2014 20:02, "Miguel Santiago" <m.s...@gm...> >> escribió: >> >> I think so. You can build and send a "CommandAction" >>> El 10/07/2014 11:15, "przeqpiciel" <prz...@gm...> escribió: >>> >>>> Hi everyone, >>>> >>>> Im new here :) Im asking you is it possible to send custom action with >>>> asterisk-java. >>>> In PHP i send like this: >>>> $komenda = "Action: smscommand\r\n"; >>>> $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" $id\r\n\r\n"; >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Open source business process management suite built on Java and Eclipse >>>> Turn processes into business applications with Bonita BPM Community >>>> Edition >>>> Quickly connect people, data, and systems into organized workflows >>>> Winner of BOSSIE, CODIE, OW2 and Gartner awards >>>> http://p.sf.net/sfu/Bonitasoft >>>> _______________________________________________ >>>> Asterisk-java-users mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>>> >>>> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > |
From: przeqpiciel <prz...@gm...> - 2014-07-10 18:14:01
|
We wrote about that. I dont have a permission to send other action than 'smscommand' and yes, i can change permission in manager.conf BUT after reboot all changes are overwriting by system on that device :) 2014-07-10 20:08 GMT+02:00 Miguel Santiago <m.s...@gm...>: > Here you are. > Follow this link to get the documentation and an example of thus command. > > http://www.asterisk-java.org/development/apidocs/index.html > El 10/07/2014 20:02, "Miguel Santiago" <m.s...@gm...> > escribió: > > I think so. You can build and send a "CommandAction" >> El 10/07/2014 11:15, "przeqpiciel" <prz...@gm...> escribió: >> >>> Hi everyone, >>> >>> Im new here :) Im asking you is it possible to send custom action with >>> asterisk-java. >>> In PHP i send like this: >>> $komenda = "Action: smscommand\r\n"; >>> $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" $id\r\n\r\n"; >>> >>> >>> ------------------------------------------------------------------------------ >>> Open source business process management suite built on Java and Eclipse >>> Turn processes into business applications with Bonita BPM Community >>> Edition >>> Quickly connect people, data, and systems into organized workflows >>> Winner of BOSSIE, CODIE, OW2 and Gartner awards >>> http://p.sf.net/sfu/Bonitasoft >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Miguel S. <m.s...@gm...> - 2014-07-10 18:08:14
|
Here you are. Follow this link to get the documentation and an example of thus command. http://www.asterisk-java.org/development/apidocs/index.html El 10/07/2014 20:02, "Miguel Santiago" <m.s...@gm...> escribió: > I think so. You can build and send a "CommandAction" > El 10/07/2014 11:15, "przeqpiciel" <prz...@gm...> escribió: > >> Hi everyone, >> >> Im new here :) Im asking you is it possible to send custom action with >> asterisk-java. >> In PHP i send like this: >> $komenda = "Action: smscommand\r\n"; >> $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" $id\r\n\r\n"; >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> |
From: Miguel S. <m.s...@gm...> - 2014-07-10 18:03:01
|
I think so. You can build and send a "CommandAction" El 10/07/2014 11:15, "przeqpiciel" <prz...@gm...> escribió: > Hi everyone, > > Im new here :) Im asking you is it possible to send custom action with > asterisk-java. > In PHP i send like this: > $komenda = "Action: smscommand\r\n"; > $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" $id\r\n\r\n"; > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: tomasz d. <prz...@gm...> - 2014-07-10 13:40:58
|
It is NeoGate TG400. Wysłane z iPhone'a Dnia 10 lip 2014 o godz. 15:38 "Yves A." <yv...@gm...> napisał(a): ok, "ticket closed" ;-) boxed asterisk sounds interesting, pls. tell me model and manufacturer. thx yves Am 10.07.2014 15:10, schrieb przeqpiciel: boxed asterisk is mean the device with asterisk and with ssh acces so i can change manager.conf and add privilege but after reboot the device overwrite my configuration, i mean i learn Action Class from source and make my own class for my purpose 2014-07-10 15:03 GMT+02:00 Yves A. <yv...@gm...>: > "boxed asterisk" means, you have no access to manager.conf to configure > rights? > > ad 1: > yes, the link shows a good and easy example... its easy and straight > forward... if you´re stuck, > download the sources, use a good IDE (like eclipse or netbeans) and make a > local little project. you can set a breakpoint > and "debug" the code in realtime to see, whats going on and how to > implement your own action-class... > > yves > > Am 10.07.2014 12:13, schrieb przeqpiciel: > > great ! > > but here is some problem > 2. i cant have permission for this :) because this is GSMGateway with > boxed asterisk :/ > 1. im think here is good source > https://github.com/srt/asterisk-java/blob/master/src/main/java/org/asteriskjava/manager/action/SipShowPeerAction.java > 3. nope, i dont want > > > 2014-07-10 11:52 GMT+02:00 Yves A. <yv...@gm...>: > >> Hi, >> >> sure you can... as usual... several options apply, depending on your >> skills, objective and environment: >> >> 1.) take a look at the sources and learn, how other Actions are designed, >> and write your own Action-Class... >> 2.) Use CommandAction Class to execute any CLI Command >> 3.) If you want to fire your Action from "inside a" Java-AGI-Call, you >> can use channel.exec() to execute a CLI command. >> >> yves >> >> Am 10.07.2014 11:14, schrieb przeqpiciel: >> >> Hi everyone, >> >> Im new here :) Im asking you is it possible to send custom action with >> asterisk-java. >> In PHP i send like this: >> $komenda = "Action: smscommand\r\n"; >> $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" $id\r\n\r\n"; >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awardshttp://p.sf.net/sfu/Bonitasoft >> >> >> >> _______________________________________________ >> Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awardshttp://p.sf.net/sfu/Bonitasoft > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awardshttp://p.sf.net/sfu/Bonitasoft _______________________________________________ Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Yves A. <yv...@gm...> - 2014-07-10 13:38:04
|
ok, "ticket closed" ;-) boxed asterisk sounds interesting, pls. tell me model and manufacturer. thx yves Am 10.07.2014 15:10, schrieb przeqpiciel: > boxed asterisk is mean the device with asterisk and with ssh acces so > i can change manager.conf and add privilege but after reboot the > device overwrite my configuration, > > i mean i learn Action Class from source and make my own class for my > purpose > > > 2014-07-10 15:03 GMT+02:00 Yves A. <yv...@gm... > <mailto:yv...@gm...>>: > > "boxed asterisk" means, you have no access to manager.conf to > configure rights? > > ad 1: > yes, the link shows a good and easy example... its easy and > straight forward... if you´re stuck, > download the sources, use a good IDE (like eclipse or netbeans) > and make a local little project. you can set a breakpoint > and "debug" the code in realtime to see, whats going on and how to > implement your own action-class... > > yves > > Am 10.07.2014 12:13, schrieb przeqpiciel: >> great ! >> >> but here is some problem >> 2. i cant have permission for this :) because this is GSMGateway >> with boxed asterisk :/ >> 1. im think here is good source >> https://github.com/srt/asterisk-java/blob/master/src/main/java/org/asteriskjava/manager/action/SipShowPeerAction.java >> 3. nope, i dont want >> >> >> 2014-07-10 11:52 GMT+02:00 Yves A. <yv...@gm... >> <mailto:yv...@gm...>>: >> >> Hi, >> >> sure you can... as usual... several options apply, depending >> on your skills, objective and environment: >> >> 1.) take a look at the sources and learn, how other Actions >> are designed, and write your own Action-Class... >> 2.) Use CommandAction Class to execute any CLI Command >> 3.) If you want to fire your Action from "inside a" >> Java-AGI-Call, you can use channel.exec() to execute a CLI >> command. >> >> yves >> >> Am 10.07.2014 11:14, schrieb przeqpiciel: >>> Hi everyone, >>> >>> Im new here :) Im asking you is it possible to send custom >>> action with asterisk-java. >>> In PHP i send like this: >>> $komenda = "Action: smscommand\r\n"; >>> $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" >>> $id\r\n\r\n"; >>> >>> >>> ------------------------------------------------------------------------------ >>> Open source business process management suite built on Java and Eclipse >>> Turn processes into business applications with Bonita BPM Community Edition >>> Quickly connect people, data, and systems into organized workflows >>> Winner of BOSSIE, CODIE, OW2 and Gartner awards >>> http://p.sf.net/sfu/Bonitasoft >>> >>> >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... <mailto:Ast...@li...> >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java >> and Eclipse >> Turn processes into business applications with Bonita BPM >> Community Edition >> Quickly connect people, data, and systems into organized >> workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and > Eclipse > Turn processes into business applications with Bonita BPM > Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: przeqpiciel <prz...@gm...> - 2014-07-10 13:10:11
|
boxed asterisk is mean the device with asterisk and with ssh acces so i can change manager.conf and add privilege but after reboot the device overwrite my configuration, i mean i learn Action Class from source and make my own class for my purpose 2014-07-10 15:03 GMT+02:00 Yves A. <yv...@gm...>: > "boxed asterisk" means, you have no access to manager.conf to configure > rights? > > ad 1: > yes, the link shows a good and easy example... its easy and straight > forward... if you´re stuck, > download the sources, use a good IDE (like eclipse or netbeans) and make a > local little project. you can set a breakpoint > and "debug" the code in realtime to see, whats going on and how to > implement your own action-class... > > yves > > Am 10.07.2014 12:13, schrieb przeqpiciel: > > great ! > > but here is some problem > 2. i cant have permission for this :) because this is GSMGateway with > boxed asterisk :/ > 1. im think here is good source > https://github.com/srt/asterisk-java/blob/master/src/main/java/org/asteriskjava/manager/action/SipShowPeerAction.java > 3. nope, i dont want > > > 2014-07-10 11:52 GMT+02:00 Yves A. <yv...@gm...>: > >> Hi, >> >> sure you can... as usual... several options apply, depending on your >> skills, objective and environment: >> >> 1.) take a look at the sources and learn, how other Actions are designed, >> and write your own Action-Class... >> 2.) Use CommandAction Class to execute any CLI Command >> 3.) If you want to fire your Action from "inside a" Java-AGI-Call, you >> can use channel.exec() to execute a CLI command. >> >> yves >> >> Am 10.07.2014 11:14, schrieb przeqpiciel: >> >> Hi everyone, >> >> Im new here :) Im asking you is it possible to send custom action with >> asterisk-java. >> In PHP i send like this: >> $komenda = "Action: smscommand\r\n"; >> $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" $id\r\n\r\n"; >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awardshttp://p.sf.net/sfu/Bonitasoft >> >> >> >> _______________________________________________ >> Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awardshttp://p.sf.net/sfu/Bonitasoft > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Yves A. <yv...@gm...> - 2014-07-10 13:05:02
|
?? what do you mean ? can you explain? yves Am 10.07.2014 13:50, schrieb przeqpiciel: > Thank you for your advice ! I build my own class :) Now is working is > good but not very well ;) > > Best regards > > > 2014-07-10 12:13 GMT+02:00 przeqpiciel <prz...@gm... > <mailto:prz...@gm...>>: > > great ! > > but here is some problem > 2. i cant have permission for this :) because this is GSMGateway > with boxed asterisk :/ > 1. im think here is good source > https://github.com/srt/asterisk-java/blob/master/src/main/java/org/asteriskjava/manager/action/SipShowPeerAction.java > 3. nope, i dont want > > > 2014-07-10 11:52 GMT+02:00 Yves A. <yv...@gm... > <mailto:yv...@gm...>>: > > Hi, > > sure you can... as usual... several options apply, depending > on your skills, objective and environment: > > 1.) take a look at the sources and learn, how other Actions > are designed, and write your own Action-Class... > 2.) Use CommandAction Class to execute any CLI Command > 3.) If you want to fire your Action from "inside a" > Java-AGI-Call, you can use channel.exec() to execute a CLI > command. > > yves > > Am 10.07.2014 11:14, schrieb przeqpiciel: >> Hi everyone, >> >> Im new here :) Im asking you is it possible to send custom >> action with asterisk-java. >> In PHP i send like this: >> $komenda = "Action: smscommand\r\n"; >> $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" >> $id\r\n\r\n"; >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java > and Eclipse > Turn processes into business applications with Bonita BPM > Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |