asterisk-java-users Mailing List for Asterisk-Java Library (Page 8)
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: Yves A. <yv...@gm...> - 2014-07-10 13:03:38
|
"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... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: przeqpiciel <prz...@gm...> - 2014-07-10 11:50:48
|
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...>: > 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 >> >> > |
From: przeqpiciel <prz...@gm...> - 2014-07-10 10:13:13
|
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 > > |
From: Yves A. <yv...@gm...> - 2014-07-10 09:52:22
|
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... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: przeqpiciel <prz...@gm...> - 2014-07-10 09:14:31
|
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"; |
From: Yves A. <yv...@gm...> - 2014-06-16 22:57:42
|
if I understood you right, async is probably not exactly what you need... but you can use an Executor to terminate your Query after X Seconds (google for Executor, ExecutorService, newSingleThreadExecutor, if you´re new to this) but hey... 20 secs for a query sounds definitely like a design failure.. or is the db veeeery remote? and beyond this... execution of dialplan @h extension sure works... if not, there must be another mistake... post your dialplan, please... but... if you use autohangup of course you cant play any soundfile to the caller if the timelimit is reached... yves Am 16.06.2014 16:49, schrieb Peter Katzmann: > AW: [Asterisk-java-users] How to continue dialplan execution after > autohangup? In this special case, > async agi or as i will do it, i extract all relevant info and start a > thread an release the agi so dialplan execution can continue > > peter > > -----Ursprüngliche Nachricht----- > *Von:* Murthy Gandikota <mga...@nt...> > *Gesendet:* Mon 16 Juni 2014 16:45 > *An:* ast...@li... > *Betreff:* Re: [Asterisk-java-users] How to continue dialplan > execution after autohangup? > > Hi Yves > > Used h - priority. The dial plan execution stops at the AGI call > even after auto hangup duration exceeded. With regards to > objective: I have a DB intensive method that can take longer than > 20 seconds when there is too much activity. If the duration of the > method call exceeds the time limit, I would like to abandon it > and return to the dial plan with an error message like ("Sorry, > could not look up an agent"). If you could please suggest an > alternative I would appreciate it. > > Thanks > > Murthy > > ------------------------------------------------------------------------ > > *From:*Yves A. [mailto:yv...@gm...] > *Sent:* Sunday, June 15, 2014 3:57 AM > *To:* ast...@li... > *Subject:* Re: [Asterisk-java-users] How to continue dialplan > execution after autohangup? > > Hi, > > Take a look at the h - priority... this part of the dialplan > becomes executed after hangup. > But more important for me, as I think there might be a smarter > solution...: > what is your objective? Why auto-hangup the call at all? > > yves > > > Am 13.06.2014 03:06, schrieb Murthy Gandikota: > >> Hi Yves or anyone who cares to answer, >> >> I am using setAutoHangup(20) in my AGI script. Then I do a DB >> look up that can take potentially longer than 20 seconds as follows: >> >> try { >> >> setAutoHangup(20); >> >> call-a-very-long-db-access-method(); >> >> } catch (Exception e) { >> >> } >> >> In my dialplan I call the AGI as : >> >> exten = 2,n(lookup-agent), >> agi(agi://${JAVA-AGI-SERVER}/lookupAgent.agi) >> >> exten = 2,n, VERBOSE(back from agi) >> >> During testing I find that "back from agi" is never printed soon >> after 20 seconds. In other words, the agi call in the dial plan >> is waiting for the return from the service method in the LookupAgent. >> >> Is this a flaw or by design? How can I return from LookupAgent >> after 20 seconds without async? >> >> Thanks for your help. >> >> Murthy >> >> >> >> >> ------------------------------------------------------------------------------ >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions >> Find What Matters Most in Your Big Data with HPCC Systems >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >> http://p.sf.net/sfu/hpccsystems >> >> >> >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > ------------------------------------------------------------------------------ > > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > > Find What Matters Most in Your Big Data with HPCC Systems > > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > > http://p.sf.net/sfu/hpccsystems > > _______________________________________________ > > Asterisk-java-users mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > ? > Mehr News und Informationen aus der Welt der EDAG Group können Sie in > unserem interaktiven EMAG-Magazin <http://www.edag.de/pr/Newsletter> > nachlesen! Wir freuen uns auf Ihren Besuch! > ------------------------------------------------------------------------ > > > Registergericht/Court of jurisdiction: Amtsgericht Wiesbaden, HRB > 27623 USt.-Id: DE 292 939 239 > Vorstand / Executive Board: Werner Kropsbauer (CEO), Jörg Ohlsen > (CTO), Harald Poeschke (COO), Jürgen Vogt (CFO) > Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Thomas > Eichelmann > Hauptsitz/Headquarters: EDAG Engineering AG, Kreuzberger Ring 40, > 65205 Wiesbaden Deutschland/Germany / www.edag.com <http://www.edag.com> > > This e-mail may contain confidential and/or privileged information. If > you are not the intended recipient (or have received this e-mail in > error) please notify the sender immediately and destroy this e-mail. > Any unauthorised copying, disclosure or distribution of the material > in this e-mail is strictly forbidden. > > > > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Peter K. <pet...@ed...> - 2014-06-16 15:05:20
|
In this special case, async agi or as i will do it, i extract all relevant info and start a thread an release the agi so dialplan execution can continue peter -----Ursprüngliche Nachricht----- Von: Murthy Gandikota <mga...@nt...> Gesendet: Mon 16 Juni 2014 16:45 An: ast...@li... Betreff: Re: [Asterisk-java-users] How to continue dialplan execution after autohangup? Hi Yves Used h - priority. The dial plan execution stops at the AGI call even after auto hangup duration exceeded. With regards to objective: I have a DB intensive method that can take longer than 20 seconds when there is too much activity. If the duration of the method call exceeds the time limit, I would like to abandon it and return to the dial plan with an error message like ("Sorry, could not look up an agent"). If you could please suggest an alternative I would appreciate it. Thanks Murthy -------------------------------- From: Yves A. [mailto:yv...@gm...] Sent: Sunday, June 15, 2014 3:57 AM To: ast...@li... Subject: Re: [Asterisk-java-users] How to continue dialplan execution after autohangup? Hi, Take a look at the h - priority... this part of the dialplan becomes executed after hangup. But more important for me, as I think there might be a smarter solution...: what is your objective? Why auto-hangup the call at all? yves Am 13.06.2014 03:06, schrieb Murthy Gandikota: Hi Yves or anyone who cares to answer, I am using setAutoHangup(20) in my AGI script. Then I do a DB look up that can take potentially longer than 20 seconds as follows: try { setAutoHangup(20); call-a-very-long-db-access-method(); } catch (Exception e) { } In my dialplan I call the AGI as : exten = 2,n(lookup-agent), agi(agi://${JAVA-AGI-SERVER}/lookupAgent.agi) exten = 2,n, VERBOSE(back from agi) During testing I find that "back from agi" is never printed soon after 20 seconds. In other words, the agi call in the dial plan is waiting for the return from the service method in the LookupAgent. Is this a flaw or by design? How can I return from LookupAgent after 20 seconds without async? Thanks for your help. Murthy ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems <http://p.sf.net/sfu/hpccsystems> _______________________________________________ Asterisk-java-users mailing list Ast...@li... <mailto:Ast...@li...> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users Mehr News und Informationen aus der Welt der EDAG Group können Sie in unserem interaktiven EMAG-Magazin (http://www.edag.de/pr/Newsletter/) nachlesen! Wir freuen uns auf Ihren Besuch! ------------------------------------------------------------------------------ Registergericht/Court of jurisdiction: Amtsgericht Wiesbaden, HRB 27623 USt.-Id: DE 292 939 239 Vorstand / Executive Board: Werner Kropsbauer (CEO), Jörg Ohlsen (CTO), Harald Poeschke (COO), Jürgen Vogt (CFO) Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Thomas Eichelmann Hauptsitz/Headquarters: EDAG Engineering AG, Kreuzberger Ring 40, 65205 Wiesbaden Deutschland/Germany / www.edag.com This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. |
From: Murthy G. <mga...@nt...> - 2014-06-16 14:44:18
|
Hi Yves Used h - priority. The dial plan execution stops at the AGI call even after auto hangup duration exceeded. With regards to objective: I have a DB intensive method that can take longer than 20 seconds when there is too much activity. If the duration of the method call exceeds the time limit, I would like to abandon it and return to the dial plan with an error message like ("Sorry, could not look up an agent"). If you could please suggest an alternative I would appreciate it. Thanks Murthy ________________________________ From: Yves A. [mailto:yv...@gm...] Sent: Sunday, June 15, 2014 3:57 AM To: ast...@li... Subject: Re: [Asterisk-java-users] How to continue dialplan execution after autohangup? Hi, Take a look at the h - priority... this part of the dialplan becomes executed after hangup. But more important for me, as I think there might be a smarter solution...: what is your objective? Why auto-hangup the call at all? yves Am 13.06.2014 03:06, schrieb Murthy Gandikota: Hi Yves or anyone who cares to answer, I am using setAutoHangup(20) in my AGI script. Then I do a DB look up that can take potentially longer than 20 seconds as follows: try { setAutoHangup(20); call-a-very-long-db-access-method(); } catch (Exception e) { } In my dialplan I call the AGI as : exten = 2,n(lookup-agent), agi(agi://${JAVA-AGI-SERVER}/lookupAgent.agi) exten = 2,n, VERBOSE(back from agi) During testing I find that "back from agi" is never printed soon after 20 seconds. In other words, the agi call in the dial plan is waiting for the return from the service method in the LookupAgent. Is this a flaw or by design? How can I return from LookupAgent after 20 seconds without async? Thanks for your help. Murthy ------------------------------------------------------------------------ ------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Daniele R. <dan...@gm...> - 2014-06-16 09:16:07
|
Hi, I'm redoing my old project using Asterisk Java with some modern frameworks (like Spring, ect ect). I'm recreated my AsteriskManager class in this way: @Component public class AsteriskManager { private Logger log = Logger.getLogger(AsteriskManager.class); private ManagerConnection managerConnection; private DefaultAsteriskServer asteriskServer; @Value("${asterisk.host}") private String host; @Value("${asterisk.port}") private int port; @Value("${asterisk.username}") private String username; @Value("${asterisk.password}") private String password; @Value("${asterisk.timeout}") private long asteriskTimeout; private DefaultAgiServer agiServer; private static AgiServerThread agiServerThread; @PostConstruct public void start() { log.info("Avvio di AsteriskManager..."); try { ManagerConnectionFactory factory = new ManagerConnectionFactory(host, port, username, password); managerConnection = factory.createManagerConnection(); asteriskServer = new DefaultAsteriskServer(managerConnection); asteriskServer.initialize(); log.info("Creata connessione al server Asterisk, stato connessione: " + managerConnection.getState()); log.info("Avvio il server Agi per Asterisk"); agiServer = new DefaultAgiServer(); agiServerThread = new AgiServerThread(agiServer); agiServerThread.startup(); } catch (Exception e) { log.error("", e); } } @PreDestroy public void stop() { if (managerConnection.getState().equals(ManagerConnectionState.CONNECTED) || managerConnection.getState().equals(ManagerConnectionState.RECONNECTING)) { // Il logoff può avvenire sono negli stati CONNECTED or RECONNECTING managerConnection.logoff(); } asteriskServer.shutdown(); } ... ... ... This works very fine and I'm very satisfied of this. I'm trying to convert also some simple agiscript classes but I can't figure out how I can manage these classes with Spring. In fact, I'd like to do somthing like this: public class TrunkVoip extends BaseAgiScript { private static Logger log = Logger.getLogger(TrunkVoip.class); @Inject RicaricaTelefonicaServiceImpl ricaricaTelefonicaServiceImpl; @Inject TelefonataServiceImpl telefonataServiceImpl; @Inject ClienteServiceImpl clienteCustomRepositoryImpl; public void service(AgiRequest request, AgiChannel channel) throws AgiException { ricaricaTelefonicaServiceImpl.doSomething(); .... ..... I need to use some component (@Service or @Component) into this class using @Inject annotation, but for do this I should manage the class with Spring adding @Component annotation. I fear that this is not compatible with the standard way in which AgiServer expect to manage this kind of classes. Someone has yet done something similar? Thanks very much -- Daniele |
From: Yves A. <yv...@gm...> - 2014-06-15 10:56:49
|
Hi, Take a look at the h - priority... this part of the dialplan becomes executed after hangup. But more important for me, as I think there might be a smarter solution...: what is your objective? Why auto-hangup the call at all? yves Am 13.06.2014 03:06, schrieb Murthy Gandikota: > > Hi Yves or anyone who cares to answer, > > I am using setAutoHangup(20) in my AGI script. Then I do a DB look up > that can take potentially longer than 20 seconds as follows: > > try { > > setAutoHangup(20); > > call-a-very-long-db-access-method(); > > } catch (Exception e) { > > } > > In my dialplan I call the AGI as : > > exten = 2,n(lookup-agent), agi(agi://${JAVA-AGI-SERVER}/lookupAgent.agi) > > exten = 2,n, VERBOSE(back from agi) > > During testing I find that "back from agi" is never printed soon after > 20 seconds. In other words, the agi call in the dial plan is waiting > for the return from the service method in the LookupAgent. > > Is this a flaw or by design? How can I return from LookupAgent after > 20 seconds without async? > > Thanks for your help. > > Murthy > > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Murthy G. <mga...@nt...> - 2014-06-13 02:05:12
|
Hi Yves or anyone who cares to answer, I am using setAutoHangup(20) in my AGI script. Then I do a DB look up that can take potentially longer than 20 seconds as follows: try { setAutoHangup(20); call-a-very-long-db-access-method(); } catch (Exception e) { } In my dialplan I call the AGI as : exten = 2,n(lookup-agent), agi(agi://${JAVA-AGI-SERVER}/lookupAgent.agi) exten = 2,n, VERBOSE(back from agi) During testing I find that "back from agi" is never printed soon after 20 seconds. In other words, the agi call in the dial plan is waiting for the return from the service method in the LookupAgent. Is this a flaw or by design? How can I return from LookupAgent after 20 seconds without async? Thanks for your help. Murthy |
From: Zoumana T. <zou...@gm...> - 2014-06-02 18:42:53
|
Hi Yves, I've tried the previous code, here is the behavior: -AGI Answer and trigger Local Channel -Dialplan takes over and make the "real" Dial and block to this instruction during the call -When the called party hangup, the call is back inside the AGI code: the others instructions in the diaplan are not executed at all: AMD() and so on Any leads/explanations? I will keep digging on local channels Thank you all *---* *Zoumana TRAORE* 2014-05-31 14:16 GMT+02:00 Zoumana TRAORE <zou...@gm...>: > Hi, > > Thanks for the guidelines. > I've just read a bit more about local channels, you mean doing something > like this: > > -turn AGI short into > > channel.answer(); > channel.exec("Dial", Local/1@amd"); > > -add into the dialplan file something like > > [amd] > exten => 1,1,Dial(SIP/200) > exten => 1,2,AMD() > ... > > While waiting for your return, i will test that out. > Thanks, > Zoumana > > > > *--- * > > *Zoumana TRAORE* > > > 2014-05-31 13:00 GMT+02:00 Yves A. <yv...@gm...>: > > Hi, >> >> this will surely be possible. Due to lack of time I cant give you a fully >> working example, but it is not to hard. >> 1.) Read about using "local channels" >> 2.) after that... dont "dial" your extension directly but "dial" into >> another part of your dialplan (yet to write), where you handle dialling >> the extension amd AMDing and so on... >> >> regards, >> yves >> >> Am 30.05.2014 16:01, schrieb Zoumana TRAORE: >> >> Hi every body, >> >> I am dealing with a use case within an IVR (driven by AJ AGI) received >> call >> 1. Play audio to announce the call forward >> 2. Make the forward using Dial >> 3. When the forwarded called is answered, execute an AMD() command to >> detect the status DURING THE call >> >> public void service(AgiRequest request, AgiChannel channel) >> throws AgiException { >> >> channel.answer(); >> channel.streamFile("svi/transfer-announce"); >> channel.exec("Dial", "SIP/200"); >> channel.exec("AMD"); >> channel.getVariable("AMD_STATUS"); >> channel.hangup(); >> } >> >> But as AGI lines are sequential, my AMD command come up when the >> forwarded call is already hangup so i got nothing. Somebody sees a solution >> or workaround for this? >> >> >> Thanks, >> Zoumana >> >> >> *--- * >> >> *Zoumana TRAORE* >> >> >> ------------------------------------------------------------------------------ >> Time is money. Stop wasting it! Get your web API in 5 minutes.www.restlet.com/downloadhttp://p.sf.net/sfu/restlet >> >> >> >> _______________________________________________ >> Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > |
From: Zoumana T. <zou...@gm...> - 2014-05-31 12:16:47
|
Hi, Thanks for the guidelines. I've just read a bit more about local channels, you mean doing something like this: -turn AGI short into channel.answer(); channel.exec("Dial", Local/1@amd"); -add into the dialplan file something like [amd] exten => 1,1,Dial(SIP/200) exten => 1,2,AMD() ... While waiting for your return, i will test that out. Thanks, Zoumana *--- * *Zoumana TRAORE* 2014-05-31 13:00 GMT+02:00 Yves A. <yv...@gm...>: > Hi, > > this will surely be possible. Due to lack of time I cant give you a fully > working example, but it is not to hard. > 1.) Read about using "local channels" > 2.) after that... dont "dial" your extension directly but "dial" into > another part of your dialplan (yet to write), where you handle dialling > the extension amd AMDing and so on... > > regards, > yves > > Am 30.05.2014 16:01, schrieb Zoumana TRAORE: > > Hi every body, > > I am dealing with a use case within an IVR (driven by AJ AGI) received > call > 1. Play audio to announce the call forward > 2. Make the forward using Dial > 3. When the forwarded called is answered, execute an AMD() command to > detect the status DURING THE call > > public void service(AgiRequest request, AgiChannel channel) > throws AgiException { > > channel.answer(); > channel.streamFile("svi/transfer-announce"); > channel.exec("Dial", "SIP/200"); > channel.exec("AMD"); > channel.getVariable("AMD_STATUS"); > channel.hangup(); > } > > But as AGI lines are sequential, my AMD command come up when the > forwarded call is already hangup so i got nothing. Somebody sees a solution > or workaround for this? > > > Thanks, > Zoumana > > > *--- * > > *Zoumana TRAORE* > > > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes.www.restlet.com/downloadhttp://p.sf.net/sfu/restlet > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Yves A. <yv...@gm...> - 2014-05-31 11:00:08
|
Hi, this will surely be possible. Due to lack of time I cant give you a fully working example, but it is not to hard. 1.) Read about using "local channels" 2.) after that... dont "dial" your extension directly but "dial" into another part of your dialplan (yet to write), where you handle dialling the extension amd AMDing and so on... regards, yves Am 30.05.2014 16:01, schrieb Zoumana TRAORE: > Hi every body, > > I am dealing with a use case within an IVR (driven by AJ AGI) received > call > 1. Play audio to announce the call forward > 2. Make the forward using Dial > 3. When the forwarded called is answered, execute an AMD() command to > detect the status DURING THE call > > public void service(AgiRequest request, AgiChannel channel) > throws AgiException { > > channel.answer(); > channel.streamFile("svi/transfer-announce"); > channel.exec("Dial", "SIP/200"); > channel.exec("AMD"); > channel.getVariable("AMD_STATUS"); > channel.hangup(); > } > > But as AGI lines are sequential, my AMD command come up when the > forwarded call is already hangup so i got nothing. Somebody sees a > solution or workaround for this? > > > Thanks, > Zoumana > > *--- > * > > *Zoumana TRAORE* > > > > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Zoumana T. <zou...@gm...> - 2014-05-30 14:01:46
|
Hi every body, I am dealing with a use case within an IVR (driven by AJ AGI) received call 1. Play audio to announce the call forward 2. Make the forward using Dial 3. When the forwarded called is answered, execute an AMD() command to detect the status DURING THE call public void service(AgiRequest request, AgiChannel channel) throws AgiException { channel.answer(); channel.streamFile("svi/transfer-announce"); channel.exec("Dial", "SIP/200"); channel.exec("AMD"); channel.getVariable("AMD_STATUS"); channel.hangup(); } But as AGI lines are sequential, my AMD command come up when the forwarded call is already hangup so i got nothing. Somebody sees a solution or workaround for this? Thanks, Zoumana *---* *Zoumana TRAORE* |
From: Zoumana T. <zou...@gm...> - 2014-05-17 15:02:00
|
Hi, 1. Add more than one app is done inside the file *fastagi-mapping.properties* You can add as many applications (classes) you want like this app-one.agi = AppOneClass app-two.agi = AppTwoClass 2. Yes i think the server restart is necessary as the JVM load the .class files at starting, so if you need your modifications to be applied you need to reload .class, so to restart the server. 3. Same question as 1, nope ? I don't see the difference. I've writen a tutorial (in french, so maybe google can help translating it): i don't talk about deploying many apps but the whole process from java code to deploy inside Asterisk. http://zoumana.wordpress.com/2013/12/18/faites-de-lasterisk-avec-du-java-couplage-asterisk-et-web-service-rest-java/ Regards, Zoumana *---* *Zoumana TRAORE* 2014-05-17 16:33 GMT+02:00 Vikas Wasiya <vi...@ho...>: > Hello all, > > I have a few queries in asterisk-java cause I am not able to find any > tutorials on this. > > 1. *How to create more than one application and deploy on asterisk-java* ? > cause according to the tutorial (java -jar asterisk-java.jar) only > one app will deploy on one server. > 2. When I edit some changes in the apps and compile again then I have to *restart > the whole server again* for changes taking effect ? Is there any way to > do it without restarting the whole. > 3. How to *deploy more than one application* without restarting > asterisk-java server ? > like I want to deploy HelloAgiScript1.java and HelloAgiScript2.java > both on same asterisk-java server. > > > Thanks and waiting for your reply. > > > -- > Thanks & Regards > > * Vikas Wasiya* > > *Sr. Software DeveloperWalkover Web Solutions | HOSTnSOFT* > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Vikas W. <vi...@ho...> - 2014-05-17 14:45:14
|
my email Id is vi...@ho... -- Thanks & Regards * Vikas Wasiya* *Sr. Software DeveloperWalkover Web Solutions | HOSTnSOFT* |
From: randy k. <hy...@gm...> - 2014-05-17 14:36:42
|
Try to use script engine. ( bean shell.. etc ) 2014. 5. 17. 오후 11:34에 "Vikas Wasiya" <vi...@ho...>님이 작성: > Hello all, > > I have a few queries in asterisk-java cause I am not able to find any > tutorials on this. > > 1. *How to create more than one application and deploy on asterisk-java* ? > cause according to the tutorial (java -jar asterisk-java.jar) only > one app will deploy on one server. > 2. When I edit some changes in the apps and compile again then I have to *restart > the whole server again* for changes taking effect ? Is there any way to > do it without restarting the whole. > 3. How to *deploy more than one application* without restarting > asterisk-java server ? > like I want to deploy HelloAgiScript1.java and HelloAgiScript2.java > both on same asterisk-java server. > > > Thanks and waiting for your reply. > > > -- > Thanks & Regards > > * Vikas Wasiya* > > *Sr. Software DeveloperWalkover Web Solutions | HOSTnSOFT* > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Vikas W. <vi...@ho...> - 2014-05-17 14:33:24
|
Hello all, I have a few queries in asterisk-java cause I am not able to find any tutorials on this. 1. *How to create more than one application and deploy on asterisk-java* ? cause according to the tutorial (java -jar asterisk-java.jar) only one app will deploy on one server. 2. When I edit some changes in the apps and compile again then I have to *restart the whole server again* for changes taking effect ? Is there any way to do it without restarting the whole. 3. How to *deploy more than one application* without restarting asterisk-java server ? like I want to deploy HelloAgiScript1.java and HelloAgiScript2.java both on same asterisk-java server. Thanks and waiting for your reply. -- Thanks & Regards * Vikas Wasiya* *Sr. Software DeveloperWalkover Web Solutions | HOSTnSOFT* |
From: Chris M. <ch...@mr...> - 2014-04-30 08:12:52
|
Hi In dialplan magic land this is what the docs say Parked calls that time out with comebacktoorigin=no will always be sent into the parkedcallstimeout context. I haven't tested much for a while but hopefully you can use that for a lead. Cm On 30/04/2014 3:57 pm, "Jorge" <gus...@gm...> wrote: > I have the next situation. > > I have a queue with agents that waits for incoming calls. These agents can > park a call. So I would like to set up the returning channel as the queue > so the parked call returns to the queue in case times up. > > I have seen it is possible to set up a channel as return channel but I > don´t know how to set up a queue. So my question is: > > Is it possible to set up a queue as a returning channel in a parked call? > > Code: > > ParkAction parkAction = new ParkAction(); > parkAction.setChannel(parkinChannel); > parkAction.setChannel2(QUEUE_CHANNEL); > > How can I define the Queue sip extension here? > > Kind regards. > > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Jorge <gus...@gm...> - 2014-04-30 05:55:35
|
I have the next situation. I have a queue with agents that waits for incoming calls. These agents can park a call. So I would like to set up the returning channel as the queue so the parked call returns to the queue in case times up. I have seen it is possible to set up a channel as return channel but I don´t know how to set up a queue. So my question is: Is it possible to set up a queue as a returning channel in a parked call? Code: ParkAction parkAction = new ParkAction(); parkAction.setChannel(parkinChannel); parkAction.setChannel2(QUEUE_CHANNEL); How can I define the Queue sip extension here? Kind regards. |
From: Miguel S. <m.s...@gm...> - 2014-04-27 09:14:47
|
Maybe the agentConnectEvent can help you. Take a look. This event is trigered when an agent connects an incoming call from a queue. The event has the callerId (name) and (num) El 27/04/2014 02:19, "Yves A." <yv...@gm...> escribió: > Hi, > > yes, normally, you have more than one agent in a queue and depending on > the ring strategy there might more than one AgentCalledEvent occur > simultaneously. > To see, which agent has picked up the call you need to look for the > AgentConnectEvent. Unfortunately the AgentConnectEvent does not supply the > callerID, but the > uniqueIDs of the caller that ringed and the channel that is finally > connected with the agent are the same so this way you can surely determine > the callerID and > the agent (membername and interface) that are bridged. > > regards, > yves > > Am 26.04.2014 18:53, schrieb Jorge: > > Thank you very much for your help. > > I will try to summarize the problem and the solution I took. So this > question could be considered closed. > > I have n agents in a queue and I wanted to know the state of these agents > and if someone calls these agents. For that I used AgentCalledEvent. It let > me know the number who is calling the agent who is called. > > So that is it. > > Thank you very much again. Easy when you know. > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platformhttp://p.sf.net/sfu/ExoPlatform > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Yves A. <yv...@gm...> - 2014-04-27 00:18:16
|
Hi, yes, normally, you have more than one agent in a queue and depending on the ring strategy there might more than one AgentCalledEvent occur simultaneously. To see, which agent has picked up the call you need to look for the AgentConnectEvent. Unfortunately the AgentConnectEvent does not supply the callerID, but the uniqueIDs of the caller that ringed and the channel that is finally connected with the agent are the same so this way you can surely determine the callerID and the agent (membername and interface) that are bridged. regards, yves Am 26.04.2014 18:53, schrieb Jorge: > Thank you very much for your help. > > I will try to summarize the problem and the solution I took. So this > question could be considered closed. > > I have n agents in a queue and I wanted to know the state of these > agents and if someone calls these agents. For that I used > AgentCalledEvent. It let me know the number who is calling the agent > who is called. > > So that is it. > > Thank you very much again. Easy when you know. > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Jorge <gus...@gm...> - 2014-04-26 16:53:55
|
Thank you very much for your help. I will try to summarize the problem and the solution I took. So this question could be considered closed. I have n agents in a queue and I wanted to know the state of these agents and if someone calls these agents. For that I used AgentCalledEvent. It let me know the number who is calling the agent who is called. So that is it. Thank you very much again. Easy when you know. |
From: Zoumana T. <zou...@gm...> - 2014-04-26 09:46:21
|
Hi, Thanks for your answers. Yes the events dump is great. In fact i have just wrote the code. Will place calls later to see. Have a good weekend, Zoumana Le 26 avr. 2014 11:37, "Yves A." <yv...@gm...> a écrit : > hi, > > state ringing occurs only once per call... but as always there may be > exceptions... whenever the phone stops ringing after dial finished and > nobody picked up, > it will again fire "ringing" if it is dialed again during the same call... > this may happen e.g. if your extension is part of a queue or if your > dialplan says to call > a phone again after dial-timeout... so if dialplan reaches a dial command, > and the extension is available, it will give you an event. > > concerning channelstatedesc: yes, up means channel is picked up. depending > on what you do you´ll receive other events too signalling that the call is > "up" or "bridged" or "linked". I always recommend to write a catch all > listener and print out any event during a testcall to see what happens > when, because > sometime things really depend on dialpan and of course on version of > asterisk you´re using. > > yves > > > Am 25.04.2014 16:35, schrieb Zoumana TRAORE: > > Yes with CDR implementation i will be forced to wait the end of the > call. > For << realtime>> > i had a idea to put listener on NewStateEvent to look for channelStateDesc > Ringing value. > -But i don't know if this event comes up for every ringtone so i can > measure and even count. > -the other question: does channelStateDesc Up mean the call has been > picked -up ? If not, do you (or someone) know the event triggered by Answer > on a channel ? > > Zoumana > > > > *--- * > > *Zoumana TRAORE* > > mob. (+33)0699783622 > > > 2014-04-25 16:16 GMT+02:00 Yves A. <yv...@gm...>: > >> OK, i thought you would need that information in realtime or right in >> that moment when the call is picked up... >> >> yves >> >> >> Am 25.04.2014 16:07, schrieb Zoumana TRAORE: >> >> Hello Yves, >> >> Yes i was looking for native way. >> I think i will get CDR(duration|billsec) withing AJ to do so... it >> should work. >> >> Thank you for your answer. >> >> Regards, >> Zoumana >> >> >> >> >> *--- * >> >> *Zoumana TRAORE* >> >> mob. (+33)0699783622 >> >> >> 2014-04-25 15:58 GMT+02:00 Yves A. <yv...@gm...>: >> >>> Hi, >>> >>> natively...? no. >>> you could of course extend either asterisk or asterisk-java or use >>> listener to calculate the time yourself. >>> >>> or you move any call into a queue first... queues will give you the >>> ringtime, but have the disadvantage, >>> that the call is TAKEN immediately (and produces costs on the customers >>> / callers side). >>> >>> yves >>> >>> Am 25.04.2014 14:39, schrieb Zoumana TRAORE: >>> >>> Hello everybody, >>> >>> Is there a way on a channel to retrieve ringing time? >>> (through AMI or AGI APIs) >>> >>> Regards, >>> >>> >>> *--- * >>> >>> *Zoumana TRAORE* >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Start Your Social Network Today - Download eXo Platform >>> Build your Enterprise Intranet with eXo Platform Software >>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >>> Get Started Now And Turn Your Intranet Into A Collaboration Platformhttp://p.sf.net/sfu/ExoPlatform >>> >>> >>> >>> _______________________________________________ >>> Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Start Your Social Network Today - Download eXo Platform >>> Build your Enterprise Intranet with eXo Platform Software >>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >>> Get Started Now And Turn Your Intranet Into A Collaboration Platform >>> http://p.sf.net/sfu/ExoPlatform >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Start Your Social Network Today - Download eXo Platform >> Build your Enterprise Intranet with eXo Platform Software >> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >> Get Started Now And Turn Your Intranet Into A Collaboration Platformhttp://p.sf.net/sfu/ExoPlatform >> >> >> >> _______________________________________________ >> Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Start Your Social Network Today - Download eXo Platform >> Build your Enterprise Intranet with eXo Platform Software >> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >> Get Started Now And Turn Your Intranet Into A Collaboration Platform >> http://p.sf.net/sfu/ExoPlatform >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platformhttp://p.sf.net/sfu/ExoPlatform > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |