Re: Sip Application
[email protected] Fri, 30 May 2008 07:41:19 PDT
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <13351959.227311212158516614.JavaMail.tomcat@sdcst12.sjc.collab.net> |
Okay so now you need to find out what class is being passed back from your Connector.open() statement. This should give you a clue as to what the issues are. Also to confirm you are using port 1234, and not something less than 1024 right? However in googling around I found this posting on the sip-for-me discussion forum should give you concern in using this project without downloading the source and becoming familiar with it. https://sip-for-me.dev.java.net/servlets/ReadMsg?listName=users&msgNo=4 So it appears that there is no workaround without Tweaking the code. But it's open source so there is nothing stopping you from doing just that. If I were to speculate I think you will find that what is being returned is the javax.microedition.sip.SipConnectionNotifier, and not the nist.javax.microedition.sip.SipConnectionNotifier which you are trying to cast to. If this is the case then you can try a few things to see if they work, such as: -Turn off JSR-180 support from your build and see if that helps. -Import only those classes from the nist package that you need but not the SipConnectionNotifier, and import the standard Javax....sip.SipConnectionNotifier. - You may need to have the nist.javax...sip.SipConnectionNotifier extends the javax..sip one. But you should take a closer look at the source for the nist package. But just using jsr180 is going to solve the problem and is the standard, so the question I am asking is why use the NIST package, and can that requirement be removed to use the standard JSR180 implementation. -Shawn [Message sent by forum member 'sfitzjava' (sfitzjava)] http://forums.java.net/jive/thread.jspa?messageID=277559 =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".