asterisk-java-devel Mailing List for Asterisk-Java Library (Page 4)
Brought to you by:
srt
You can subscribe to this list here.
2005 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(8) |
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(8) |
Feb
(6) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
(17) |
Aug
(21) |
Sep
(2) |
Oct
(7) |
Nov
(8) |
Dec
(12) |
2007 |
Jan
(10) |
Feb
(19) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(6) |
Nov
(1) |
Dec
(5) |
2008 |
Jan
(12) |
Feb
(15) |
Mar
(18) |
Apr
(34) |
May
(3) |
Jun
(34) |
Jul
(5) |
Aug
(1) |
Sep
(8) |
Oct
|
Nov
(2) |
Dec
(2) |
2009 |
Jan
(8) |
Feb
(2) |
Mar
(35) |
Apr
(16) |
May
(11) |
Jun
(2) |
Jul
(6) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(4) |
Dec
|
2010 |
Jan
(43) |
Feb
(15) |
Mar
(1) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(1) |
Aug
(3) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
(2) |
Mar
(9) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2012 |
Jan
(9) |
Feb
(2) |
Mar
(4) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(10) |
Nov
(10) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(10) |
Dec
|
2014 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(11) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(2) |
Mar
(7) |
Apr
(39) |
May
(18) |
Jun
(6) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(9) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Brett S. <bs...@no...> - 2015-04-13 00:27:17
|
Gentlefolk, I've just been added by Stefan as a contributor to Asterisk-Java over at GitHub (the official repository for asterisk-java). Noojee is a long time user of Asterisks Java and we are aiming to get the project re-invigorated as Stefan is busy off working on other projects these days. The first objective is to get an official 1.0 release out the door which essentially is just a snap shot of the existing code with a few bug fixes and a few minor enhancements that Noojee has been using for some time. Once we have 1.0 out the door the aim is to work on 2.0 in which we would be looking to support asterisk 11 and 13 as well as merging many of the enhancements which have been worked on in many of the forks of asterisk-java. So we are looking for contributors to help: marshal commits via submitting pull requests for well tested bug fixes to asterisk-java 1.0 creation/marshalling of unit tests for 1.0 creation of docker instances for each of the support version of asterisk 1.0 agreement on what versions of asterisk 1.0 will support (1.4, 1.8,...). general testing of the release candidates we will be pushing out. other things that the community feel are important. setup a better communications framework moving issue tracking to github Can you help? Do you have any suggestions as to what we need to be doing? Brett |
From: Enguerrand de R. <eng...@el...> - 2015-03-16 12:16:46
|
Hi Brett ok, I am glad to hear that. Sharing the updates through git sounds like a good approach to me. I am tracking my changes through git as well but need to write German commit messages by company policy, so I doubt we should merge this directly. I would be happy to manually transfer my changes to an integration branch in a common repo though. So for the moment I’ll wait for you guys to sort out the administrative details, let me know when you are ready to get started. Cheers Enguerrand ------------------------------------------------------------------------------------ Dipl.-Ing. Enguerrand de Rochefort Softwareentwickler mailto:eng...@el... Tel: +49-241-566266-72 Fax: +49-241-566266-29 Von: Brett Sutton [mailto:bs...@no...] Gesendet: Samstag, 14. März 2015 01:59 An: ast...@li...; Enguerrand de Rochefort Betreff: Re: [Asterisk-java-devel] Asterisk 13 Support We are certainly interested. Not certain how active Stefan is these days, but we are active long term users of asterisk java and will be going through a similar process later this year. Stefan without wanting to step on your toes, how would you feel about sharing admin rights on the main git project. I would be happy to organize a resource to manage merges from other forks and possibly some spasmodic testing. Brett On 13 March 2015 11:53:30 pm LHDT, Enguerrand de Rochefort <eng...@el...<mailto:eng...@el...>> wrote: Hi all, First of all thanks for making asterisk-java and especially for making it open source. Great library! I am using asterisk-java in combination with Asterisk version 1.4 (I know, I know). The plan is to upgrade to Asterisk 13 in the near future. The initial target is just being compatible, i.e. to allow our software to run with either Asterisk versions, without making use of any of the new Asterisk 13 features. I downloaded the latest snapshot of asterisk-java and found that a lot of fundamental structural changes introduced in Asterisk 12 are not yet supported. So I am currently in the progress of implementing the parts that are missing for our software to work as expected. (E.g. new structure of parked call events etc...) I was wondering if you guys would be interested in getting access to the changes I am making, and what would be the best way for me to actually share them. Note however that 1) I probably won’t find the time to make my code fully consistent with the rest of the codebase in terms of formatting, javadoc comments etc..., so there would be some additional work required before incorporating it into your codebase... 2) This whole undertaking will certainly not result in a complete Asterisk 13 support, I’ll barely find the time to make the parts work that I am actually using... 3) On the positive side, while I am at it, I could also share some patches to the library that were made long before I even started working here... Let me know if you guys are interested and if so, what would be the best next step... ELARA Leitstellentechnik GmbH Member of Frequentis Group Schloss-Rahe-Str. 19a 52072 Aachen Geschäftsführender Gesellschafter: Dr.-Ing. Frank Herzog Geschäftsführer: Dipl.-Ing. Hans Werner Güntzel Amtsgericht Aachen HRB 17856 St.-Nr.: 201/5956/4218 USt-IdNr.: DE 285 827 521 --------------------------------------------------------------------------------------------- Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. 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 unauthorized copying, disclosure or distribution of the material in this e- mail is strictly forbidden. ________________________________ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ________________________________ Asterisk-java-devel mailing list Ast...@li...<mailto:Ast...@li...> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ELARA Leitstellentechnik GmbH Member of Frequentis Group Schloss-Rahe-Str. 19a 52072 Aachen Geschäftsführender Gesellschafter: Dr.-Ing. Frank Herzog Geschäftsführer: Dipl.-Ing. Hans Werner Güntzel Amtsgericht Aachen HRB 17856 St.-Nr.: 201/5956/4218 USt-IdNr.: DE 285 827 521 --------------------------------------------------------------------------------------------- Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. 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 unauthorized copying, disclosure or distribution of the material in this e- mail is strictly forbidden. |
From: David F. <dd...@gm...> - 2015-03-15 23:07:47
|
both.... yeah i know the repository but maybe a link to where i can get a fast update? Thanks 2015-03-15 20:04 GMT-03:00 Brett Sutton <bs...@no...>: > asterisk or asterisk-java? > > asterisk - digium > > asterisk-java > https://github.com/srt/asterisk-java > > > > On 16/03/15 10:02, David Faerman wrote: > > Hi > Sorry for this little off topic, but where i can read and get an update > about asterisk i was following it and the last thing i read was about > asterisk 1.8.... where i can get a fast update, new functions new features > etc... > Thanks > David > > > -- > (\__/) > (='.'=)This is Bunny. Copy and paste bunny into your > (")_(")signature to help him gain world domination. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Asterisk-java-devel mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > -- > S. Brett Sutton > > Ph: 1300 NOOJEE (1300 666 533) > Noojee Telephony Solutions - On Demand Contact Centres Solutionswww.noojee.com.au > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. |
From: Brett S. <bs...@no...> - 2015-03-15 23:04:43
|
asterisk or asterisk-java? asterisk - digium asterisk-java https://github.com/srt/asterisk-java On 16/03/15 10:02, David Faerman wrote: > Hi > Sorry for this little off topic, but where i can read and get an > update about asterisk i was following it and the last thing i read was > about asterisk 1.8.... where i can get a fast update, new functions > new features etc... > Thanks > David > > > -- > (\__/) > (='.'=)This is Bunny. Copy and paste bunny into your > (")_(")signature to help him gain world domination. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- S. Brett Sutton Ph: 1300 NOOJEE (1300 666 533) Noojee Telephony Solutions - On Demand Contact Centres Solutions www.noojee.com.au |
From: David F. <dd...@gm...> - 2015-03-15 23:03:22
|
Hi Sorry for this little off topic, but where i can read and get an update about asterisk i was following it and the last thing i read was about asterisk 1.8.... where i can get a fast update, new functions new features etc... Thanks David -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. |
From: Brett S. <bs...@no...> - 2015-03-15 22:59:17
|
I just noticed that you posted this on sourceforge. Asterisk Java is now hosted at git: https://github.com/srt/asterisk-java <https://github.com/srt/asterisk-java%3Cbr%20/%3E> On 14/03/15 11:58, Brett Sutton wrote: > We are certainly interested. Not certain how active Stefan is these > days, but we are active long term users of asterisk java and will be > going through a similar process later this year. > > Stefan without wanting to step on your toes, how would you feel about > sharing admin rights on the main git project. I would be happy to > organize a resource to manage merges from other forks and possibly > some spasmodic testing. > > > Brett > > > > On 13 March 2015 11:53:30 pm LHDT, Enguerrand de Rochefort > <eng...@el...> wrote: > > Hi all, > > First of all thanks for making asterisk-java and especially for > making it open source. Great library! > > I am using asterisk-java in combination with Asterisk version 1.4 > (I know, I know). The plan is to upgrade to Asterisk 13 in the > near future. The initial target is just being compatible, i.e. to > allow our software to run with either Asterisk versions, without > making use of any of the new Asterisk 13 features. > > I downloaded the latest snapshot of asterisk-java and found that a > lot of fundamental structural changes introduced in Asterisk 12 > are not yet supported. So I am currently in the progress of > implementing the parts that are missing for our software to work > as expected. (E.g. new structure of parked call events etc...) > > I was wondering if you guys would be interested in getting access > to the changes I am making, and what would be the best way for me > to actually share them. > > Note however that > > 1) I probably won’t find the time to make my code fully consistent > with the rest of the codebase in terms of formatting, javadoc > comments etc..., so there would be some additional work required > before incorporating it into your codebase... > > 2) This whole undertaking will certainly not result in a complete > Asterisk 13 support, I’ll barely find the time to make the parts > work that I am actually using... > > 3) On the positive side, while I am at it, I could also share some > patches to the library that were made long before I even started > working here... > > Let me know if you guys are interested and if so, what would be > the best next step... > > ELARA Leitstellentechnik GmbH Member of Frequentis Group > Schloss-Rahe-Str. 19a 52072 Aachen Geschäftsführender > Gesellschafter: Dr.-Ing. Frank Herzog Geschäftsführer: Dipl.-Ing. > Hans Werner Güntzel Amtsgericht Aachen HRB 17856 St.-Nr.: > 201/5956/4218 USt-IdNr.: DE 285 827 521 > --------------------------------------------------------------------------------------------- > Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte > Informationen. Wenn Sie nicht der richtige Adressat sind oder > diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte > sofort den Absender und vernichten Sie diese Mail. Das unerlaubte > Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht > gestattet. 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 unauthorized copying, > disclosure or distribution of the material in this e- mail is > strictly forbidden. > > ------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now.http://goparallel.sourceforge.net/ > > ------------------------------------------------------------------------ > > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- S. Brett Sutton Ph: 1300 NOOJEE (1300 666 533) Noojee Telephony Solutions - On Demand Contact Centres Solutions www.noojee.com.au |
From: Brett S. <bs...@no...> - 2015-03-14 00:59:19
|
We are certainly interested. Not certain how active Stefan is these days, but we are active long term users of asterisk java and will be going through a similar process later this year. Stefan without wanting to step on your toes, how would you feel about sharing admin rights on the main git project. I would be happy to organize a resource to manage merges from other forks and possibly some spasmodic testing. Brett On 13 March 2015 11:53:30 pm LHDT, Enguerrand de Rochefort <eng...@el...> wrote: >Hi all, > >First of all thanks for making asterisk-java and especially for making >it open source. Great library! > >I am using asterisk-java in combination with Asterisk version 1.4 (I >know, I know). The plan is to upgrade to Asterisk 13 in the near >future. The initial target is just being compatible, i.e. to allow our >software to run with either Asterisk versions, without making use of >any of the new Asterisk 13 features. > >I downloaded the latest snapshot of asterisk-java and found that a lot >of fundamental structural changes introduced in Asterisk 12 are not yet >supported. So I am currently in the progress of implementing the parts >that are missing for our software to work as expected. (E.g. new >structure of parked call events etc...) > >I was wondering if you guys would be interested in getting access to >the changes I am making, and what would be the best way for me to >actually share them. >Note however that >1) I probably won't find the time to make my code fully consistent with >the rest of the codebase in terms of formatting, javadoc comments >etc..., so there would be some additional work required before >incorporating it into your codebase... >2) This whole undertaking will certainly not result in a complete >Asterisk 13 support, I'll barely find the time to make the parts work >that I am actually using... >3) On the positive side, while I am at it, I could also share some >patches to the library that were made long before I even started >working here... > >Let me know if you guys are interested and if so, what would be the >best next step... > >ELARA Leitstellentechnik GmbH Member of Frequentis Group >Schloss-Rahe-Str. 19a 52072 Aachen Gesch?ftsf?hrender Gesellschafter: >Dr.-Ing. Frank Herzog Gesch?ftsf?hrer: Dipl.-Ing. Hans Werner G?ntzel >Amtsgericht Aachen HRB 17856 St.-Nr.: 201/5956/4218 USt-IdNr.: DE 285 >827 521 >--------------------------------------------------------------------------------------------- >Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte >Informationen. Wenn Sie nicht der richtige Adressat sind oder diese >E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den >Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie >die unbefugte Weitergabe dieser Mail ist nicht gestattet. 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 unauthorized >copying, disclosure or distribution of the material in this e- mail is >strictly forbidden. > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------------ >Dive into the World of Parallel Programming The Go Parallel Website, >sponsored >by Intel and developed in partnership with Slashdot Media, is your hub >for all >things parallel software development, from weekly thought leadership >blogs to >news, videos, case studies, tutorials and more. Take a look and join >the >conversation now. http://goparallel.sourceforge.net/ > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-java-devel mailing list >Ast...@li... >https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- Sent from my Android device with K-9 Mail. Please excuse my brevity. |
From: Enguerrand de R. <eng...@el...> - 2015-03-13 12:53:43
|
Hi all, First of all thanks for making asterisk-java and especially for making it open source. Great library! I am using asterisk-java in combination with Asterisk version 1.4 (I know, I know). The plan is to upgrade to Asterisk 13 in the near future. The initial target is just being compatible, i.e. to allow our software to run with either Asterisk versions, without making use of any of the new Asterisk 13 features. I downloaded the latest snapshot of asterisk-java and found that a lot of fundamental structural changes introduced in Asterisk 12 are not yet supported. So I am currently in the progress of implementing the parts that are missing for our software to work as expected. (E.g. new structure of parked call events etc...) I was wondering if you guys would be interested in getting access to the changes I am making, and what would be the best way for me to actually share them. Note however that 1) I probably won't find the time to make my code fully consistent with the rest of the codebase in terms of formatting, javadoc comments etc..., so there would be some additional work required before incorporating it into your codebase... 2) This whole undertaking will certainly not result in a complete Asterisk 13 support, I'll barely find the time to make the parts work that I am actually using... 3) On the positive side, while I am at it, I could also share some patches to the library that were made long before I even started working here... Let me know if you guys are interested and if so, what would be the best next step... ELARA Leitstellentechnik GmbH Member of Frequentis Group Schloss-Rahe-Str. 19a 52072 Aachen Gesch?ftsf?hrender Gesellschafter: Dr.-Ing. Frank Herzog Gesch?ftsf?hrer: Dipl.-Ing. Hans Werner G?ntzel Amtsgericht Aachen HRB 17856 St.-Nr.: 201/5956/4218 USt-IdNr.: DE 285 827 521 --------------------------------------------------------------------------------------------- Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. 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 unauthorized copying, disclosure or distribution of the material in this e- mail is strictly forbidden. |
From: Brett S. <bs...@no...> - 2015-02-16 22:33:31
|
You will need something like this: <Logger name="org.asteriskjava" additivity="false" level="FATAL "> <AppenderRef ref="LOGFILE" /> </Logger> Basically this says only log FATAL errors to the logfile. On 17/02/15 01:22, Jose Baez wrote: > Hi! > > I've embedded AsteriskJava in a Tomcat application wich uses log4java. > > My Debug window shows many messages from asterisk-java I'm not > interested in becuase it is already stable. > > How can I decrease/disable LOG level for asterisk-java exclusively? > > > Thanks. > > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- S. Brett Sutton Ph: 1300 NOOJEE (1300 666 533) Noojee Telephony Solutions - On Demand Contact Centres Solutions www.noojee.com.au |
From: Jose B. <pe...@gm...> - 2015-02-16 14:23:02
|
Hi! I've embedded AsteriskJava in a Tomcat application wich uses log4java. My Debug window shows many messages from asterisk-java I'm not interested in becuase it is already stable. How can I decrease/disable LOG level for asterisk-java exclusively? Thanks. |
From: Yves A. <yv...@gm...> - 2014-07-30 17:32:57
|
:-) your welcome! thanks for sharing your experience! yves Am 30.07.2014 um 18:11 schrieb Jose Baez: > Hehehe, adding the new action to my project was easier than I thought! > > Thanks Yves! > > > > import org.asteriskjava.manager.action.AbstractManagerAction; > > public class MessageSendAction extends AbstractManagerAction { > > private static final long serialVersionUID = 1L; > private String to; > private String from; > private String body; > private String body64base; > private String variable; > /** > * Creates a new empty MessageSendAction. > */ > public MessageSendAction() > { > super(); > } > > /** > * Creates a new MessageSendAction that Send an out of call message > * to an endpoint.<p> > * > * > * @param to The URI the message is to be sent to > * @param from A From URI for the message if needed for the message > * technology being used to send this message > * @param body The message body text. This must not contain any > newlines > * as that conflicts with the AMI protocol > * @since 1.0 > */ > public MessageSendAction(String to, String from, String body) > { > super(); > this.to <http://this.to> = to; > this.from = from; > this.body = body; > } > @Override > public String getAction() { > return "MessageSend"; > } > /** > * Returns the TO address. > */ > public String getTo() > { > return to; > } > /** > * Returns the FROM address. > */ > public String getFrom() > { > return from; > } > /** > * Returns the message BODY > */ > public String getBody() > { > return body; > } > /** > * Sets the destinatin adress.<p> > */ > public void setTo(String to) > { > this.to <http://this.to> = to; > } > > /** > * Sets the sender address.<p> > */ > public void setFrom(String from) > { > this.from = from; > } > > /** > * Sets the message body.<p> > */ > public void setBody(String body) > { > this.body = body; > } > > } > > > > On 30 July 2014 13:39, Jose Baez <pe...@gm... > <mailto:pe...@gm...>> wrote: > > Hello! > > I have to send SIP text messages from asterisk-java through AMI > using MessageSend action). I'll have to code a custom Action myself. > > Thanks to a previous conversation from last weeks, Yves explained > it how to make one. > > However someone might had already made that *"MessageSendAction"* > and would like to share his/her code. Anyone? ;)) > > I'm not a Java expert, so it will take some time to do it myself. > I'll post here my code when I get something useful. :)) > > > > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |
From: Jose B. <pe...@gm...> - 2014-07-30 16:11:14
|
Hehehe, adding the new action to my project was easier than I thought! Thanks Yves! import org.asteriskjava.manager.action.AbstractManagerAction; public class MessageSendAction extends AbstractManagerAction { private static final long serialVersionUID = 1L; private String to; private String from; private String body; private String body64base; private String variable; /** * Creates a new empty MessageSendAction. */ public MessageSendAction() { super(); } /** * Creates a new MessageSendAction that Send an out of call message * to an endpoint.<p> * * * @param to The URI the message is to be sent to * @param from A From URI for the message if needed for the message * technology being used to send this message * @param body The message body text. This must not contain any newlines * as that conflicts with the AMI protocol * @since 1.0 */ public MessageSendAction(String to, String from, String body) { super(); this.to = to; this.from = from; this.body = body; } @Override public String getAction() { return "MessageSend"; } /** * Returns the TO address. */ public String getTo() { return to; } /** * Returns the FROM address. */ public String getFrom() { return from; } /** * Returns the message BODY */ public String getBody() { return body; } /** * Sets the destinatin adress.<p> */ public void setTo(String to) { this.to = to; } /** * Sets the sender address.<p> */ public void setFrom(String from) { this.from = from; } /** * Sets the message body.<p> */ public void setBody(String body) { this.body = body; } } On 30 July 2014 13:39, Jose Baez <pe...@gm...> wrote: > Hello! > > I have to send SIP text messages from asterisk-java through AMI using > MessageSend action). I'll have to code a custom Action myself. > > Thanks to a previous conversation from last weeks, Yves explained it how > to make one. > > However someone might had already made that *"MessageSendAction"* and > would like to share his/her code. Anyone? ;)) > > I'm not a Java expert, so it will take some time to do it myself. I'll > post here my code when I get something useful. :)) > > > |
From: Jose B. <pe...@gm...> - 2014-07-30 12:39:53
|
Hello! I have to send SIP text messages from asterisk-java through AMI using MessageSend action). I'll have to code a custom Action myself. Thanks to a previous conversation from last weeks, Yves explained it how to make one. However someone might had already made that *"MessageSendAction"* and would like to share his/her code. Anyone? ;)) I'm not a Java expert, so it will take some time to do it myself. I'll post here my code when I get something useful. :)) |
From: Jose B. <pe...@gm...> - 2014-07-29 13:56:04
|
Ah, excellent, Stefan! Lot of time saved ;)) Thanks. El 29/07/2014 14:37, "Stefan Reuter" <ste...@re...> escribió: > On 29/07/14 13:18, Jose Baez wrote: > > I thought Asterisk-java used sort of a keepalive to Asterisk (sending > > "ping" action). > > There is a ping thread but you have to use it explicitly: > > http://www.asterisk-java.org/development/apidocs/org/asteriskjava/manager/PingThread.html > > =Stefan > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > |
From: Stefan R. <ste...@re...> - 2014-07-29 13:37:17
|
On 29/07/14 13:18, Jose Baez wrote: > I thought Asterisk-java used sort of a keepalive to Asterisk (sending > "ping" action). There is a ping thread but you have to use it explicitly: http://www.asterisk-java.org/development/apidocs/org/asteriskjava/manager/PingThread.html =Stefan |
From: Jose B. <pe...@gm...> - 2014-07-29 11:18:34
|
I thought Asterisk-java used sort of a keepalive to Asterisk (sending "ping" action). I'll add it in my program then. Thanks for the tip for using a Thread. :) On 29 July 2014 11:20, Yves A. <yv...@gm...> wrote: > Hi, > > you should be able to catch a DisconnectEvent if you have a Listener > attached. This event is fired whenever the connection to your asterisks > breaks down. On a successful reconnect you will receive an ConnectEvent. > In my experience, AsteriskJava only detects a failure, when you try to > send a Command or an Action... as long as you do nothing, AsteriskJava > thinks, it´s connected and the ManagerConnection.getState() always returns > "CONNECTED"... at least for a very very long time. > So, if you depend on "almost-realtime" Event for Network-Failure beeing > fired, you should periodically do some action on your > ManagerConnection... e.g. in a Thread. > > yves > > Am 29.07.2014 um 11:13 schrieb Jose Baez: > > Oh, sorry for asnwering so late. I was looking into my logs to copypaste > those errors... > > Asterisk-java is running on 1 machine and Asterisk-AMI is running on > other machine (IP 2). > > If network fails, or Asterisk fails or IP-2 machine freezes, > asterisk-java throws these errors because it cannot connect to Asterisk: > > > INFO: Connecting to 172.xxxxxxxx:5038 > Jul 24, 2014 4:29:25 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl reconnect > WARNING: Exception while trying to reconnect: *Connection timed out* > WARNING: Exception while trying to reconnect: *Connection timed out* > WARNING: Exception while trying to reconnect: *Connection timed out* > ... > ... > > Jul 24, 2014 4:30:48 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl reconnect > WARNING: Exception while trying to reconnect: *No route to host* > WARNING: Exception while trying to reconnect: *No route to host* > WARNING: Exception while trying to reconnect: *No route to host* > ... > ... > INFO: Connecting to 172.xxxxxxxx:5038 > Jul 24, 2014 4:32:05 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl connect > INFO: Connecting to 172.xxxxxxxx:5038 > Jul 24, 2014 4:32:05 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl > setProtocolIdentifier > INFO: Connected via Asterisk Call Manager/1.3 > Jul 24, 2014 4:32:05 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin > INFO: *Successfully logged in* > > > How could I retrieve those warnings in my Java code? I would like to run > a few checks on Asterisk. > > If Asterisk failed it means audio calls have all finished and I must > cleared a few variables in Java. > > > > > On 25 July 2014 15:30, Yves A. <yv...@gm...> wrote: > >> Could you please go a bit more into detail? >> which "network errors events" are you talking about? >> >> yves >> >> Am 25.07.2014 um 13:22 schrieb Jose Baez: >> >> Hello! >> >> How can I get network errors events sent by asterisk-java library? >> >> I would like to check a few variables after one of those errors occur, >> to know if Asterisk failed or it was just a network hiccup. >> >> >> Thank you. >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> 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-devel mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel >> >> >> >> >> ------------------------------------------------------------------------------ >> 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-devel mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel >> >> > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future.http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Asterisk-java-devel mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > |
From: Yves A. <yv...@gm...> - 2014-07-29 10:21:06
|
Hi, you should be able to catch a DisconnectEvent if you have a Listener attached. This event is fired whenever the connection to your asterisks breaks down. On a successful reconnect you will receive an ConnectEvent. In my experience, AsteriskJava only detects a failure, when you try to send a Command or an Action... as long as you do nothing, AsteriskJava thinks, it´s connected and the ManagerConnection.getState() always returns "CONNECTED"... at least for a very very long time. So, if you depend on "almost-realtime" Event for Network-Failure beeing fired, you should periodically do some action on your ManagerConnection... e.g. in a Thread. yves Am 29.07.2014 um 11:13 schrieb Jose Baez: > Oh, sorry for asnwering so late. I was looking into my logs to > copypaste those errors... > > Asterisk-java is running on 1 machine and Asterisk-AMI is running on > other machine (IP 2). > > If network fails, or Asterisk fails or IP-2 machine freezes, > asterisk-java throws these errors because it cannot connect to Asterisk: > > > INFO: Connecting to 172.xxxxxxxx:5038 > Jul 24, 2014 4:29:25 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl reconnect > WARNING: Exception while trying to reconnect: *Connection timed out* > WARNING: Exception while trying to reconnect: *Connection timed out* > WARNING: Exception while trying to reconnect: *Connection timed out* > ... > ... > > Jul 24, 2014 4:30:48 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl reconnect > WARNING: Exception while trying to reconnect: *No route to host* > WARNING: Exception while trying to reconnect: *No route to host* > WARNING: Exception while trying to reconnect: *No route to host* > ... > ... > INFO: Connecting to 172.xxxxxxxx:5038 > Jul 24, 2014 4:32:05 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl connect > INFO: Connecting to 172.xxxxxxxx:5038 > Jul 24, 2014 4:32:05 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl > setProtocolIdentifier > INFO: Connected via Asterisk Call Manager/1.3 > Jul 24, 2014 4:32:05 PM > org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin > INFO: *Successfully logged in* > > > How could I retrieve those warnings in my Java code? I would like to > run a few checks on Asterisk. > > If Asterisk failed it means audio calls have all finished and I must > cleared a few variables in Java. > > > > > On 25 July 2014 15:30, Yves A. <yv...@gm... > <mailto:yv...@gm...>> wrote: > > Could you please go a bit more into detail? > which "network errors events" are you talking about? > > yves > > Am 25.07.2014 um 13:22 schrieb Jose Baez: >> Hello! >> >> How can I get network errors events sent by asterisk-java library? >> >> I would like to check a few variables after one of those errors >> occur, to know if Asterisk failed or it was just a network hiccup. >> >> >> Thank you. >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> 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-devel mailing list >> Ast...@li... <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |
From: Jose B. <pe...@gm...> - 2014-07-29 09:13:39
|
Oh, sorry for asnwering so late. I was looking into my logs to copypaste those errors... Asterisk-java is running on 1 machine and Asterisk-AMI is running on other machine (IP 2). If network fails, or Asterisk fails or IP-2 machine freezes, asterisk-java throws these errors because it cannot connect to Asterisk: INFO: Connecting to 172.xxxxxxxx:5038 Jul 24, 2014 4:29:25 PM org.asteriskjava.manager.internal.ManagerConnectionImpl reconnect WARNING: Exception while trying to reconnect: *Connection timed out* WARNING: Exception while trying to reconnect: *Connection timed out* WARNING: Exception while trying to reconnect: *Connection timed out* ... ... Jul 24, 2014 4:30:48 PM org.asteriskjava.manager.internal.ManagerConnectionImpl reconnect WARNING: Exception while trying to reconnect: *No route to host* WARNING: Exception while trying to reconnect: *No route to host* WARNING: Exception while trying to reconnect: *No route to host* ... ... INFO: Connecting to 172.xxxxxxxx:5038 Jul 24, 2014 4:32:05 PM org.asteriskjava.manager.internal.ManagerConnectionImpl connect INFO: Connecting to 172.xxxxxxxx:5038 Jul 24, 2014 4:32:05 PM org.asteriskjava.manager.internal.ManagerConnectionImpl setProtocolIdentifier INFO: Connected via Asterisk Call Manager/1.3 Jul 24, 2014 4:32:05 PM org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin INFO: *Successfully logged in* How could I retrieve those warnings in my Java code? I would like to run a few checks on Asterisk. If Asterisk failed it means audio calls have all finished and I must cleared a few variables in Java. On 25 July 2014 15:30, Yves A. <yv...@gm...> wrote: > Could you please go a bit more into detail? > which "network errors events" are you talking about? > > yves > > Am 25.07.2014 um 13:22 schrieb Jose Baez: > > Hello! > > How can I get network errors events sent by asterisk-java library? > > I would like to check a few variables after one of those errors occur, > to know if Asterisk failed or it was just a network hiccup. > > > Thank you. > > > > > > > > > ------------------------------------------------------------------------------ > 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-devel mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > |
From: Yves A. <yv...@gm...> - 2014-07-25 14:30:38
|
Could you please go a bit more into detail? which "network errors events" are you talking about? yves Am 25.07.2014 um 13:22 schrieb Jose Baez: > Hello! > > How can I get network errors events sent by asterisk-java library? > > I would like to check a few variables after one of those errors occur, > to know if Asterisk failed or it was just a network hiccup. > > > Thank you. > > > > > > > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |
From: Mandana b. <man...@ya...> - 2014-07-25 11:23:41
|
Thanks a lot , I Received Your Email . |
From: Jose B. <pe...@gm...> - 2014-07-25 11:22:10
|
Hello! How can I get network errors events sent by asterisk-java library? I would like to check a few variables after one of those errors occur, to know if Asterisk failed or it was just a network hiccup. Thank you. |
From: Luca N. <l.n...@my...> - 2014-06-17 10:31:02
|
The listener is running fine, in fact i can catch any other event coming from the manager :( I never had problems catching events before, problem is that now i have necessity of getting a list of the parked channels, so i thought about building it using the events generated by a ParkedCallsAction, but to no avail. Is there another way to get a list of the parked channels using the AMI? Asterisk-java version: asterisk-java-1.0.0.CI-20140513.214527-1608 Asterisk version: 11.6.0 manager.conf [general] enabled = yes port = 5038 bindaddr = 0.0.0.0 [xbpbew] writetimeout = 10000 secret = genna deny=0.0.0.0/0.0.0.0 permit=127.0.0.1/255.255.255.255 permit=10.51.0.0/255.255.0.0 read = all write = all Thank you, Luca On 17/06/2014 12:21, Yves A. wrote: > hi, > > is it sure that your "ServerAsterisk" is running, connected and > listening all the time? > Are you able to listen other events while testing your parking calls? > which version of asterisk / asterisk-java? > did you check the user your connecting to asterisk with has > read/write=all privileges in manager.conf? > > y. > > Am 17.06.2014 11:57, schrieb Luca Natale: >> Hi, this is where i send the ParkedCallsAction in the agi service: >> >> @Override >> public void service(AgiRequest request, AgiChannel channel) >> throws AgiException { >> >> try { >> ManagerConnection managerConnection = >> factory.createManagerConnection(); >> >> managerConnection.login(); >> >> ParkedCallsAction parkedCalls = new ParkedCallsAction(); >> System.out.println("**Sending ParkedCallsAction"); >> monitorResponse = >> managerConnection.sendAction(parkedCalls, 30000); >> >> managerConnection.logoff(); >> >> } catch (IOException e) { >> e.printStackTrace(); >> } catch (IllegalStateException e) { >> e.printStackTrace(); >> } catch (AuthenticationFailedException e) { >> e.printStackTrace(); >> } catch (TimeoutException e) { >> e.printStackTrace(); >> } >> } >> >> And this is my eventlistener that should catch the ParkedCallEvent: >> >> public class ServerAsterisk implements Serializable, >> ManagerEventListener, SendActionCallback { >> >> ... >> stuff >> ... >> >> public void onManagerEvent(ManagerEvent event) { >> System.out.println(event.getClass()+" --- "+event); <- HERE, >> I CAN CATCH A PARKEDCALLEVENT WHEN I PUT A CHANNEL IN PARK USING AN >> ORIGINATE, BUT I CAN'T CATCH THE PARKEDCALLEVENT (s) SENT AFTER A >> PARKEDCALLSACTION >> } >> } >> >> Hope i have been clear enough, in addition here is an ngrep capture >> on the machine running the java program >> >> ----Packet received after a usual ParkedCallEvent---- >> T 10.40.0.106:5038 -> 10.51.0.21:53718 [AP] >> Event: ParkedCall..Privilege: call,all..Exten: 1..Channel: >> SIP/1078-00000029..Parkinglot: default..From: >> SIP/1078-00000029..Timeout: 1200..Caller >> IDNum: <unknown>..CallerIDName: 1078..ConnectedLineNum: >> <unknown>..ConnectedLineName: <unknown>..Uniqueid: >> palermo-1402675228.66.... >> >> >> ----Packet received after a ParkedCallsAction-generated >> ParkedCallEvent---- >> N.B. T 10.40.0.106:5038 -> 10.51.0.21:53721 [AP] >> Event: ParkedCall..Parkinglot: default..Exten: 1..Channel: >> SIP/1078-0000002a..From: SIP/1078-0000002a..Timeout: 1192..Duration: >> 8..CallerIDNum: . >> .CallerIDName: 1078..ConnectedLineNum: ..ConnectedLineName: >> ..ActionID: 239184002_4#.... >> >> Thank you for your reply, >> Luca >> >> >> On 17/06/2014 11:35, Yves A. wrote: >>> Hi Luca, >>> >>> post your code please and tell us, which version of asterisk and >>> asterisk-java you´re using. >>> >>> yves >>> >>> >>> Am 17.06.2014 09:43, schrieb Luca Natale: >>>> Hi there! >>>> >>>> In my project i have necessity to call my asterisk server to have a >>>> list of the parked channels. >>>> >>>> I understood that a ParkedCallsAction generates n ParkedCallEvents >>>> where n is the number of parked channels, following a >>>> ParkedCallsComplete event. >>>> >>>> Everything works just as expected, except for the fact that i can't >>>> catch these ParkedCallEvent in my events listener. >>>> >>>> This is a log for a normal ParkedCallEvent (i can see this event in >>>> my listener): >>>> >>>> Dispatching event: >>>> org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon >>>> Jun 16 15:08:57 CEST >>>> 2014',privilege='call,all',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid='palermo-1402924150.275',exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1200',systemHashcode=662570926]DEBUG >>>> >>>> >>>> And this is a log for a ParkedCallsAction generated ParkedCallEvent >>>> (no trace of this event in my listener): >>>> >>>> Dispatching event: >>>> org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon >>>> Jun 16 15:09:00 CEST >>>> 2014',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid=null,exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1196',systemHashcode=421189702] >>>> >>>> Major difference being that in the second case there is no >>>> privilege value. >>>> >>>> Is there a way i can catch these events in my listener? Or, is >>>> there a fastest way to have a list of the currently parked channels >>>> by request using the AMI? >>>> >>>> Thank you all :) >>>> >>>> -- >>>> Luca >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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-devel mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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-devel mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel >> >> -- >> *Ing. Luca Natale* >> /Area Tecnica/ >> *Mail* l.n...@my... <mailto:l.n...@my...> >> *Tel* +39 320 46 09 517 >> *Skype* lucanatale83 WatsON S.r.l >> Via Alfredo Nobel 281 - 81031 Aversa CE >> *Tel.*+39 02 944 376 19 >> *Fax.*+39 02 944 37 031 >> *Web*www.mywatson.it <http://www.mywatson.it> >> <http://www.facebook.com/pages/WatsON-Tecnologie-Facili/108939055857460?fref=ts> >> <http://www.linkedin.com/company/watson-s.r.l?trk=hb_tab_compy_id_2112721> >> >> >> >> >> ------------------------------------------------------------------------------ >> 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-devel mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- *Ing. Luca Natale* /Area Tecnica/ *Mail* l.n...@my... <mailto:l.n...@my...> *Tel* +39 320 46 09 517 *Skype* lucanatale83 WatsON S.r.l Via Alfredo Nobel 281 - 81031 Aversa CE *Tel.*+39 02 944 376 19 *Fax.*+39 02 944 37 031 *Web*www.mywatson.it <http://www.mywatson.it> <http://www.facebook.com/pages/WatsON-Tecnologie-Facili/108939055857460?fref=ts> <http://www.linkedin.com/company/watson-s.r.l?trk=hb_tab_compy_id_2112721> |
From: Yves A. <yv...@gm...> - 2014-06-17 10:21:38
|
hi, is it sure that your "ServerAsterisk" is running, connected and listening all the time? Are you able to listen other events while testing your parking calls? which version of asterisk / asterisk-java? did you check the user your connecting to asterisk with has read/write=all privileges in manager.conf? y. Am 17.06.2014 11:57, schrieb Luca Natale: > Hi, this is where i send the ParkedCallsAction in the agi service: > > @Override > public void service(AgiRequest request, AgiChannel channel) throws > AgiException { > > try { > ManagerConnection managerConnection = > factory.createManagerConnection(); > > managerConnection.login(); > > ParkedCallsAction parkedCalls = new ParkedCallsAction(); > System.out.println("**Sending ParkedCallsAction"); > monitorResponse = > managerConnection.sendAction(parkedCalls, 30000); > > managerConnection.logoff(); > > } catch (IOException e) { > e.printStackTrace(); > } catch (IllegalStateException e) { > e.printStackTrace(); > } catch (AuthenticationFailedException e) { > e.printStackTrace(); > } catch (TimeoutException e) { > e.printStackTrace(); > } > } > > And this is my eventlistener that should catch the ParkedCallEvent: > > public class ServerAsterisk implements Serializable, > ManagerEventListener, SendActionCallback { > > ... > stuff > ... > > public void onManagerEvent(ManagerEvent event) { > System.out.println(event.getClass()+" --- "+event); <- HERE, I > CAN CATCH A PARKEDCALLEVENT WHEN I PUT A CHANNEL IN PARK USING AN > ORIGINATE, BUT I CAN'T CATCH THE PARKEDCALLEVENT (s) SENT AFTER A > PARKEDCALLSACTION > } > } > > Hope i have been clear enough, in addition here is an ngrep capture on > the machine running the java program > > ----Packet received after a usual ParkedCallEvent---- > T 10.40.0.106:5038 -> 10.51.0.21:53718 [AP] > Event: ParkedCall..Privilege: call,all..Exten: 1..Channel: > SIP/1078-00000029..Parkinglot: default..From: > SIP/1078-00000029..Timeout: 1200..Caller > IDNum: <unknown>..CallerIDName: 1078..ConnectedLineNum: > <unknown>..ConnectedLineName: <unknown>..Uniqueid: > palermo-1402675228.66.... > > > ----Packet received after a ParkedCallsAction-generated > ParkedCallEvent---- > N.B. T 10.40.0.106:5038 -> 10.51.0.21:53721 [AP] > Event: ParkedCall..Parkinglot: default..Exten: 1..Channel: > SIP/1078-0000002a..From: SIP/1078-0000002a..Timeout: 1192..Duration: > 8..CallerIDNum: . > .CallerIDName: 1078..ConnectedLineNum: ..ConnectedLineName: > ..ActionID: 239184002_4#.... > > Thank you for your reply, > Luca > > > On 17/06/2014 11:35, Yves A. wrote: >> Hi Luca, >> >> post your code please and tell us, which version of asterisk and >> asterisk-java you´re using. >> >> yves >> >> >> Am 17.06.2014 09:43, schrieb Luca Natale: >>> Hi there! >>> >>> In my project i have necessity to call my asterisk server to have a >>> list of the parked channels. >>> >>> I understood that a ParkedCallsAction generates n ParkedCallEvents >>> where n is the number of parked channels, following a >>> ParkedCallsComplete event. >>> >>> Everything works just as expected, except for the fact that i can't >>> catch these ParkedCallEvent in my events listener. >>> >>> This is a log for a normal ParkedCallEvent (i can see this event in >>> my listener): >>> >>> Dispatching event: >>> org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon Jun >>> 16 15:08:57 CEST >>> 2014',privilege='call,all',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid='palermo-1402924150.275',exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1200',systemHashcode=662570926]DEBUG >>> >>> >>> And this is a log for a ParkedCallsAction generated ParkedCallEvent >>> (no trace of this event in my listener): >>> >>> Dispatching event: >>> org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon Jun >>> 16 15:09:00 CEST >>> 2014',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid=null,exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1196',systemHashcode=421189702] >>> >>> Major difference being that in the second case there is no privilege >>> value. >>> >>> Is there a way i can catch these events in my listener? Or, is there >>> a fastest way to have a list of the currently parked channels by >>> request using the AMI? >>> >>> Thank you all :) >>> >>> -- >>> Luca >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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-devel mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel >> >> >> >> ------------------------------------------------------------------------------ >> 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-devel mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > -- > *Ing. Luca Natale* > /Area Tecnica/ > *Mail* l.n...@my... <mailto:l.n...@my...> > *Tel* +39 320 46 09 517 > *Skype* lucanatale83 WatsON S.r.l > Via Alfredo Nobel 281 - 81031 Aversa CE > *Tel.*+39 02 944 376 19 > *Fax.*+39 02 944 37 031 > *Web*www.mywatson.it <http://www.mywatson.it> > <http://www.facebook.com/pages/WatsON-Tecnologie-Facili/108939055857460?fref=ts> > <http://www.linkedin.com/company/watson-s.r.l?trk=hb_tab_compy_id_2112721> > > > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |
From: Luca N. <l.n...@my...> - 2014-06-17 09:57:40
|
Hi, this is where i send the ParkedCallsAction in the agi service: @Override public void service(AgiRequest request, AgiChannel channel) throws AgiException { try { ManagerConnection managerConnection = factory.createManagerConnection(); managerConnection.login(); ParkedCallsAction parkedCalls = new ParkedCallsAction(); System.out.println("**Sending ParkedCallsAction"); monitorResponse = managerConnection.sendAction(parkedCalls, 30000); managerConnection.logoff(); } catch (IOException e) { e.printStackTrace(); } catch (IllegalStateException e) { e.printStackTrace(); } catch (AuthenticationFailedException e) { e.printStackTrace(); } catch (TimeoutException e) { e.printStackTrace(); } } And this is my eventlistener that should catch the ParkedCallEvent: public class ServerAsterisk implements Serializable, ManagerEventListener, SendActionCallback { ... stuff ... public void onManagerEvent(ManagerEvent event) { System.out.println(event.getClass()+" --- "+event); <- HERE, I CAN CATCH A PARKEDCALLEVENT WHEN I PUT A CHANNEL IN PARK USING AN ORIGINATE, BUT I CAN'T CATCH THE PARKEDCALLEVENT (s) SENT AFTER A PARKEDCALLSACTION } } Hope i have been clear enough, in addition here is an ngrep capture on the machine running the java program ----Packet received after a usual ParkedCallEvent---- T 10.40.0.106:5038 -> 10.51.0.21:53718 [AP] Event: ParkedCall..Privilege: call,all..Exten: 1..Channel: SIP/1078-00000029..Parkinglot: default..From: SIP/1078-00000029..Timeout: 1200..Caller IDNum: <unknown>..CallerIDName: 1078..ConnectedLineNum: <unknown>..ConnectedLineName: <unknown>..Uniqueid: palermo-1402675228.66.... ----Packet received after a ParkedCallsAction-generated ParkedCallEvent---- N.B. T 10.40.0.106:5038 -> 10.51.0.21:53721 [AP] Event: ParkedCall..Parkinglot: default..Exten: 1..Channel: SIP/1078-0000002a..From: SIP/1078-0000002a..Timeout: 1192..Duration: 8..CallerIDNum: . .CallerIDName: 1078..ConnectedLineNum: ..ConnectedLineName: ..ActionID: 239184002_4#.... Thank you for your reply, Luca On 17/06/2014 11:35, Yves A. wrote: > Hi Luca, > > post your code please and tell us, which version of asterisk and > asterisk-java you´re using. > > yves > > > Am 17.06.2014 09:43, schrieb Luca Natale: >> Hi there! >> >> In my project i have necessity to call my asterisk server to have a >> list of the parked channels. >> >> I understood that a ParkedCallsAction generates n ParkedCallEvents >> where n is the number of parked channels, following a >> ParkedCallsComplete event. >> >> Everything works just as expected, except for the fact that i can't >> catch these ParkedCallEvent in my events listener. >> >> This is a log for a normal ParkedCallEvent (i can see this event in >> my listener): >> >> Dispatching event: >> org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon Jun >> 16 15:08:57 CEST >> 2014',privilege='call,all',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid='palermo-1402924150.275',exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1200',systemHashcode=662570926]DEBUG >> >> >> And this is a log for a ParkedCallsAction generated ParkedCallEvent >> (no trace of this event in my listener): >> >> Dispatching event: >> org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon Jun >> 16 15:09:00 CEST >> 2014',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid=null,exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1196',systemHashcode=421189702] >> >> Major difference being that in the second case there is no privilege >> value. >> >> Is there a way i can catch these events in my listener? Or, is there >> a fastest way to have a list of the currently parked channels by >> request using the AMI? >> >> Thank you all :) >> >> -- >> Luca >> >> >> >> >> ------------------------------------------------------------------------------ >> 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-devel mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- *Ing. Luca Natale* /Area Tecnica/ *Mail* l.n...@my... <mailto:l.n...@my...> *Tel* +39 320 46 09 517 *Skype* lucanatale83 WatsON S.r.l Via Alfredo Nobel 281 - 81031 Aversa CE *Tel.*+39 02 944 376 19 *Fax.*+39 02 944 37 031 *Web*www.mywatson.it <http://www.mywatson.it> <http://www.facebook.com/pages/WatsON-Tecnologie-Facili/108939055857460?fref=ts> <http://www.linkedin.com/company/watson-s.r.l?trk=hb_tab_compy_id_2112721> |
From: Yves A. <yv...@gm...> - 2014-06-17 09:35:37
|
Hi Luca, post your code please and tell us, which version of asterisk and asterisk-java you´re using. yves Am 17.06.2014 09:43, schrieb Luca Natale: > Hi there! > > In my project i have necessity to call my asterisk server to have a > list of the parked channels. > > I understood that a ParkedCallsAction generates n ParkedCallEvents > where n is the number of parked channels, following a > ParkedCallsComplete event. > > Everything works just as expected, except for the fact that i can't > catch these ParkedCallEvent in my events listener. > > This is a log for a normal ParkedCallEvent (i can see this event in my > listener): > > Dispatching event: > org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon Jun > 16 15:08:57 CEST > 2014',privilege='call,all',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid='palermo-1402924150.275',exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1200',systemHashcode=662570926]DEBUG > > > And this is a log for a ParkedCallsAction generated ParkedCallEvent > (no trace of this event in my listener): > > Dispatching event: > org.asteriskjava.manager.event.ParkedCallEvent[dateReceived='Mon Jun > 16 15:09:00 CEST > 2014',callerid=null,sequencenumber=null,from='SIP/1078-000000b3',calleridname='1078',timestamp=null,uniqueid=null,exten='1',parkinglot='default',server=null,calleridnum=null,channel='SIP/1078-000000b3',timeout='1196',systemHashcode=421189702] > > Major difference being that in the second case there is no privilege > value. > > Is there a way i can catch these events in my listener? Or, is there a > fastest way to have a list of the currently parked channels by request > using the AMI? > > Thank you all :) > > -- > Luca > > > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel |