asterisk-java-users Mailing List for Asterisk-Java Library (Page 113)
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: E. M. <mar...@gm...> - 2008-05-16 16:51:45
|
Thank you Martin, that was I was looking for. And yes, it applies to reconnects. :) As far as I know, there is nothing like show channels for manager. I don't know if something similar is implemented in asterisk-java live stuff but I'm not using this since I wrote my program before it was implemented. On Fri, May 16, 2008 at 3:12 PM, Martin Smith <ma...@be...> wrote: > Edward, > > I haven't checked to see if this applies for reconnects, but does listening > for a "ConnectEvent" work? > > > http://asterisk-java.org/development/apidocs/org/asteriskjava/manager/event/ConnectEvent.html > > 'core show channels concise' crashing sounds like a bad thing, though, > yikes! Have you tried something like sending a StatusAction? > > I'd steer away from parsing console commands as the developers have > considered about making anything from the console less and less parsable and > intended for human eyes only. They would add more to the manager interface > to make up for it, but I think they were just trying to find a way to split > responsibilities cleanly without duplicating Manager and Console within > themselves. > > Good luck, > > > Martin Smith, Systems Developer > ma...@be... > Bureau of Economic and Business Research > University of Florida > (352) 392-0171 Ext. 221 > > > ------------------------------ > *From:* ast...@li... [mailto: > ast...@li...] *On Behalf Of *Eduard > Martínez > *Sent:* Friday, May 16, 2008 5:40 AM > *To:* Ast...@li... > *Subject:* [Asterisk-java-users] How to know if the manager connection > isbroken? > > Hi, > > Asterisk sometimes crashes and restarts automatically, so the manager > connection is broken and reconnected again automatically. Is there a way to > know when this happens? > > My problem is that I have some call objects in a Map and since all calls > are dropped, I need to 'simulate' a hangup of these calls.. Perviously I was > using a 'core show channels concise' command every 5 seconds, but asterisk > sometimes hangs with this command. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Vedran Z. <ved...@gm...> - 2008-05-16 15:35:08
|
I've also found that ManagerResponse object from OriginateAction callback gets its uniqueId set to "asterisk-18189-1210951637.96" and all events generated from this action get its uniqueId set to "asterisk-1210951637.97". Is this normal behavior? -- regards, Vedran Zeljeznak On Fri, 16 May 2008 10:31:35 -0400, "Martin Smith" <ma...@be...> wrote: > Hello Vedran, > > I don't see anything overtly wrong with that code. You aren't violating > a thread rule or anything, though you could try adding a proxy reader > just to be sure, as discussed here: > http://asterisk-java.org/development/apidocs/org/asteriskjava/manager/Ma > nagerEventListenerProxy.html > > But I don't think you'd need one unless there's more code you aren't > showing us. Perhaps some of the other folks will be able to shed some > more light on it. I do know 1.4.19 is relatively new, and we don't know > about a lot of bugs in it yet -- but Mantis already has a deadlock on > Manager originate bug filed just today > (http://bugs.digium.com/view.php?id=12269). > > Cheers, > > Martin Smith, Systems Developer > ma...@be... > Bureau of Economic and Business Research > University of Florida > (352) 392-0171 Ext. 221 > > > >> -----Original Message----- >> From: ast...@li... >> [mailto:ast...@li...] On >> Behalf Of Vedran Zeljeznak >> Sent: Thursday, May 15, 2008 10:52 AM >> To: ast...@li... >> Subject: [Asterisk-java-users] synchronized OriginateAction >> >> >> hello, >> >> i'm having trouble with getting synchronized OriginateAction to work. >> >> I've tried to use >> "managerConnection.sendEventGeneratingAction(originateAction,o >> riginateAction.getTimeout()+2000);" >> but it throws EventTimeoutException with timeout set to 100000. >> >> I don't know if i'm doing something wrong or there is a bug in >> asterisk-java? >> >> here is a snipplet of the exception >> --------- >> Exception in thread "main" >> org.asteriskjava.manager.EventTimeoutException: >> Timeout waiting for response or response events to Originate >> at >> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendEv >> entGeneratingAction(ManagerConnectionImpl.java:944) >> at >> org.asteriskjava.manager.DefaultManagerConnection.sendEventGen >> eratingAction(DefaultManagerConnection.java:307) >> at >> net.skvid.sphonemanager.asterisk.manager.SmsRecievedManager.ru >> n(SmsRecievedManager.java:74) >> at >> net.skvid.sphonemanager.asterisk.manager.SmsRecievedManager.ma >> in(SmsRecievedManager.java:139) >> --------- >> >> the code is in the attachment. >> >> I'm using the latest stable relase (0.3.1) of asterisk-java >> with Asterisk >> 1.4.19.1-BRIstuffed-0.4.0-RC1. >> >> -- >> regards, >> Vedran Zeljeznak >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Vedran Z. <ved...@gm...> - 2008-05-16 15:26:48
|
thanks Martin for your reply. i've upgraded my asterisk-java to 1.0.0 version (version from yesterday) and the same problem still exists. Here is what i have to do: 1. send originateAction between a channel and a local context/extension 2. wait for an outbound channel to be created, answered 3. wait for a hangup on outbound channel. All of this has to synchronized (between two threads, one method). Think I'll do thread synchronization with semaphores and (hopefully) get a fully synchronized outbound call. (only main thread will be blocked, and daemon thread (Asterisk-Java ManagerConnection-0-Reader-0) will release it accordingly). -- regards, Vedran Zeljeznak On Fri, 16 May 2008 10:31:35 -0400, "Martin Smith" <ma...@be...> wrote: > Hello Vedran, > > I don't see anything overtly wrong with that code. You aren't violating > a thread rule or anything, though you could try adding a proxy reader > just to be sure, as discussed here: > http://asterisk-java.org/development/apidocs/org/asteriskjava/manager/Ma > nagerEventListenerProxy.html > > But I don't think you'd need one unless there's more code you aren't > showing us. Perhaps some of the other folks will be able to shed some > more light on it. I do know 1.4.19 is relatively new, and we don't know > about a lot of bugs in it yet -- but Mantis already has a deadlock on > Manager originate bug filed just today > (http://bugs.digium.com/view.php?id=12269). > > Cheers, > > Martin Smith, Systems Developer > ma...@be... > Bureau of Economic and Business Research > University of Florida > (352) 392-0171 Ext. 221 > > > >> -----Original Message----- >> From: ast...@li... >> [mailto:ast...@li...] On >> Behalf Of Vedran Zeljeznak >> Sent: Thursday, May 15, 2008 10:52 AM >> To: ast...@li... >> Subject: [Asterisk-java-users] synchronized OriginateAction >> >> >> hello, >> >> i'm having trouble with getting synchronized OriginateAction to work. >> >> I've tried to use >> "managerConnection.sendEventGeneratingAction(originateAction,o >> riginateAction.getTimeout()+2000);" >> but it throws EventTimeoutException with timeout set to 100000. >> >> I don't know if i'm doing something wrong or there is a bug in >> asterisk-java? >> >> here is a snipplet of the exception >> --------- >> Exception in thread "main" >> org.asteriskjava.manager.EventTimeoutException: >> Timeout waiting for response or response events to Originate >> at >> org.asteriskjava.manager.internal.ManagerConnectionImpl.sendEv >> entGeneratingAction(ManagerConnectionImpl.java:944) >> at >> org.asteriskjava.manager.DefaultManagerConnection.sendEventGen >> eratingAction(DefaultManagerConnection.java:307) >> at >> net.skvid.sphonemanager.asterisk.manager.SmsRecievedManager.ru >> n(SmsRecievedManager.java:74) >> at >> net.skvid.sphonemanager.asterisk.manager.SmsRecievedManager.ma >> in(SmsRecievedManager.java:139) >> --------- >> >> the code is in the attachment. >> >> I'm using the latest stable relase (0.3.1) of asterisk-java >> with Asterisk >> 1.4.19.1-BRIstuffed-0.4.0-RC1. >> >> -- >> regards, >> Vedran Zeljeznak >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Martin S. <ma...@be...> - 2008-05-16 14:31:50
|
Hello Vedran, I don't see anything overtly wrong with that code. You aren't violating a thread rule or anything, though you could try adding a proxy reader just to be sure, as discussed here: http://asterisk-java.org/development/apidocs/org/asteriskjava/manager/Ma nagerEventListenerProxy.html But I don't think you'd need one unless there's more code you aren't showing us. Perhaps some of the other folks will be able to shed some more light on it. I do know 1.4.19 is relatively new, and we don't know about a lot of bugs in it yet -- but Mantis already has a deadlock on Manager originate bug filed just today (http://bugs.digium.com/view.php?id=12269). Cheers, Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 > -----Original Message----- > From: ast...@li... > [mailto:ast...@li...] On > Behalf Of Vedran Zeljeznak > Sent: Thursday, May 15, 2008 10:52 AM > To: ast...@li... > Subject: [Asterisk-java-users] synchronized OriginateAction > > > hello, > > i'm having trouble with getting synchronized OriginateAction to work. > > I've tried to use > "managerConnection.sendEventGeneratingAction(originateAction,o > riginateAction.getTimeout()+2000);" > but it throws EventTimeoutException with timeout set to 100000. > > I don't know if i'm doing something wrong or there is a bug in > asterisk-java? > > here is a snipplet of the exception > --------- > Exception in thread "main" > org.asteriskjava.manager.EventTimeoutException: > Timeout waiting for response or response events to Originate > at > org.asteriskjava.manager.internal.ManagerConnectionImpl.sendEv > entGeneratingAction(ManagerConnectionImpl.java:944) > at > org.asteriskjava.manager.DefaultManagerConnection.sendEventGen > eratingAction(DefaultManagerConnection.java:307) > at > net.skvid.sphonemanager.asterisk.manager.SmsRecievedManager.ru > n(SmsRecievedManager.java:74) > at > net.skvid.sphonemanager.asterisk.manager.SmsRecievedManager.ma > in(SmsRecievedManager.java:139) > --------- > > the code is in the attachment. > > I'm using the latest stable relase (0.3.1) of asterisk-java > with Asterisk > 1.4.19.1-BRIstuffed-0.4.0-RC1. > > -- > regards, > Vedran Zeljeznak > |
From: Martin S. <ma...@be...> - 2008-05-16 13:12:28
|
Edward, I haven't checked to see if this applies for reconnects, but does listening for a "ConnectEvent" work? http://asterisk-java.org/development/apidocs/org/asteriskjava/manager/event/ConnectEvent.html 'core show channels concise' crashing sounds like a bad thing, though, yikes! Have you tried something like sending a StatusAction? I'd steer away from parsing console commands as the developers have considered about making anything from the console less and less parsable and intended for human eyes only. They would add more to the manager interface to make up for it, but I think they were just trying to find a way to split responsibilities cleanly without duplicating Manager and Console within themselves. Good luck, Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Eduard Martínez Sent: Friday, May 16, 2008 5:40 AM To: Ast...@li... Subject: [Asterisk-java-users] How to know if the manager connection isbroken? Hi, Asterisk sometimes crashes and restarts automatically, so the manager connection is broken and reconnected again automatically. Is there a way to know when this happens? My problem is that I have some call objects in a Map and since all calls are dropped, I need to 'simulate' a hangup of these calls.. Perviously I was using a 'core show channels concise' command every 5 seconds, but asterisk sometimes hangs with this command. |
From: E. M. <mar...@gm...> - 2008-05-16 09:39:44
|
Hi, Asterisk sometimes crashes and restarts automatically, so the manager connection is broken and reconnected again automatically. Is there a way to know when this happens? My problem is that I have some call objects in a Map and since all calls are dropped, I need to 'simulate' a hangup of these calls.. Perviously I was using a 'core show channels concise' command every 5 seconds, but asterisk sometimes hangs with this command. |
From: Vedran Z. <ved...@gm...> - 2008-05-15 14:52:09
|
hello, i'm having trouble with getting synchronized OriginateAction to work. I've tried to use "managerConnection.sendEventGeneratingAction(originateAction,originateAction.getTimeout()+2000);" but it throws EventTimeoutException with timeout set to 100000. I don't know if i'm doing something wrong or there is a bug in asterisk-java? here is a snipplet of the exception --------- Exception in thread "main" org.asteriskjava.manager.EventTimeoutException: Timeout waiting for response or response events to Originate at org.asteriskjava.manager.internal.ManagerConnectionImpl.sendEventGeneratingAction(ManagerConnectionImpl.java:944) at org.asteriskjava.manager.DefaultManagerConnection.sendEventGeneratingAction(DefaultManagerConnection.java:307) at net.skvid.sphonemanager.asterisk.manager.SmsRecievedManager.run(SmsRecievedManager.java:74) at net.skvid.sphonemanager.asterisk.manager.SmsRecievedManager.main(SmsRecievedManager.java:139) --------- the code is in the attachment. I'm using the latest stable relase (0.3.1) of asterisk-java with Asterisk 1.4.19.1-BRIstuffed-0.4.0-RC1. -- regards, Vedran Zeljeznak |
From: Johan S. <js...@sv...> - 2008-05-15 06:41:57
|
Hi! Need some help from you fellows, I'm out of ideas right now. Do you know what could be going on ? I get this (see log below) in my log4J in my project... had my system running over night and showed this strange behaviour. :-) My system is answering 3 simultanious calls, or less, and doing some data processing then hanging up. Asterisk-java events like: Adding channel, removing channel gives me multiple of lines from many different daemonpools in my log. In this line Zap/6-1 (number....number) - what does these following parenthesis with numbers mean? My code for this is simply: public class Answer extends BaseAgiScript { public Answer() { // nothing to setup... } public void service(AgiRequest request, AgiChannel agiChannel) { try { AlarmHandler handler = new AlarmHandler(); handler.service(request, agiChannel); handler = null; } catch (InvalidPropertiesFormatException ivfe ) { // TODO: handle exception }catch (IOException ie) { // TODO: handle exception } } } /Johan LOG EXTRACTS INFO | jvm 3 | 2008/08/15 08:20:54 | 13728279 [Asterisk-Java DaemonPool-253-thread-1] [ChannelManager] INFO - Adding channel Zap/6-1(1218781254.19453) INFO | jvm 3 | 2008/08/15 08:20:54 | 13728280 [Asterisk-Java DaemonPool-252-thread-1] [ChannelManager] INFO - Adding channel Zap/6-1(1218781254.19453) INFO | jvm 3 | 2008/08/15 08:20:54 | 13728282 [Asterisk-Java DaemonPool-251-thread-1] [ChannelManager] INFO - Adding channel Zap/6-1(1218781254.19453) INFO | jvm 3 | 2008/08/15 08:20:54 | 13728283 [Asterisk-Java DaemonPool-250-thread-1] [ChannelManager] INFO - Adding channel Zap/6-1(1218781254.19453) INFO | jvm 3 | 2008/08/15 08:20:54 | 13728285 [Asterisk-Java DaemonPool-249-thread-1] [ChannelManager] INFO - Adding channel Zap/6-1(1218781254.19453) INFO | jvm 3 | 2008/08/15 08:20:54 | 13728286 [Asterisk-Java DaemonPool-248-thread-1] [ChannelManager] INFO - Adding channel Zap/6-1(1218781254.19453) INFO | jvm 3 | 2008/08/15 08:20:54 | 13728287 [Asterisk-Java DaemonPool-247-thread-1] [ChannelManager] INFO - Adding channel Zap/6-1(1218781254.19453) INFO | jvm 3 | 2008/08/15 08:20:54 | 13728288 [Asterisk-Java DaemonPool-246-thread-1] [ChannelManager] INFO - Adding channel Zap/6-1(1218781254.19453) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-211-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730158 [Asterisk-Java DaemonPool-201-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730158 [Asterisk-Java DaemonPool-202-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-212-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730159 [Asterisk-Java DaemonPool-200-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-213-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730161 [Asterisk-Java DaemonPool-199-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-214-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730162 [Asterisk-Java DaemonPool-198-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730163 [Asterisk-Java DaemonPool-197-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-216-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730165 [Asterisk-Java DaemonPool-196-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-217-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730171 [Asterisk-Java DaemonPool-195-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-218-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730172 [Asterisk-Java DaemonPool-194-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-219-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730173 [Asterisk-Java DaemonPool-193-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-220-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730177 [Asterisk-Java DaemonPool-192-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-221-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730178 [Asterisk-Java DaemonPool-191-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730135 [Asterisk-Java DaemonPool-223-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) ...... INFO | jvm 3 | 2008/08/15 08:20:56 | 13730359 [Asterisk-Java DaemonPool-24-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730359 [Asterisk-Java DaemonPool-23-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730360 [Asterisk-Java DaemonPool-22-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730361 [Asterisk-Java DaemonPool-21-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730363 [Asterisk-Java DaemonPool-20-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730363 [Asterisk-Java DaemonPool-19-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730364 [Asterisk-Java DaemonPool-18-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730365 [Asterisk-Java DaemonPool-17-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730365 [Asterisk-Java DaemonPool-16-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730366 [Asterisk-Java DaemonPool-15-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730366 [Asterisk-Java DaemonPool-14-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730367 [Asterisk-Java DaemonPool-13-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730367 [Asterisk-Java DaemonPool-12-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730368 [Asterisk-Java DaemonPool-11-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730368 [Asterisk-Java DaemonPool-10-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730369 [Asterisk-Java DaemonPool-9-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730370 [Asterisk-Java DaemonPool-8-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730371 [Asterisk-Java DaemonPool-7-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730371 [Asterisk-Java DaemonPool-6-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) INFO | jvm 3 | 2008/08/15 08:20:56 | 13730372 [Asterisk-Java DaemonPool-5-thread-1] [ChannelManager] INFO - Removing channel Zap/1-1 due to hangup (NOTDEFINED) |
From: Andrea C. <an...@ge...> - 2008-05-14 21:17:32
|
The best things you can do is to run a AGI for the routing or for calculate the rate to use. then you dial the destination and save into chnnl variable the rate and all the other important info. At the end when the call hangup, so in h you have to call DeadAGI. for billing purpose. Regards Andrea Stefan Reuter ha scritto: > chetherston miles wrote: > >> I need to get the accesscode information from the user and calculate how >> many minutes he can talk and them collect the destination number, when >> he hangup i need to perform the billing routine for this particular >> account? Is a kind of Calling Card app? >> > > For this kind of application you can also use the "normal" AGI command > in your dialplan. Your AGI script will continue to run even if the call > has ended. This in contrast to normal scripts started by Asterisk that > are killed as soon as the call ends. > > >> Do you have same example how to do it? I´m doing just codding everything >> into the AGI and calling using DeadAGI in FastAGI but i´m very concern >> because i think the connection bw asterisk and the fastagi server i´ll >> be open until the call is hangup? >> > > You are right that the connections will stay open from start to end of > each call. > How many concurrent calls do you expect? Usually a Java server can > handle a few hundred open connections without any problems. You might > just have to increase the thread pool size used by the FastAGI server > (there is an example in the tutorial on our website). > > =Stefan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Martin B. S. <ma...@mb...> - 2008-05-14 01:37:20
|
Hello all, I've posted a new blog entry at Asterisk-Java.org titled, "Visualizing your dialplan with a graph." It has some examples of using the dialplan.* classes I've added on top of Stefan's config.* classes. It also has a Java web start demo if you have your extensions.conf file handy. I'd love to see what sorts of structures people have, if anyone would be willing to post an image to the list, and I'm also interested in any bugs you might find. Eventually, I could see a visualization application that could be pointed at a live Asterisk 1.4+ server, and use the GetConfig action, along with Manager events, to show the dialplan and then animate it as events go through the dialplan (NewExten, etc). Curious for your feedback (and to see what your dialplan network graphs look like), Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 |
From: Francesco P. <Fra...@ce...> - 2008-05-13 15:51:34
|
Hi folks, I'm searching for a way to manipulate sip packet. I need read custom value from sip packet through asterisk-java. There is a program in agi: SIP_HEADER(). I want to know if there is a way in asterisk-java like SIP_HEADER(). Thanks ________________________________ Le informazioni contenute in questa comunicazione e negli allegati sono riservate; e' vietato a soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in essi contenuto. Se avete ricevuto questa copia per errore, vi preghiamo di distruggerla immediatamente ed informarci via e-mail. Prima di stampare questa e-mail consideratene l'impatto sull'ambiente. Grazie per la collaborazione. This e-mail and any attachment(s) are strictly confidential. This message must not be copied, disclosed or used by anybody other than the intended recipient(s). If you are not the intended recipient, please inform the sender by e-mail and destroy this message immediately. Please consider the environment before printing this e-mail. Thank you for your cooperation. |
From: Stefan R. <ste...@re...> - 2008-05-09 14:56:53
|
chetherston miles wrote: > I need to get the accesscode information from the user and calculate how > many minutes he can talk and them collect the destination number, when > he hangup i need to perform the billing routine for this particular > account? Is a kind of Calling Card app? For this kind of application you can also use the "normal" AGI command in your dialplan. Your AGI script will continue to run even if the call has ended. This in contrast to normal scripts started by Asterisk that are killed as soon as the call ends. > Do you have same example how to do it? I´m doing just codding everything > into the AGI and calling using DeadAGI in FastAGI but i´m very concern > because i think the connection bw asterisk and the fastagi server i´ll > be open until the call is hangup? You are right that the connections will stay open from start to end of each call. How many concurrent calls do you expect? Usually a Java server can handle a few hundred open connections without any problems. You might just have to increase the thread pool size used by the FastAGI server (there is an example in the tutorial on our website). =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: chetherston m. <mil...@gm...> - 2008-05-09 14:23:55
|
Stefan, I need to get the accesscode information from the user and calculate how many minutes he can talk and them collect the destination number, when he hangup i need to perform the billing routine for this particular account? Is a kind of Calling Card app? Do you have same example how to do it? I´m doing just codding everything into the AGI and calling using DeadAGI in FastAGI but i´m very concern because i think the connection bw asterisk and the fastagi server i´ll be open until the call is hangup? Thanks, On 5/9/08, Stefan Reuter <ste...@re...> wrote: > > chetherston miles wrote: > > How do you think is the better way to perform some actions after the > > call hangup? I´m using one simples java-agi script that send Dial > > command to the server? > > Why do you use an AGI for the dial instead of just the dialplan? > If you want to collect data for accounting you can also use the Manager > API. > > =Stefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > |
From: Stefan R. <ste...@re...> - 2008-05-09 14:19:08
|
chetherston miles wrote: > How do you think is the better way to perform some actions after the > call hangup? I´m using one simples java-agi script that send Dial > command to the server? Why do you use an AGI for the dial instead of just the dialplan? If you want to collect data for accounting you can also use the Manager API. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: chetherston m. <mil...@gm...> - 2008-05-09 14:13:53
|
Stefan, How do you think is the better way to perform some actions after the call hangup? I´m using one simples java-agi script that send Dial command to the server? Thanks, On 5/9/08, Stefan Reuter <ste...@re...> wrote: > > Hi, > > I've never used DeadAgi for myself but I don't see a perfomance issue > there. > > =Stefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > |
From: Stefan R. <ste...@re...> - 2008-05-09 14:10:59
|
Hi, I've never used DeadAgi for myself but I don't see a perfomance issue there. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: chetherston m. <mil...@gm...> - 2008-05-09 13:57:27
|
Hello All, I have to ask again because a still can´t understand (sorry guys), i have to do some billing routines after the calls hangup, the thing is i used php agi with the DeadAGI command and works fine, but now the volume of operations are growing and i like java more... anyway i happyly found asterisk-java and after i did some tests i realize that i can use fastAGI + deadagi to call the agi and a sucefully get my routines work after the hagup. My dial plan is something like this: DeadAgi(agi://localhost/hello.agi) Is there any kind of problem realated to performance using the FastAGI like this? Anyone could give me some adivice? Thanks |
From: chetherston m. <mil...@gm...> - 2008-05-08 13:30:30
|
I used the DeadAGI now to call the FastAGI and seems to work fine? Maybe this could be the very very wrong choice? Thanks On Wed, May 7, 2008 at 9:57 PM, Stefan Reuter <ste...@re...> wrote: > John Wolthuis wrote: > > Ah, I've not used local channels before. So I have an AGI dial > > Local/123@context. That context starts a new AGI that happens to > > dials out to a 3rd party. If the first leg hangs up, does the 3rd > > party channel continue in its own AGI? I would have guessed that it > > would cause the dial applications to return and the 3rd party channel > > would get hung up on. > > Yes the channel is hung up but that doesnt mean you FastAGI script gets > killed. Just make sure you don't touch the AgiChannel any more or catch > the exceptions. > > =Stefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Gabriele C. <gab...@ti...> - 2008-05-08 08:00:46
|
Hello, surely it is a pretty basic topics, but I have some doubt about pstn/sip. I should set up a "conference center" with asterisk, with users joining the conferences with public pstn numbers, and so I think I should have a pool of public pstn numbers available. Now, I am really confused about my needs: I think I should get a channel bank, link it with the server asterisk with a T1 on one side, and receive incoming call from pstn on the other side. Is it correct? And what service should I ask to my telco for this setting to work? I should be able to connect about 200 users in the same time: what time of service/hardware should be required? Thanks for your help Gab |
From: Stefan R. <ste...@re...> - 2008-05-08 00:57:55
|
John Wolthuis wrote: > Ah, I've not used local channels before. So I have an AGI dial > Local/123@context. That context starts a new AGI that happens to > dials out to a 3rd party. If the first leg hangs up, does the 3rd > party channel continue in its own AGI? I would have guessed that it > would cause the dial applications to return and the 3rd party channel > would get hung up on. Yes the channel is hung up but that doesnt mean you FastAGI script gets killed. Just make sure you don't touch the AgiChannel any more or catch the exceptions. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: John W. <joh...@gm...> - 2008-05-08 00:49:08
|
Ah, I've not used local channels before. So I have an AGI dial Local/123@context. That context starts a new AGI that happens to dials out to a 3rd party. If the first leg hangs up, does the 3rd party channel continue in its own AGI? I would have guessed that it would cause the dial applications to return and the 3rd party channel would get hung up on. On Wed, May 7, 2008 at 5:30 PM, Stefan Reuter <ste...@re...> wrote: > John Wolthuis wrote: > > I'm not certain how to do that. The second leg that is created when > > you use the dial command doesn't have an AGI thread running of its > > own, so when the first leg hangs up, thats that for both legs. You > > could try to initiate a manager Redirect command on the second leg and > > send it to a context with that will start a new AGI for that channel, > > prior to to the first leg hanging up. > > Yes or you can Dial() to an extension (Local/123@context) that itself is > mapped to another AGI. > > =Stefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Stefan R. <ste...@re...> - 2008-05-08 00:30:37
|
John Wolthuis wrote: > I'm not certain how to do that. The second leg that is created when > you use the dial command doesn't have an AGI thread running of its > own, so when the first leg hangs up, thats that for both legs. You > could try to initiate a manager Redirect command on the second leg and > send it to a context with that will start a new AGI for that channel, > prior to to the first leg hanging up. Yes or you can Dial() to an extension (Local/123@context) that itself is mapped to another AGI. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: John W. <joh...@gm...> - 2008-05-08 00:24:45
|
I'm not certain how to do that. The second leg that is created when you use the dial command doesn't have an AGI thread running of its own, so when the first leg hangs up, thats that for both legs. You could try to initiate a manager Redirect command on the second leg and send it to a context with that will start a new AGI for that channel, prior to to the first leg hanging up. On Wed, May 7, 2008 at 2:21 PM, chetherston miles <mil...@gm...> wrote: > Now i tried to change the extentions.conf to call using DeadAGI but i don't > think that this is the rigth way to do it? > > > On Wed, May 7, 2008 at 6:02 PM, chetherston miles <mil...@gm...> > wrote: > > > John, > > > > > > Thanks for you response, i need to do some operations when the Leg1 hangup > in my tests i can do this when leg2 hangup (that seems the FastAGI do this > for me) , how can i perform some operations after leg1 hangup ? > > > > > > Thanks > > > > > > > > > > > > On Wed, May 7, 2008 at 5:46 PM, John Wolthuis <joh...@gm...> > wrote: > > > > > You need to use the exec method. > > > > > > channel.exec("Dial","SIP/5551212@foo") > > > > > > > > > > > > > > > On Wed, May 7, 2008 at 1:05 PM, chetherston miles <mil...@gm...> > wrote: > > > > Hello, > > > > > > > > For sure i'm losing something, because i'm trying to place a call > using the > > > > agi, in phpagi i can do this just calling the Dial() command, how can > a do > > > > the same thing using asterisk-java > > > > > > > > Thanks, > > > > Miles > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > > Don't miss this year's exciting event. There's still time to save > $100. > > > > Use priority code J8TL2D2. > > > > > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > > _______________________________________________ > > > > Asterisk-java-users mailing list > > > > Ast...@li... > > > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > Don't miss this year's exciting event. There's still time to save $100. > > > Use priority code J8TL2D2. > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > _______________________________________________ > > > Asterisk-java-users mailing list > > > Ast...@li... > > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: chetherston m. <mil...@gm...> - 2008-05-07 21:21:23
|
Now i tried to change the extentions.conf to call using DeadAGI but i don't think that this is the rigth way to do it? On Wed, May 7, 2008 at 6:02 PM, chetherston miles <mil...@gm...> wrote: > John, > Thanks for you response, i need to do some operations when the Leg1 hangup > in my tests i can do this when leg2 hangup (that seems the FastAGI do this > for me) , how can i perform some operations after leg1 hangup ? > > Thanks > > > On Wed, May 7, 2008 at 5:46 PM, John Wolthuis <joh...@gm...> > wrote: > > > You need to use the exec method. > > > > channel.exec("Dial","SIP/5551212@foo") > > > > On Wed, May 7, 2008 at 1:05 PM, chetherston miles <mil...@gm...> > > wrote: > > > Hello, > > > > > > For sure i'm losing something, because i'm trying to place a call > > using the > > > agi, in phpagi i can do this just calling the Dial() command, how can > > a do > > > the same thing using asterisk-java > > > > > > Thanks, > > > Miles > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > > Don't miss this year's exciting event. There's still time to save > > $100. > > > Use priority code J8TL2D2. > > > > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > _______________________________________________ > > > Asterisk-java-users mailing list > > > Ast...@li... > > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > Asterisk-java-users mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > |
From: chetherston m. <mil...@gm...> - 2008-05-07 21:02:38
|
John, Thanks for you response, i need to do some operations when the Leg1 hangup in my tests i can do this when leg2 hangup (that seems the FastAGI do this for me) , how can i perform some operations after leg1 hangup ? Thanks On Wed, May 7, 2008 at 5:46 PM, John Wolthuis <joh...@gm...> wrote: > You need to use the exec method. > > channel.exec("Dial","SIP/5551212@foo") > > On Wed, May 7, 2008 at 1:05 PM, chetherston miles <mil...@gm...> > wrote: > > Hello, > > > > For sure i'm losing something, because i'm trying to place a call using > the > > agi, in phpagi i can do this just calling the Dial() command, how can a > do > > the same thing using asterisk-java > > > > Thanks, > > Miles > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > Asterisk-java-users mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |