asterisk-java-users Mailing List for Asterisk-Java Library (Page 5)
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: thufir <haw...@gm...> - 2015-03-27 15:04:11
|
something like: https://github.com/srt/asterisk-java/blob/master/examples/ExampleCallIn.java except that's with AGI? And outbound. -Thufir |
From: Zoumana T. <zou...@gm...> - 2015-03-27 14:54:28
|
Sure you can code this in a java program using the library it is done through the Manager API Have a look on this section from this page: https://maven.reucon.com/projects/public/asterisk-java/1.0.0.CI-SNAPSHOT/asterisk-java/tutorial.html : the sample is triggering a call to SIP/John which will fallback inside a extension 1300 inside your dial-plan. This will probably help out, else if you got some problems please post back so people can help you Regards, Zoumana *---* *Zoumana TRAORE* 2015-03-27 15:43 GMT+01:00 thufir <haw...@gm...>: > Way down the road, this looks interesting: > > http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out > > more immediately, I'm just trying to get Asterisk working and > functional. The AMI offers ways to create calls from the CLI through > telnet? That's my reading of the "definitive guide to asterisk," at > least. As soon as I read that I connected that with java asterisk. I > hadn't realized at all how the library works, I've just been buried > configuration of Asterisk itself. > > I can manually dial extensions, ext 201 dials ext 202, for example. I'd > like to script that with the AMI, or, even better, this library. > Admittedly, I haven't put any work into that at all, just thinking out > loud. > > > -Thufir > > > On 2015-03-26 01:28 AM, Zoumana TRAORE wrote: > > Hi, > > > > What are you planning to do ? > > If you goald is to handle inbound call in an IVR way this is a good way. > > > > > > What do you mean by automatique test of asterisk ? > > > > Regards, > > > > *--- > > * > > > > *Zoumana TRAORE* > > > > > > 2015-03-26 3:58 GMT+01:00 Thufir <haw...@gm... > > <mailto:haw...@gm...>>: > > > > ok, I'm getting more into asterisk and the AMI. > > > > > > looking at: > > > > > https://github.com/srt/asterisk-java/blob/master/examples/ExampleCallIn.java > > > > > > that's a good way automating test of asterisk? > > > > > > > > > > thanks, > > > > Thufir > > > > > ------------------------------------------------------------------------------ > > 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-users mailing list > > Ast...@li... > > <mailto:Ast...@li...> > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > > > > > > ------------------------------------------------------------------------------ > > 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-users mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: thufir <haw...@gm...> - 2015-03-27 14:44:11
|
Way down the road, this looks interesting: http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out more immediately, I'm just trying to get Asterisk working and functional. The AMI offers ways to create calls from the CLI through telnet? That's my reading of the "definitive guide to asterisk," at least. As soon as I read that I connected that with java asterisk. I hadn't realized at all how the library works, I've just been buried configuration of Asterisk itself. I can manually dial extensions, ext 201 dials ext 202, for example. I'd like to script that with the AMI, or, even better, this library. Admittedly, I haven't put any work into that at all, just thinking out loud. -Thufir On 2015-03-26 01:28 AM, Zoumana TRAORE wrote: > Hi, > > What are you planning to do ? > If you goald is to handle inbound call in an IVR way this is a good way. > > > What do you mean by automatique test of asterisk ? > > Regards, > > *--- > * > > *Zoumana TRAORE* > > > 2015-03-26 3:58 GMT+01:00 Thufir <haw...@gm... > <mailto:haw...@gm...>>: > > ok, I'm getting more into asterisk and the AMI. > > > looking at: > > https://github.com/srt/asterisk-java/blob/master/examples/ExampleCallIn.java > > > that's a good way automating test of asterisk? > > > > > thanks, > > Thufir > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Zoumana T. <zou...@gm...> - 2015-03-26 08:28:38
|
Hi, What are you planning to do ? If you goald is to handle inbound call in an IVR way this is a good way. What do you mean by automatique test of asterisk ? Regards, *---* *Zoumana TRAORE* 2015-03-26 3:58 GMT+01:00 Thufir <haw...@gm...>: > ok, I'm getting more into asterisk and the AMI. > > > looking at: > > > https://github.com/srt/asterisk-java/blob/master/examples/ExampleCallIn.java > > > that's a good way automating test of asterisk? > > > > > thanks, > > Thufir > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Thufir <haw...@gm...> - 2015-03-26 02:58:25
|
ok, I'm getting more into asterisk and the AMI. looking at: https://github.com/srt/asterisk-java/blob/master/examples/ExampleCallIn.java that's a good way automating test of asterisk? thanks, Thufir |
From: Zoumana T. <zou...@gm...> - 2015-03-05 23:34:46
|
Hi Paata, I will suggest you to go through Manager API for events listening as this one A quick look on the javadoc points me to this particular event class PeerStatusEvent As code sample you can almost copy/paste the one given at "Hello Events" section here https://maven.reucon.com/projects/public/asterisk-java/1.0.0.CI-SNAPSHOT/asterisk-java/tutorial.html Do this quick change inside (careful about the syntax because i've writen it on gmail) public void onManagerEvent(ManagerEvent event) { // just print received events System.out.println(event); if(event instanceof PeerStatusEvent){ PeerStatusEvent peerEvent = (PeerStatusEvent) event; //then extract anything useful you like from peerEvent instance } } You will also need to wait a little bit longer than 10seconds! for example Thread.sleep(60000); Regards, Zoumana *---* *Zoumana TRAORE* 2015-03-05 15:21 GMT+01:00 Paata Lominadze <paa...@gm...>: > hello team, > > I'm very newbie on this technologies. > I think this is great project. > > I want to handle sip client register/unregister event. > Is there any example ho to do this. ? > > I took HelloLiveEverything example and made some changes but nothing of > them help. > > mu example looks like : > > > import java.beans.PropertyChangeEvent; > import java.beans.PropertyChangeListener; > > import org.asteriskjava.live.AsteriskAgent; > import org.asteriskjava.live.AsteriskChannel; > import org.asteriskjava.live.AsteriskQueue; > import org.asteriskjava.live.AsteriskQueueEntry; > import org.asteriskjava.live.AsteriskQueueListener; > import org.asteriskjava.live.AsteriskQueueMember; > import org.asteriskjava.live.AsteriskServer; > import org.asteriskjava.live.AsteriskServerListener; > import org.asteriskjava.live.DefaultAsteriskServer; > import org.asteriskjava.live.ManagerCommunicationException; > import org.asteriskjava.live.MeetMeRoom; > import org.asteriskjava.live.MeetMeUser; > import org.asteriskjava.live.internal.AsteriskAgentImpl; > import org.asteriskjava.manager.ManagerConnection; > import org.asteriskjava.manager.ManagerConnectionFactory; > import org.asteriskjava.manager.ManagerEventListener; > import org.asteriskjava.manager.event.DialEvent; > import org.asteriskjava.manager.event.ManagerEvent; > > public class HelloLiveEverything implements AsteriskServerListener, > PropertyChangeListener, ManagerEventListener, AsteriskQueueListener { > private AsteriskServer asteriskServer; > private ManagerConnection managerConnection; > private ManagerConnectionFactory factory; > > public HelloLiveEverything() { > try { > asteriskServer = new DefaultAsteriskServer("192.168.1.28", > "manager", "pa55w0rd"); > this.factory = new ManagerConnectionFactory("192.168.1.28", > "manager", "pa55w0rd"); > this.managerConnection = factory.createManagerConnection(); > } catch (Exception e) { > e.printStackTrace(); > } > > } > > public void run() throws ManagerCommunicationException { > // listen for new events > asteriskServer.addAsteriskServerListener(this); > managerConnection.addEventListener(this); > > // add property change listeners to existing objects > for (AsteriskChannel asteriskChannel : > asteriskServer.getChannels()) { > // System.out.println(asteriskChannel); > asteriskChannel.addPropertyChangeListener(this); > } > > for (AsteriskQueue asteriskQueue : asteriskServer.getQueues()) { > System.out.println("asteriskQueue = " + > asteriskQueue.getName()); > for (AsteriskQueueEntry entry : asteriskQueue.getEntries()) { > System.out.println("entry = " + entry); > entry.addPropertyChangeListener(this); > } > for (AsteriskQueueMember member : asteriskQueue.getMembers()) { > //System.out.println("member = " + member); > member.addPropertyChangeListener(this); > } > } > > for (MeetMeRoom meetMeRoom : asteriskServer.getMeetMeRooms()) { > // System.out.println(meetMeRoom); > for (MeetMeUser user : meetMeRoom.getUsers()) { > user.addPropertyChangeListener(this); > } > } > for (AsteriskAgent asteriskAgent : asteriskServer.getAgents()) { > asteriskAgent.addPropertyChangeListener(this); > } > } > > @Override > public void onNewAsteriskChannel(AsteriskChannel channel) { > System.out.println(channel); > channel.addPropertyChangeListener(this); > } > > @Override > public void onNewMeetMeUser(MeetMeUser user) { > System.out.println(user); > user.addPropertyChangeListener(this); > } > > @Override > public void propertyChange(PropertyChangeEvent propertyChangeEvent) { > System.out.println(propertyChangeEvent); > } > > @Override > public void onNewAgent(AsteriskAgentImpl agent) { > System.out.println(agent); > agent.addPropertyChangeListener(this); > } > > @Override > public void onNewQueueEntry(AsteriskQueueEntry entry) { > System.out.println(entry); > entry.addPropertyChangeListener(this); > } > > @Override > public void onManagerEvent(ManagerEvent event) { > String event_name = event.getClass().getSimpleName(); > System.out.println("11111111111111111111111111 . event_name = " + > event_name); > if (event_name.equals("DialEvent")) { > DialEvent e = (DialEvent) event; > System.out.println(e.getCallerIdNum());// caller number > System.out.println(e.getDestination());// Called number > // do something here > } > } > > > @Override > public void onEntryLeave(AsteriskQueueEntry arg0) { > System.out.println("1. onEntryLeave"); > } > > @Override > public void onEntryServiceLevelExceeded(AsteriskQueueEntry arg0) { > System.out.println("2. onEntryServiceLevelExceeded"); > } > > @Override > public void onMemberAdded(AsteriskQueueMember arg0) { > System.out.println("3. onMemberAdded"); > } > > @Override > public void onMemberRemoved(AsteriskQueueMember arg0) { > System.out.println("4. onMemberRemoved"); > } > > @Override > public void onMemberStateChange(AsteriskQueueMember arg0) { > System.out.println("5. onMemberStateChange"); > } > > @Override > public void onNewEntry(AsteriskQueueEntry arg0) { > System.out.println("6. onNewEntry"); > } > > > public static void main(String[] args) throws Exception { > try { > HelloLiveEverything helloLiveEverything = new > HelloLiveEverything(); > helloLiveEverything.run(); > while (true) { > Thread.sleep(100); > } > } catch (Exception e) { > e.printStackTrace(); > } > } > } > > > but when sip clients register or unregister i didn't get any event. > > > Thanks in advance. > Best regards, > Paata Lominadze. > > > > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Paata L. <paa...@gm...> - 2015-03-05 14:21:41
|
hello team, I'm very newbie on this technologies. I think this is great project. I want to handle sip client register/unregister event. Is there any example ho to do this. ? I took HelloLiveEverything example and made some changes but nothing of them help. mu example looks like : import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import org.asteriskjava.live.AsteriskAgent; import org.asteriskjava.live.AsteriskChannel; import org.asteriskjava.live.AsteriskQueue; import org.asteriskjava.live.AsteriskQueueEntry; import org.asteriskjava.live.AsteriskQueueListener; import org.asteriskjava.live.AsteriskQueueMember; import org.asteriskjava.live.AsteriskServer; import org.asteriskjava.live.AsteriskServerListener; import org.asteriskjava.live.DefaultAsteriskServer; import org.asteriskjava.live.ManagerCommunicationException; import org.asteriskjava.live.MeetMeRoom; import org.asteriskjava.live.MeetMeUser; import org.asteriskjava.live.internal.AsteriskAgentImpl; import org.asteriskjava.manager.ManagerConnection; import org.asteriskjava.manager.ManagerConnectionFactory; import org.asteriskjava.manager.ManagerEventListener; import org.asteriskjava.manager.event.DialEvent; import org.asteriskjava.manager.event.ManagerEvent; public class HelloLiveEverything implements AsteriskServerListener, PropertyChangeListener, ManagerEventListener, AsteriskQueueListener { private AsteriskServer asteriskServer; private ManagerConnection managerConnection; private ManagerConnectionFactory factory; public HelloLiveEverything() { try { asteriskServer = new DefaultAsteriskServer("192.168.1.28", "manager", "pa55w0rd"); this.factory = new ManagerConnectionFactory("192.168.1.28", "manager", "pa55w0rd"); this.managerConnection = factory.createManagerConnection(); } catch (Exception e) { e.printStackTrace(); } } public void run() throws ManagerCommunicationException { // listen for new events asteriskServer.addAsteriskServerListener(this); managerConnection.addEventListener(this); // add property change listeners to existing objects for (AsteriskChannel asteriskChannel : asteriskServer.getChannels()) { // System.out.println(asteriskChannel); asteriskChannel.addPropertyChangeListener(this); } for (AsteriskQueue asteriskQueue : asteriskServer.getQueues()) { System.out.println("asteriskQueue = " + asteriskQueue.getName()); for (AsteriskQueueEntry entry : asteriskQueue.getEntries()) { System.out.println("entry = " + entry); entry.addPropertyChangeListener(this); } for (AsteriskQueueMember member : asteriskQueue.getMembers()) { //System.out.println("member = " + member); member.addPropertyChangeListener(this); } } for (MeetMeRoom meetMeRoom : asteriskServer.getMeetMeRooms()) { // System.out.println(meetMeRoom); for (MeetMeUser user : meetMeRoom.getUsers()) { user.addPropertyChangeListener(this); } } for (AsteriskAgent asteriskAgent : asteriskServer.getAgents()) { asteriskAgent.addPropertyChangeListener(this); } } @Override public void onNewAsteriskChannel(AsteriskChannel channel) { System.out.println(channel); channel.addPropertyChangeListener(this); } @Override public void onNewMeetMeUser(MeetMeUser user) { System.out.println(user); user.addPropertyChangeListener(this); } @Override public void propertyChange(PropertyChangeEvent propertyChangeEvent) { System.out.println(propertyChangeEvent); } @Override public void onNewAgent(AsteriskAgentImpl agent) { System.out.println(agent); agent.addPropertyChangeListener(this); } @Override public void onNewQueueEntry(AsteriskQueueEntry entry) { System.out.println(entry); entry.addPropertyChangeListener(this); } @Override public void onManagerEvent(ManagerEvent event) { String event_name = event.getClass().getSimpleName(); System.out.println("11111111111111111111111111 . event_name = " + event_name); if (event_name.equals("DialEvent")) { DialEvent e = (DialEvent) event; System.out.println(e.getCallerIdNum());// caller number System.out.println(e.getDestination());// Called number // do something here } } @Override public void onEntryLeave(AsteriskQueueEntry arg0) { System.out.println("1. onEntryLeave"); } @Override public void onEntryServiceLevelExceeded(AsteriskQueueEntry arg0) { System.out.println("2. onEntryServiceLevelExceeded"); } @Override public void onMemberAdded(AsteriskQueueMember arg0) { System.out.println("3. onMemberAdded"); } @Override public void onMemberRemoved(AsteriskQueueMember arg0) { System.out.println("4. onMemberRemoved"); } @Override public void onMemberStateChange(AsteriskQueueMember arg0) { System.out.println("5. onMemberStateChange"); } @Override public void onNewEntry(AsteriskQueueEntry arg0) { System.out.println("6. onNewEntry"); } public static void main(String[] args) throws Exception { try { HelloLiveEverything helloLiveEverything = new HelloLiveEverything(); helloLiveEverything.run(); while (true) { Thread.sleep(100); } } catch (Exception e) { e.printStackTrace(); } } } but when sip clients register or unregister i didn't get any event. Thanks in advance. Best regards, Paata Lominadze. |
From: Jorge <gus...@gm...> - 2015-02-27 06:11:10
|
Hi, I realized it was a death lock problem in the DtmfEvent listener that generates a time out and left the connection death. Thank you for your help and take care with synchronized. 2015-02-26 14:16 GMT+01:00 Jorge <gus...@gm...>: > Hi: > Thank you very much for your tip. > I will control the channel in order to avoid this situation, but what it > is really strange for me is the connection lost. The connection lost is > what I am trying to avoid. I think the error is normal because I am playing > DTMF tones to a channel I am trying to transfer. > > Talking about the AMI connection, are you using some kind of pool or just > one connection? > > Kind regards. > > 2015-02-25 21:37 GMT+01:00 Miguel Santiago <m.s...@gm...>: > >> Sometimes a found problems dealing with AsteriskChannel instances >> receiving the same exception you are referring here, even when the channel >> really exists. >> But I never losen my connection. >> I usually found these problems managing events. >> Most of times, I solved it introducing a Thread.sleep (100) command, in >> order to give time to object to instantiate. >> Hope it helps. >> El 25/02/2015 21:23, "Jorge" <gus...@gm...> escribió: >> >>> Hi: >>> I have seen an error that is quite strange. I am connecting to Asterisk >>> using asterisk-java-1.0.0.M3.jar on this way : >>> >>> ManagerConnectionFactory factory = new ManagerConnectionFactory(url, >>> user, pwd); >>> managerConnection = factory.createManagerConnection(); >>> >>> asteriskServer = new AsteriskServerImpl(managerConnection); >>> try { >>> managerConnection.login(); >>> >>> After that it connects well. I see the connection in the Asterisk CLI >>> and I am able to send commands. I have seen that when I try to transfer a >>> call and, at the same time, send DTMF tones it crash. I think this >>> behaviour is normal because I am tryinig to send DTMF tones to a Zombie >>> channel. The problem here is that the connection between Java and Asterisk >>> is lost. I am using PingThread and it says that it is not possible to reach >>> the AMI but when I see the Asterisk cli using "*manager show connected"* >>> I see the connection between Asterisk and Java, but the connection is >>> not there because of the PingThread error. >>> >>> This is the error I got. Could you let me know if there is a way to >>> maintain the connection with the AMI? Is it normal losing the connection?. >>> Theoretically the AMI connection is maintained throw a process that tries >>> to reconnect. What is going on here? >>> >>> org.asteriskjava.live.NoSuchChannelException: Channel >>> 'AsyncGoto/DAHDI/i1/123456789-7d<ZOMBIE>' is not available: Channel not >>> found >>> at >>> org.asteriskjava.live.internal.AsteriskChannelImpl.playDtmf(AsteriskChannelImpl.java:727) >>> [...] >>> org.asteriskjava.live.ManagerCommunicationException: Unable to send >>> PlayDTMFAction >>> at >>> org.asteriskjava.live.internal.ManagerCommunicationExceptionMapper.mapSendActionException(ManagerCommunicationExceptionMapper.java:60) >>> at >>> org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:846) >>> at >>> org.asteriskjava.live.internal.AsteriskChannelImpl.playDtmf(AsteriskChannelImpl.java:724) >>> [..] >>> Caused by: org.asteriskjava.manager.TimeoutException: Timeout waiting >>> for response to PlayDTMF >>> at >>> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:825) >>> at >>> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:781) >>> at >>> org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerConnection.java:311) >>> at >>> org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:842) >>> ... 12 more >>> >>> Thank you very much for your help. Kind regards. >>> >>> >>> ------------------------------------------------------------------------------ >>> 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-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >> >> ------------------------------------------------------------------------------ >> 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-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > |
From: Jorge <gus...@gm...> - 2015-02-26 13:17:25
|
Hi: Thank you very much for your tip. I will control the channel in order to avoid this situation, but what it is really strange for me is the connection lost. The connection lost is what I am trying to avoid. I think the error is normal because I am playing DTMF tones to a channel I am trying to transfer. Talking about the AMI connection, are you using some kind of pool or just one connection? Kind regards. 2015-02-25 21:37 GMT+01:00 Miguel Santiago <m.s...@gm...>: > Sometimes a found problems dealing with AsteriskChannel instances > receiving the same exception you are referring here, even when the channel > really exists. > But I never losen my connection. > I usually found these problems managing events. > Most of times, I solved it introducing a Thread.sleep (100) command, in > order to give time to object to instantiate. > Hope it helps. > El 25/02/2015 21:23, "Jorge" <gus...@gm...> escribió: > >> Hi: >> I have seen an error that is quite strange. I am connecting to Asterisk >> using asterisk-java-1.0.0.M3.jar on this way : >> >> ManagerConnectionFactory factory = new ManagerConnectionFactory(url, >> user, pwd); >> managerConnection = factory.createManagerConnection(); >> >> asteriskServer = new AsteriskServerImpl(managerConnection); >> try { >> managerConnection.login(); >> >> After that it connects well. I see the connection in the Asterisk CLI and >> I am able to send commands. I have seen that when I try to transfer a call >> and, at the same time, send DTMF tones it crash. I think this behaviour is >> normal because I am tryinig to send DTMF tones to a Zombie channel. The >> problem here is that the connection between Java and Asterisk is lost. I am >> using PingThread and it says that it is not possible to reach the AMI but >> when I see the Asterisk cli using "*manager show connected"* I see the >> connection between Asterisk and Java, but the connection is not there >> because of the PingThread error. >> >> This is the error I got. Could you let me know if there is a way to >> maintain the connection with the AMI? Is it normal losing the connection?. >> Theoretically the AMI connection is maintained throw a process that tries >> to reconnect. What is going on here? >> >> org.asteriskjava.live.NoSuchChannelException: Channel >> 'AsyncGoto/DAHDI/i1/123456789-7d<ZOMBIE>' is not available: Channel not >> found >> at >> org.asteriskjava.live.internal.AsteriskChannelImpl.playDtmf(AsteriskChannelImpl.java:727) >> [...] >> org.asteriskjava.live.ManagerCommunicationException: Unable to send >> PlayDTMFAction >> at >> org.asteriskjava.live.internal.ManagerCommunicationExceptionMapper.mapSendActionException(ManagerCommunicationExceptionMapper.java:60) >> at >> org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:846) >> at >> org.asteriskjava.live.internal.AsteriskChannelImpl.playDtmf(AsteriskChannelImpl.java:724) >> [..] >> Caused by: org.asteriskjava.manager.TimeoutException: Timeout waiting for >> response to PlayDTMF >> at >> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:825) >> at >> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:781) >> at >> org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerConnection.java:311) >> at >> org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:842) >> ... 12 more >> >> Thank you very much for your help. Kind regards. >> >> >> ------------------------------------------------------------------------------ >> 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-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Miguel S. <m.s...@gm...> - 2015-02-25 20:37:59
|
Sometimes a found problems dealing with AsteriskChannel instances receiving the same exception you are referring here, even when the channel really exists. But I never losen my connection. I usually found these problems managing events. Most of times, I solved it introducing a Thread.sleep (100) command, in order to give time to object to instantiate. Hope it helps. El 25/02/2015 21:23, "Jorge" <gus...@gm...> escribió: > Hi: > I have seen an error that is quite strange. I am connecting to Asterisk > using asterisk-java-1.0.0.M3.jar on this way : > > ManagerConnectionFactory factory = new ManagerConnectionFactory(url, user, > pwd); > managerConnection = factory.createManagerConnection(); > > asteriskServer = new AsteriskServerImpl(managerConnection); > try { > managerConnection.login(); > > After that it connects well. I see the connection in the Asterisk CLI and > I am able to send commands. I have seen that when I try to transfer a call > and, at the same time, send DTMF tones it crash. I think this behaviour is > normal because I am tryinig to send DTMF tones to a Zombie channel. The > problem here is that the connection between Java and Asterisk is lost. I am > using PingThread and it says that it is not possible to reach the AMI but > when I see the Asterisk cli using "*manager show connected"* I see the > connection between Asterisk and Java, but the connection is not there > because of the PingThread error. > > This is the error I got. Could you let me know if there is a way to > maintain the connection with the AMI? Is it normal losing the connection?. > Theoretically the AMI connection is maintained throw a process that tries > to reconnect. What is going on here? > > org.asteriskjava.live.NoSuchChannelException: Channel > 'AsyncGoto/DAHDI/i1/123456789-7d<ZOMBIE>' is not available: Channel not > found > at > org.asteriskjava.live.internal.AsteriskChannelImpl.playDtmf(AsteriskChannelImpl.java:727) > [...] > org.asteriskjava.live.ManagerCommunicationException: Unable to send > PlayDTMFAction > at > org.asteriskjava.live.internal.ManagerCommunicationExceptionMapper.mapSendActionException(ManagerCommunicationExceptionMapper.java:60) > at > org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:846) > at > org.asteriskjava.live.internal.AsteriskChannelImpl.playDtmf(AsteriskChannelImpl.java:724) > [..] > Caused by: org.asteriskjava.manager.TimeoutException: Timeout waiting for > response to PlayDTMF > at > org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:825) > at > org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:781) > at > org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerConnection.java:311) > at > org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:842) > ... 12 more > > Thank you very much for your help. Kind regards. > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Jorge <gus...@gm...> - 2015-02-25 20:11:47
|
Hi: I have seen an error that is quite strange. I am connecting to Asterisk using asterisk-java-1.0.0.M3.jar on this way : ManagerConnectionFactory factory = new ManagerConnectionFactory(url, user, pwd); managerConnection = factory.createManagerConnection(); asteriskServer = new AsteriskServerImpl(managerConnection); try { managerConnection.login(); After that it connects well. I see the connection in the Asterisk CLI and I am able to send commands. I have seen that when I try to transfer a call and, at the same time, send DTMF tones it crash. I think this behaviour is normal because I am tryinig to send DTMF tones to a Zombie channel. The problem here is that the connection between Java and Asterisk is lost. I am using PingThread and it says that it is not possible to reach the AMI but when I see the Asterisk cli using "*manager show connected"* I see the connection between Asterisk and Java, but the connection is not there because of the PingThread error. This is the error I got. Could you let me know if there is a way to maintain the connection with the AMI? Is it normal losing the connection?. Theoretically the AMI connection is maintained throw a process that tries to reconnect. What is going on here? org.asteriskjava.live.NoSuchChannelException: Channel 'AsyncGoto/DAHDI/i1/123456789-7d<ZOMBIE>' is not available: Channel not found at org.asteriskjava.live.internal.AsteriskChannelImpl.playDtmf(AsteriskChannelImpl.java:727) [...] org.asteriskjava.live.ManagerCommunicationException: Unable to send PlayDTMFAction at org.asteriskjava.live.internal.ManagerCommunicationExceptionMapper.mapSendActionException(ManagerCommunicationExceptionMapper.java:60) at org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:846) at org.asteriskjava.live.internal.AsteriskChannelImpl.playDtmf(AsteriskChannelImpl.java:724) [..] Caused by: org.asteriskjava.manager.TimeoutException: Timeout waiting for response to PlayDTMF at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:825) at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendAction(ManagerConnectionImpl.java:781) at org.asteriskjava.manager.DefaultManagerConnection.sendAction(DefaultManagerConnection.java:311) at org.asteriskjava.live.internal.AsteriskServerImpl.sendAction(AsteriskServerImpl.java:842) ... 12 more Thank you very much for your help. Kind regards. |
From: Zoumana T. <zou...@gm...> - 2015-02-23 09:18:38
|
Hello, Asterisk-Java (AJ) is a Java (no surprise there) library to interact with Asterisk (free IPBX) main APIs AMI (Manager Interface) and AGI (Gateway Interface). In my opinion, the best open source so far! As all API, the goal is to provide others applications (such as web app, desktop app) telephony features capabilities (callback, IVR...) Asterisk is a SIP registrar and media gateway (i will stop there) SIP is one of the protocol implemented in Asterisk (there is also IAX2 which is a Digium own protocol). When using Asterisk-Java, you are not actually coding SIP, AJ is very tight to Asterisk. SIP dev is a low level dev with which you can build: a registrar (one feature of Asterisk) or a Client user agent (SIP Phone, Softphone) SIP Servlet is a SIP stack link to Java Servlet API so web oriented on server side. PS: this mailing list is not for Asterisk or SIP but Asterisk-Java, please redirect accordingly your upcoming questions. Regards, Zoumana *---* *Zoumana TRAORE* 2015-02-23 9:50 GMT+01:00 thufir <haw...@gm...>: > I'm currently setting up an Asterisk system, but it seems quite complex > -- the guide alone is 700+ pages. On the other hand, I see: > > > http://www.javaworld.com/article/2071781/java-web-development/sip-programming-for-the-java-developer.html > > Gee, that seems simple. Help me to understand what asterisk-java does; > I mean I understand that it provides a Java hook or API for Asterisk -- > which is a good thing. > > I haven't really delved into the sample project which I was directed to > last time, but I have it bookmarked for later. I'm just curious about > this projects goals. Is SIP deceptively simple? By which I mean that > SIP servlets don't scale...except, if that's a problem, there are JVM > solutions for that.. > > > thanks, > > Thufir > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: thufir <haw...@gm...> - 2015-02-23 08:50:41
|
I'm currently setting up an Asterisk system, but it seems quite complex -- the guide alone is 700+ pages. On the other hand, I see: http://www.javaworld.com/article/2071781/java-web-development/sip-programming-for-the-java-developer.html Gee, that seems simple. Help me to understand what asterisk-java does; I mean I understand that it provides a Java hook or API for Asterisk -- which is a good thing. I haven't really delved into the sample project which I was directed to last time, but I have it bookmarked for later. I'm just curious about this projects goals. Is SIP deceptively simple? By which I mean that SIP servlets don't scale...except, if that's a problem, there are JVM solutions for that.. thanks, Thufir |
From: thufir <haw...@gm...> - 2015-02-19 01:49:28
|
Ok, that looks very interesting. I suppose I was trolling the list a bit, to gauge how active the list is, and whether it's actually used. Right now I'm installing vicidial, which is http://vicibox.com/ and is PHP front-end for Asterisk (plus more). However, being more Java oriented, I really like this phone on git. I don't know that I can do much with it now, I'd sure like to :) -Thufiir On 2015-02-18 05:15 AM, Wayne Merricks wrote: > I use it for a call control system in a radio station. E.g. call > comes in prepopulated with info via the caller id. Answerer adds > conversation info to the call (e.g. wants to talk about fish), then > clicks to put it into the on air queue. > > Studio sees this and picks whichever call they want. > > About 95% of the code for this is GUI manipulation, all the Asterisk > stuff is actually very simple and was barely more than a single helper > class. > > I have some "almost beta" code here: > > https://github.com/waynemerricks/asteriskphone > Wayne Merricks > The Voice Asia > On 18/02/15 07:20, Chris Mylonas wrote: >> >> high level explanation, >> controlling and integrating software/phone-calls etc >> >> On 18 Feb 2015 6:09 pm, "thufir" <haw...@gm... >> <mailto:haw...@gm...>> wrote: >> >> Hi, >> >> this project is on github? >> >> >> It's actively developed, looks like; four months ago last commit. >> >> >> What are people using it for? >> >> >> >> >> thanks, >> >> Thufir >> >> ------------------------------------------------------------------------------ >> 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-users mailing list >> Ast...@li... >> <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> ------------------------------------------------------------------------------ >> 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-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Wayne M. <way...@th...> - 2015-02-18 13:15:52
|
I use it for a call control system in a radio station. E.g. call comes in prepopulated with info via the caller id. Answerer adds conversation info to the call (e.g. wants to talk about fish), then clicks to put it into the on air queue. Studio sees this and picks whichever call they want. About 95% of the code for this is GUI manipulation, all the Asterisk stuff is actually very simple and was barely more than a single helper class. I have some "almost beta" code here: https://github.com/waynemerricks/asteriskphone Wayne Merricks The Voice Asia On 18/02/15 07:20, Chris Mylonas wrote: > > high level explanation, > controlling and integrating software/phone-calls etc > > On 18 Feb 2015 6:09 pm, "thufir" <haw...@gm... > <mailto:haw...@gm...>> wrote: > > Hi, > > this project is on github? > > > It's actively developed, looks like; four months ago last commit. > > > What are people using it for? > > > > > thanks, > > Thufir > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Chris M. <ch...@mr...> - 2015-02-18 07:21:05
|
high level explanation, controlling and integrating software/phone-calls etc On 18 Feb 2015 6:09 pm, "thufir" <haw...@gm...> wrote: > Hi, > > this project is on github? > > > It's actively developed, looks like; four months ago last commit. > > > What are people using it for? > > > > > thanks, > > Thufir > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: thufir <haw...@gm...> - 2015-02-18 07:07:45
|
Hi, this project is on github? It's actively developed, looks like; four months ago last commit. What are people using it for? thanks, Thufir |
From: <nik...@gm...> - 2015-02-17 10:54:33
|
Исходное сообщение От: ast...@li... Отправлено: вторник, 17 февраля 2015 г., 13:19 Кому: ast...@li... Ответить: ast...@li... Тема: Asterisk-java-users Digest, Vol 100, Issue 1 Send Asterisk-java-users mailing list submissions to ast...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/asterisk-java-users or, via email, send a message with subject or body 'help' to ast...@li... You can reach the person managing the list at ast...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Asterisk-java-users digest..." Today's Topics: 1. Help on how to play a audio file in Asterisk(static, located on server side).. (Blagoja Chavkoski) 2. Re: Help on how to play a audio file in Asterisk(static, located on server side).. (?????? ??????) 3. Re: Help on how to play a audio file in Asterisk(static, located on server side).. (Zoumana TRAORE) 4. Next release? (connuser1 connuser1) 5. Re: Next release? (Zoumana TRAORE) ---------------------------------------------------------------------- Message: 1 Date: Tue, 27 Jan 2015 19:18:13 +0100 From: Blagoja Chavkoski <ba...@gm...> Subject: [Asterisk-java-users] Help on how to play a audio file in Asterisk(static, located on server side).. To: ast...@li... Message-ID: <CAGX57m61HD_AX76ji0LP=NnoQUNKKbO2FrwS3=iuu...@ma...> Content-Type: text/plain; charset="utf-8" Hi all, I want to place a call where I just play one playback file and hangup. Meaning to use the java api from where I make a action to tell Asterisk to place call, and to playback some file which already exists on Asterisk server. Is this possible to be done? Do I have to use the agi protocol for this or can be done with the manager api? Tnx for any help! Regards Blaze -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Tue, 27 Jan 2015 22:41:47 +0400 From: ?????? ?????? <bui...@gm...> Subject: Re: [Asterisk-java-users] Help on how to play a audio file in Asterisk(static, located on server side).. To: ast...@li... Message-ID: <CAH...@ma...> Content-Type: text/plain; charset="utf-8" Hi, Blagoja! I'm not sure, but i would like to try to listen to the NewExtenEvent using ManagerEventListener. 2015-01-27 21:18 GMT+03:00 Blagoja Chavkoski <ba...@gm...>: > Hi all, > > I want to place a call where I just play one playback file and hangup. > Meaning to use the java api from where I make a action to tell Asterisk to > place call, and to playback some file which already exists on Asterisk > server. > > Is this possible to be done? Do I have to use the agi protocol for this or > can be done with the manager api? > > Tnx for any help! > > Regards > Blaze > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Tue, 27 Jan 2015 22:26:17 +0100 From: Zoumana TRAORE <zou...@gm...> Subject: Re: [Asterisk-java-users] Help on how to play a audio file in Asterisk(static, located on server side).. To: "ast...@li..." <ast...@li...> Message-ID: <CAD...@ma...> Content-Type: text/plain; charset="utf-8" Hello, You can achieve this through AMI OriginateAction which will trigger an outgoing call that fall back inside your extension in your code: OriginateAction originateAction = new OriginateAction(); originateAction.setChannel("SIP/trunk/01.....");originateAction.setContext("outgoing");originateAction.setExten(11111);originateAction.setVariable("AUDIO_TO_PLAY_VARIABLE", welcome-audio); in your diaplan: [outgoing]exten => 11111,1,Answer exten => 11111,2,Playback(${AUDIO_TO_PLAY_VARIABLE}) Regards, Zoumana *---* *Zoumana TRAORE* 2015-01-27 19:18 GMT+01:00 Blagoja Chavkoski <ba...@gm...>: > Hi all, > > I want to place a call where I just play one playback file and hangup. > Meaning to use the java api from where I make a action to tell Asterisk to > place call, and to playback some file which already exists on Asterisk > server. > > Is this possible to be done? Do I have to use the agi protocol for this or > can be done with the manager api? > > Tnx for any help! > > Regards > Blaze > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Tue, 17 Feb 2015 15:41:38 +0530 From: connuser1 connuser1 <con...@gm...> Subject: [Asterisk-java-users] Next release? To: ast...@li... Message-ID: <CAD...@ma...> Content-Type: text/plain; charset="utf-8" Hi When is the next release of Astrisk java planned? As I understand, 1.0.0.M3 was the last stable release way back in 2009. I think quite a few changes have got in after that. Are there any plans to release them. My project extensively uses Asterisk java and I would be more comfortable when building on top of a released version. Thanks -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 5 Date: Tue, 17 Feb 2015 11:19:03 +0100 From: Zoumana TRAORE <zou...@gm...> Subject: Re: [Asterisk-java-users] Next release? To: "ast...@li..." <ast...@li...> Message-ID: <CADJn3eTQsiatGZAohL17P=bFs...@ma...> Content-Type: text/plain; charset="utf-8" Hi, I hope someone will correct me, but the project seems not to be heavily maintained for the last passed years, Stephan, the original developer as made quite an impressive job to get his baby at this stage but he is probably not working a lot on it early. If bunch of guys are open to do this, i will surely be part of the adventure. In few words, no release plan as far i know. Regards, *---* *Zoumana TRAORE* 2015-02-17 11:11 GMT+01:00 connuser1 connuser1 <con...@gm...>: > Hi > > When is the next release of Astrisk java planned? As I understand, > 1.0.0.M3 was the last stable release way back in 2009. I think quite a few > changes have got in after that. Are there any plans to release them. My > project extensively uses Asterisk java and I would be more comfortable when > building on top of a released version. > > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ 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-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users End of Asterisk-java-users Digest, Vol 100, Issue 1 *************************************************** |
From: Chris M. <ch...@mr...> - 2015-02-17 10:50:43
|
look at the github repo. there are several forks and recent minor updates from this year I'm only a casual observer and user of the software On 17 Feb 2015 9:22 pm, "Zoumana TRAORE" <zou...@gm...> wrote: > Hi, > > I hope someone will correct me, but the project seems not to be heavily > maintained for the last passed years, > Stephan, the original developer as made quite an impressive job to get his > baby at this stage but he is probably not working a lot on it early. > If bunch of guys are open to do this, i will surely be part of the > adventure. > > In few words, no release plan as far i know. > > Regards, > > > > *---* > > *Zoumana TRAORE* > > 2015-02-17 11:11 GMT+01:00 connuser1 connuser1 <con...@gm...>: > >> Hi >> >> When is the next release of Astrisk java planned? As I understand, >> 1.0.0.M3 was the last stable release way back in 2009. I think quite a few >> changes have got in after that. Are there any plans to release them. My >> project extensively uses Asterisk java and I would be more comfortable when >> building on top of a released version. >> >> 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-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: connuser1 c. <con...@gm...> - 2015-02-17 10:42:34
|
Thanks *Zoumana *Count me in. Project developers, could you please provide some guidance on what would it need to get the next release out?. On Tue, Feb 17, 2015 at 3:49 PM, Zoumana TRAORE <zou...@gm...> wrote: > Hi, > > I hope someone will correct me, but the project seems not to be heavily > maintained for the last passed years, > Stephan, the original developer as made quite an impressive job to get his > baby at this stage but he is probably not working a lot on it early. > If bunch of guys are open to do this, i will surely be part of the > adventure. > > In few words, no release plan as far i know. > > Regards, > > > > *---* > > *Zoumana TRAORE* > > 2015-02-17 11:11 GMT+01:00 connuser1 connuser1 <con...@gm...>: > >> Hi >> >> When is the next release of Astrisk java planned? As I understand, >> 1.0.0.M3 was the last stable release way back in 2009. I think quite a few >> changes have got in after that. Are there any plans to release them. My >> project extensively uses Asterisk java and I would be more comfortable when >> building on top of a released version. >> >> 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-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Zoumana T. <zou...@gm...> - 2015-02-17 10:19:30
|
Hi, I hope someone will correct me, but the project seems not to be heavily maintained for the last passed years, Stephan, the original developer as made quite an impressive job to get his baby at this stage but he is probably not working a lot on it early. If bunch of guys are open to do this, i will surely be part of the adventure. In few words, no release plan as far i know. Regards, *---* *Zoumana TRAORE* 2015-02-17 11:11 GMT+01:00 connuser1 connuser1 <con...@gm...>: > Hi > > When is the next release of Astrisk java planned? As I understand, > 1.0.0.M3 was the last stable release way back in 2009. I think quite a few > changes have got in after that. Are there any plans to release them. My > project extensively uses Asterisk java and I would be more comfortable when > building on top of a released version. > > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: connuser1 c. <con...@gm...> - 2015-02-17 10:11:44
|
Hi When is the next release of Astrisk java planned? As I understand, 1.0.0.M3 was the last stable release way back in 2009. I think quite a few changes have got in after that. Are there any plans to release them. My project extensively uses Asterisk java and I would be more comfortable when building on top of a released version. Thanks |
From: Zoumana T. <zou...@gm...> - 2015-01-27 21:26:44
|
Hello, You can achieve this through AMI OriginateAction which will trigger an outgoing call that fall back inside your extension in your code: OriginateAction originateAction = new OriginateAction(); originateAction.setChannel("SIP/trunk/01.....");originateAction.setContext("outgoing");originateAction.setExten(11111);originateAction.setVariable("AUDIO_TO_PLAY_VARIABLE", welcome-audio); in your diaplan: [outgoing]exten => 11111,1,Answer exten => 11111,2,Playback(${AUDIO_TO_PLAY_VARIABLE}) Regards, Zoumana *---* *Zoumana TRAORE* 2015-01-27 19:18 GMT+01:00 Blagoja Chavkoski <ba...@gm...>: > Hi all, > > I want to place a call where I just play one playback file and hangup. > Meaning to use the java api from where I make a action to tell Asterisk to > place call, and to playback some file which already exists on Asterisk > server. > > Is this possible to be done? Do I have to use the agi protocol for this or > can be done with the manager api? > > Tnx for any help! > > Regards > Blaze > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Максим Б. <bui...@gm...> - 2015-01-27 18:41:52
|
Hi, Blagoja! I'm not sure, but i would like to try to listen to the NewExtenEvent using ManagerEventListener. 2015-01-27 21:18 GMT+03:00 Blagoja Chavkoski <ba...@gm...>: > Hi all, > > I want to place a call where I just play one playback file and hangup. > Meaning to use the java api from where I make a action to tell Asterisk to > place call, and to playback some file which already exists on Asterisk > server. > > Is this possible to be done? Do I have to use the agi protocol for this or > can be done with the manager api? > > Tnx for any help! > > Regards > Blaze > > > ------------------------------------------------------------------------------ > 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-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Blagoja C. <ba...@gm...> - 2015-01-27 18:18:19
|
Hi all, I want to place a call where I just play one playback file and hangup. Meaning to use the java api from where I make a action to tell Asterisk to place call, and to playback some file which already exists on Asterisk server. Is this possible to be done? Do I have to use the agi protocol for this or can be done with the manager api? Tnx for any help! Regards Blaze |