[sip-comm-dev] About Audionotifier


#1

Hi Yana,

I'm trying to add the audionotifier package to the first release of
sip-communicator (since it's the only one that's working with the gui on my
mandriva 2006) to test the call function. Actually I'm making progress, in
fact I declared the <!--BUNDLE-AUDIO NOTIFIER--> in the build.xml, I pushed
the audionotifier.jar into the sc-bundles directory and added its path to
the .classpath. Also I made the necessary changes (on my guess) to the
related .java files by changing the SoundLoader requests by the
GuiActivator.getAudioNotifier() requests as you have done with this latest
nightly build. I'm just still having this only error message and I don't
know how to resolve it, hope that you'll help me with that since it was you
who implemented this part of the code.

[java] 11:05:30.442 PLUS FIN:
impl.contactlist.MetaContactListServiceImpl.serviceChanged() Received a
service event for: net.java.sip.communicator.impl.history.HistoryServiceImpl
     [java] ERROR: Error starting reference:file:sc-bundles/swing-ui.jar (
org.osgi.framework.BundleException: Unresolved package in bundle 15:
net.java.sip.communicator.service.callhistory)
     [java] org.osgi.framework.BundleException: Unresolved package in bundle
15: net.java.sip.communicator.service.callhistory
     [java] at org.apache.felix.framework.Felix._resolveBundle(Felix.java
:1362)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1241)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:534)
     [java] ERROR: Error starting
reference:file:sc-bundles/sipaccregwizz.jar (
org.osgi.framework.BundleException: Unresolved package in bundle 15:
net.java.sip.communicator.service.callhistory)
     [java] org.osgi.framework.BundleException: Unresolved package in bundle
15: net.java.sip.communicator.service.callhistory

I really want to improve the call function and make it work as perfect as
possible, than I want to implement the voice recognition in sip-communicator
but to have all this work I need some help, so please give me advices.

Thanks a lot.


#2

Ok, I guess what was my mistake !! In the lib/felix.client.run.properties I
wrongly declared the reference:file:sc-bundles/audionotifier.jar before the
reference:file:sc-bundles/sipaccregwizz.jar. I dont understand why this
should'nt work this way but since it does work one time I moved the
audionotifier.jar declaration juste before the shutdown.jar declaration and
my sip-communicator is launched it doesn't matter ! I also noticed that the
audionotifier was also started correctly. Great !

Hope this will help someone else.

···

On 5/3/07, asmouta <asmouta@gmail.com> wrote:

Hi Yana,

I'm trying to add the audionotifier package to the first release of
sip-communicator (since it's the only one that's working with the gui on my
mandriva 2006) to test the call function. Actually I'm making progress, in
fact I declared the <!--BUNDLE-AUDIO NOTIFIER--> in the build.xml, I
pushed the audionotifier.jar into the sc-bundles directory and added itspath to the .classpath. Also I made the necessary changes (on my guess) to
the related .java files by changing the SoundLoader requests by the
GuiActivator.getAudioNotifier() requests as you have done with this latest
nightly build. I'm just still having this only error message and I don't
know how to resolve it, hope that you'll help me with that since it was you
who implemented this part of the code.

[java] 11:05:30.442 PLUS FIN:
impl.contactlist.MetaContactListServiceImpl.serviceChanged() Received a
service event for:
net.java.sip.communicator.impl.history.HistoryServiceImpl
     [java] ERROR: Error starting reference:file:sc-bundles/swing-ui.jar (
org.osgi.framework.BundleException: Unresolved package in bundle 15:
net.java.sip.communicator.service.callhistory)
     [java] org.osgi.framework.BundleException: Unresolved package in
bundle 15: net.java.sip.communicator.service.callhistory
     [java] at org.apache.felix.framework.Felix._resolveBundle(Felix.java
:1362)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1241)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:534)
     [java] ERROR: Error starting
reference:file:sc-bundles/sipaccregwizz.jar (
org.osgi.framework.BundleException: Unresolved package in bundle 15:
net.java.sip.communicator.service.callhistory)
     [java] org.osgi.framework.BundleException: Unresolved package in
bundle 15: net.java.sip.communicator.service.callhistory

I really want to improve the call function and make it work as perfect as
possible, than I want to implement the voice recognition in sip-communicator
but to have all this work I need some help, so please give me advices.

Thanks a lot.