Re: [Asterisk-java-users] Error originate with local channels
Brought to you by:
srt
From: Eduard M. <mar...@gm...> - 2008-02-20 16:53:51
|
ok hehe Yes, I see the channels, as I said in the last message, but the message of the exception is: org.asteriskjava.live.NoSuchChannelException: Channel 'Local/prueba@pruebas' is not available The channel in asterisk is Local/prueba@pruebas-88da,1 and The channel in asterisk is Local/prueba@pruebas-88da,2, where the 88da part is different for every created channel. Full log of my program is here. Note that 'adding channel' messages appears after the exception. 2008-02-20 17:49:57,574 org.asteriskjava.manager.internal.ManagerConnectionImpl INFO [Thread-0] - Connecting to 192.168.1.5:5038 2008-02-20 17:49:57,668 org.asteriskjava.manager.internal.ManagerConnectionImpl INFO [Asterisk-Java ManagerConnection-0-Reader-0] - Connected via Asterisk Call Manager/1.0 2008-02-20 17:49:57,678 org.asteriskjava.manager.internal.ManagerConnectionImpl INFO [Thread-0] - Successfully logged in 2008-02-20 17:49:57,686 org.asteriskjava.manager.internal.ManagerConnectionImpl INFO [Thread-0] - Determined Asterisk version: Asterisk 1.4 2008-02-20 17:49:57,696 org.asteriskjava.live.internal.AsteriskServerImplINFO [Thread-0] - Initializing done 2008-02-20 17:50:00,714 org.asteriskjava.live.internal.AsteriskServerImplDEBUG [Thread-0] - org.asteriskjava.manager.event.OriginateResponseEvent received with uniqueId 1202781244.40 NoSuchChannelException!!!: Channel 'Local/prueba@pruebas' is not available 2008-02-20 17:50:00,721 org.asteriskjava.live.internal.ChannelManager INFO [Asterisk-Java DaemonPool-2-thread-1] - Adding channel Local/prueba@pruebas-7e08,1(1202781244.40) 2008-02-20 17:50:00,759 org.asteriskjava.live.internal.ChannelManager INFO [Asterisk-Java DaemonPool-2-thread-1] - Adding channel Local/prueba@pruebas-7e08,2(1202781244.41) On Feb 20, 2008 1:59 AM, Stefan Reuter <ste...@re...> wrote: > Eduard Martinez wrote: > > Yes, I see the channels, Local/prueba@pruebas,XXXX,1 and > > Local/prueba@pruebas,XXXX,2, both up and waiting. > > Can you clarify the meaning of NSCE? > > sorry NSCE was short for NoSuchChannelException :) > > > In the java logs I also see the creation of both channels in asterisk > > java but AFTER the exception. > > > > On Feb 20, 2008 1:08 AM, Stefan Reuter <ste...@re... > > <mailto:ste...@re...>> wrote: > > > > Eduard Martinez wrote: > > > Hi! > > > I'm trying to use Originate in order to create a local channel. In > the > > > tests, I'm using originate to application (Wait 300) and the > > channel is > > > Local/prueba@pruebas. This extension has an Answer and then > > another Wait > > > 300. > > > As far as I know, when I answer the local channel in the dialplan > the > > > originate must be succesful, and that's the response I get. But > with > > > asterisk-java throws a NoSuchChannelException. Is this a bug? > > > > when you do a "show channels" on the CLI after your tests do you see > the > > channels? if yes do the names match the message of the NSCE? > > > > =Stefan > > > > -- > > reuter network consulting > > Neusser Str. 110 > > 50760 Koeln > > Germany > > Telefon: +49 221 1305699-0 > > Telefax: +49 221 1305699-90 > > E-Mail: ste...@re... <mailto:ste...@re...> > > Jabber: ste...@re... <mailto:ste...@re...> > > WWW: http://www.reucon.com > > > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > > > > > ------------------------------------------------------------------------- > > 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... > > <mailto:Ast...@li...> > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > 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 > > > -- > 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: 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 > > |