Re: [Asterisk-java-users] RE: Asterisk-java-users digest, Vol 1#52 - 2 msgs
Brought to you by:
srt
|
From: Stefan R. <sr...@re...> - 2005-07-20 05:41:53
|
Sorry i am still unable to reproduce that bug.
Everything works fine here using either Asterisk CVS-HEAD or 1.0.7.
=3DStefan
On Mon, 2005-07-18 at 12:17 -0300, Dov Bigio wrote:
> Yeah.. that was it.
>=20
> But the problem I had under AsteriskWin32 still happens here under Linux =
red
> hat + asterisk 1.0.9...
>=20
> After printing "cc1", my application fails with the following:
>=20
> aa123#
> bb123#
> cc0
> cc1
> 18/07/2005 12:15:20 net.sf.asterisk.util.impl.JavaLoggingLog error
> SEVERE: AGIException while handling request: Channel was hang up.
>=20
> Thank you
> Dov
>=20
> answer(channel);
> String result =3D getNumber(channel);
> SayDigitsCommand sc =3D new SayDigitsCommand(result);
> System.out.println("aa" + result);
> AGIReply rep =3D channel.sendCommand(sc);
> System.out.println("bb" + result);
>=20
> if (result.substring(0, result.length() - 1).equals("123"))
> {
> System.out.println("cc0");
> SayNumberCommand cmd =3D new SayNumberCommand(new
> Integer("123").toString());
> System.out.println("cc1");
> channel.sendCommand(cmd);
> System.out.println("cc2");
> }
>=20
>=20
> ----- Original Message -----=20
> From: "Stefan Reuter" <sr...@re...>
> To: <ast...@li...>
> Sent: Monday, July 18, 2005 12:00 PM
> Subject: Re: [Asterisk-java-users] RE: Asterisk-java-users digest, Vol
> 1#52 - 2 msgs
>=20
>=20
> Hi,
>=20
> > WARNING: Uncaught exception in Thread AGIServer-TaskThread-0
> > java.lang.IncompatibleClassChangeError
> > at com.dov.TrataAGI.getNumber(TrataAGI.java:72)
> > at com.dov.TrataAGI.service(TrataAGI.java:22)
> > at
> >
> net.sf.asterisk.fastagi.AGIConnectionHandler.run(AGIConnectionHandler.jav=
a:1
> > 02)
> > at
> > net.sf.asterisk.util.ThreadPool$TaskThread.run(ThreadPool.java:164)
>=20
> without having a look at this in detail a IncompatibleClassChangeError
> sounds like you didn't compile your classes against the version of
> Asterisk-Java that you are now running.
> Compile your .java files again using the same asterisk-java.jar you will
> later use when running the application.
>=20
> =3DStefan
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick
> _______________________________________________
> Asterisk-java-users mailing list
> Ast...@li...
> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick
> _______________________________________________
> Asterisk-java-users mailing list
> Ast...@li...
> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users
|