[Asterisk-jtapi-users] Re :Re :Re: Workaround for getting terminal data from Address ?
Status: Beta
Brought to you by:
jwilke
|
From: Hrishikesh G. <hri...@re...> - 2006-09-05 09:13:15
|
Hi Jens,After a lot of debugging & googling, I found the possible cause of this issue. Please refer the following link. http://threebit.net/mail-archive/asterisk-java-users/msg00068.htmlI also found that \'Asterisk - Java\' project have delivered the 1st milestone of 0.3 version. In this version the package structure is changed & the corrosponding changes are not incorporated in JTAPI classes...Can you please look into this & let me have your feedback.Thanks,Hrishikesh \"Hrishikesh Gadre\" wroteHi Jens,Thanks a lot for the feedback. I downloaded the latest source from CVS & the below mentioned error is gone. But now I am facing problem while creating a call. I am getting following exception,***********************************************************java.lang.NullPointerException at java.util.Hashtable.put(Unknown Source) at com.headissue.asterisk.jtapi.gjtapi.AsteriskProvider.createCall(AsteriskProvider.java:131) at net.sourceforge.gjtapi.raw.ProviderFactory.createCall(ProviderFactory.java:124) at net.sourceforge.gjtapi.FreeCall.connect(FreeCall.java:341) at FirstTest.main(FirstTest.java:85)Aug 28, 2006 3:13:30 PM net.sf.asterisk.util.impl.JavaLoggingLog infoINFO: Adding channel Local/9002@testivr-60a0,1****_call.leg2=nullAug 28, 2006 3:13:30 PM net.sf.asterisk.util.impl.JavaLoggingLog warnWARNING: Unexpected exception in eventHandler com.headissue.asterisk.jtapi.gjtapi.AsteriskProvider$MyManagerEventHandlerjava.lang.NullPointerException at com.headissue.asterisk.jtapi.gjtapi.AsteriskProvider$MyManagerEventHandler.handleEvent(AsteriskProvider.java:328) at net.sf.asterisk.manager.DefaultManagerConnection.dispatchEvent(DefaultManagerConnection.java:975) at net.sf.asterisk.manager.impl.ManagerReaderImpl.run(ManagerReaderImpl.java:236) at java.lang.Thread.run(Unknown Source)***********************************************************On a bit of debugging, I found that \'_call.leg2\' value is NULL in MyManagerEventHandler class in AsteriskProvider.java file. Please find the attached source code I am testing... Can you please look into this & let me know ?Thanks,Hrishikesh---------------------------------------------------------------------------------------------Jens Wilke wroteHi Hrishikesh!On Thursday 24 August 2006 10:35, Hrishikesh Gadre wrote:> http://sourceforge.net/tracker/index.php?func=detail&aid=1501440&group_id=1>46939&atid=766835 This is already fixed in CVS HEAD. Sorry for the inconvience.Could you pls. use the CVS version and give feedback?Best,Jens--  Jens Wilke  // headissue GmbH - Munich - Germany // http://www.headissue.com |