[sip-comm-dev] Remove osgi framework


#1

Hello Friends,

I am trying to implement an application that makes use of only the sip
protocol. And i want this application to embedd in a web browser. So i am
using applets for the gui part. Now i want only the main logic part of the
sip communicator. That i will be using in my application. So is there any
way that i can remove the osgi framework and interconnect the different
methods of the sip protocol. If anyone can help then it will be really
thankful.

Regards,
Kevin


#2

Hello Kevin,

I guess you could try and implement a small tool that would do the job
of OSGi and simply load the modules that you need by calling their start
methods.

You'd probably also have to do some modifications in existing modules
along the way.

The thing is that I don't really see why you would like to get rid of
OSGi. Wouldn't it be a better solution to rather remove bundles that you
don't need, and replace others (like the UI for example) with something
that suits you better.

Emil

Kevin Patel wrote:

···

Hello Friends,

I am trying to implement an application that makes use of only the sip
protocol. And i want this application to embedd in a web browser. So i
am using applets for the gui part. Now i want only the main logic part
of the sip communicator. That i will be using in my application. So is
there any way that i can remove the osgi framework and interconnect the
different methods of the sip protocol. If anyone can help then it will
be really thankful.

Regards,
Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hello Emil,

Thanks for the quick reply and your suggestion.

Actually i am planning to make the applet (based on sip-protocol) which can
be loaded in a web browser. The first page will be for the registration of
the sip protocol and the second page will contain the dial plan to make
calls for the sip user.

So i am not quite sure if the osgi framework will work in a browser. And if
it works then what would i need to do to activate it in a web browser? At
present the application starts using ANT and everything gets loaded based on
"build.xml". I don't have any idea how to activate it in a web browser with
the framework still present. Any advice will be appreciated.

Thanks in advance.

Regards,
Kevin

···

On 8/27/07, Emil Ivov <emcho@sip-communicator.org> wrote:

Hello Kevin,

I guess you could try and implement a small tool that would do the job
of OSGi and simply load the modules that you need by calling their start
methods.

You'd probably also have to do some modifications in existing modules
along the way.

The thing is that I don't really see why you would like to get rid of
OSGi. Wouldn't it be a better solution to rather remove bundles that you
don't need, and replace others (like the UI for example) with something
that suits you better.

Emil

Kevin Patel wrote:
> Hello Friends,
>
> I am trying to implement an application that makes use of only the sip
> protocol. And i want this application to embedd in a web browser. So i
> am using applets for the gui part. Now i want only the main logic part
> of the sip communicator. That i will be using in my application. So is
> there any way that i can remove the osgi framework and interconnect the
> different methods of the sip protocol. If anyone can help then it will
> be really thankful.
>
> Regards,
> Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Hi Kevin,

You may want to have a look at our installer tutorial:

http://www.sip-communicator.org/index.php/Documentation/HowToBuildAnInstaller

It explains what you need in order to create your own SIP Communicator
deployment tool (installer/applet/JavaWS configuration, etc.).

Looking at existing installers as well as the "run" target in the
build.xml should also help you to figure this out.

Hope this helps
Emil

Kevin Patel wrote:

···

Hello Emil,

Thanks for the quick reply and your suggestion.

Actually i am planning to make the applet (based on sip-protocol) which
can be loaded in a web browser. The first page will be for the
registration of the sip protocol and the second page will contain the
dial plan to make calls for the sip user.

So i am not quite sure if the osgi framework will work in a browser. And
if it works then what would i need to do to activate it in a web
browser? At present the application starts using ANT and everything gets
loaded based on " build.xml". I don't have any idea how to activate it
in a web browser with the framework still present. Any advice will be
appreciated.

Thanks in advance.

Regards,
Kevin

On 8/27/07, *Emil Ivov* <emcho@sip-communicator.org > <mailto:emcho@sip-communicator.org>> wrote:

    Hello Kevin,

    I guess you could try and implement a small tool that would do the job
    of OSGi and simply load the modules that you need by calling their start
    methods.

    You'd probably also have to do some modifications in existing modules
    along the way.

    The thing is that I don't really see why you would like to get rid of
    OSGi. Wouldn't it be a better solution to rather remove bundles that you
    don't need, and replace others (like the UI for example) with something
    that suits you better.

    Emil

    Kevin Patel wrote:
    > Hello Friends,
    >
    > I am trying to implement an application that makes use of only the sip
    > protocol. And i want this application to embedd in a web browser.
    So i
    > am using applets for the gui part. Now i want only the main logic part
    > of the sip communicator. That i will be using in my application. So is
    > there any way that i can remove the osgi framework and
    interconnect the
    > different methods of the sip protocol. If anyone can help then it will
    > be really thankful.
    >
    > Regards,
    > Kevin

    ---------------------------------------------------------------------
    To unsubscribe, e-mail:
    dev-unsubscribe@sip-communicator.dev.java.net
    <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
    For additional commands, e-mail:
    dev-help@sip-communicator.dev.java.net
    <mailto:dev-help@sip-communicator.dev.java.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi there!

Today I noticed a bug, when performing a call. The call ring tone does not
stop, when the call is accepted (at the callers side). This bug does not
exist on build 699, which I also tried.

It this a known issue and can it be reproduced?

Yours, Thomas

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Hello Thomas,

I was wondering whether you got any further on this one. Did you manage
to reproduce the problem? If so, then we should probably open a new
issue for it.

I am about to commit some patches from Michael Koch. One of them is
dealing with synchronization. It may address the issue, so I'll be
interested to hear if you keep seeing the problem

Emil

Thomas Hofer wrote:

···

Hi there!

Today I noticed a bug, when performing a call. The call ring tone does not
stop, when the call is accepted (at the callers side). This bug does not
exist on build 699, which I also tried.

It this a known issue and can it be reproduced?

Yours, Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net