Re: [Asterisk-java-users] Doesn't work with 1.6 yet ?
Brought to you by:
srt
From: Luc D. <luc...@at...> - 2008-05-21 18:09:45
|
Is it possible the *Error* appear due bad parameter to originateAction ? originateAction = new OriginateAction(); originateAction.setChannel("SIP/255263@AutoCom") ; originateAction.setContext("external") ; originateAction.setExten("Local/0624493277@AutoCom") ; //originateAction.setApplication("Dial") ; originateAction.setPriority(new Integer(1)); originateAction.setTimeout(new Long(30000)); Tomorrow, I will put 1.4.* to test. Thanks for your time ( and the quick time of response :) ) Tomás Laureano Peralta Tormey a écrit : > On Wed, May 21, 2008 at 3:00 PM, Luc Desfosses > <luc...@at...> wrote: > >> The last one : >> >> asterisk-java-1.0.0-20080520.012814-155.jar >> > > I will try it out in my lab and let you know the results. > > >> I've take a look to the javadoc, and i see asterisk 1.6 is available >> only for since 1.0.0 >> > > Yes, the support for Asterisk 1.6 will be available in the version > 1.0.0; but the snapshots of this version should be working as > expected. > > Best regards, Tomás. > > >> Tomás Laureano Peralta Tormey a écrit : >> >>> Hello Luc: >>> Which version of Asterisk Java are you using? >>> >>> Best regards, Tomás. >>> >>> On Wed, May 21, 2008 at 2:44 PM, Luc Desfosses >>> <luc...@at...> wrote: >>> >>> >>>> hie all, >>>> >>>> This is my first mail here, so I first thank all the people who have create >>>> or work on asterisk-java. >>>> >>>> Now, my problem :) >>>> >>>> i use asterisk 1.6.0-beta7.1 on Fedora9. >>>> >>>> I try HelloManager.java and i get this : >>>> >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl connect >>>> INFO: Connecting to localhost:5038 >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl >>>> setProtocolIdentifier >>>> INFO: Connected via Asterisk Call Manager/1.1 >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >>>> INFO: Successfully logged in >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >>>> INFO: Determined Asterisk version: Asterisk 1.6 >>>> Error >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl disconnect >>>> INFO: Closing socket. >>>> 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerReaderImpl run >>>> INFO: Terminating reader thread: No more lines available: null >>>> >>>> As you can see, there is an *Error* just after the version was determine. >>>> >>>> Where i'm wrong ? >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> 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 >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> 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 >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> 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 >> >> > > ------------------------------------------------------------------------- > 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 > > > |