[sip-comm-dev] Support for a HTTP Refer-to header

Hi Lubomir,

Thanks for the quick reply. That sorted my problem.

I appreciate your help.

Is this something that might be worth adding to SIP Communicator, if so I would be happy to submit my final code for consideration.

regards

Chris

---------[ Received Mail Content ]----------

···

Subject : Re: [sip-comm-dev] Support for a HTTP Refer-to header

Date : Tue, 18 Nov 2008 11:46:54 +0200

From : “Lubomir Marinov”

To : dev@sip-communicator.dev.java.net

As you’ve noticed, a reference to a service such as

BrowserLauncherService is queried through a BundleContext and

BundleContext instances are made available to (Bundle)Activators. In

the case of OperationSetBasicTelephonySipImpl, you can access such an

instance through the SipActivator class which already performs similar

queries in its static methods getConfigurationService(),

getMediaService(), getUIService(), etc.

On Tue, Nov 18, 2008 at 11:35 AM, chris schofield wrote:

Hi,

I wonder if anyone can help.

I have a requirement to use a SIP client that accepts a REFER message

containing a Refer-to header with a HTTP value.

e.g. refer-to: http://www.somewebpage.com

Looking at the latest code (OperationSetBasicTelephonySipImpl)the REFER is

supported for call transfer, but not for HTTP uri’s.

Looking at the API, it is clear that there is a BrowserLauncher class that

is used in some cases, but I cannot see a way to start a browser from

OperationSetBasicTelephonySipImpl. I think I need an Activator object to get

hold of the BrowserLauncherService?

I am a bit of a Java novice so any pointers appreciated.

If it is not possible to achieve this, is this something that the SIP

Communicator might support in the future, especially as most of the building

blocks seem to be in place already.

Thanks and best regards

Chris Schofield

--------------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

Hi Chris,

I cannot really speak for the SIP Communicator project and its
comunity and it's just my guess that your contribution will be
welcome.

Thank you,
Lubo

···

On Tue, Nov 18, 2008 at 6:22 PM, chris schofield <cscho@lycos.com> wrote:

Hi Lubomir,

Thanks for the quick reply. That sorted my problem.

I appreciate your help.

Is this something that might be worth adding to SIP Communicator, if so I
would be happy to submit my final code for consideration.

regards

Chris

---------[ Received Mail Content ]----------

Subject : Re: [sip-comm-dev] Support for a HTTP Refer-to header

Date : Tue, 18 Nov 2008 11:46:54 +0200

From : "Lubomir Marinov"

To : dev@sip-communicator.dev.java.net

As you've noticed, a reference to a service such as

BrowserLauncherService is queried through a BundleContext and

BundleContext instances are made available to (Bundle)Activators. In

the case of OperationSetBasicTelephonySipImpl, you can access such an

instance through the SipActivator class which already performs similar

queries in its static methods getConfigurationService(),

getMediaService(), getUIService(), etc.

On Tue, Nov 18, 2008 at 11:35 AM, chris schofield wrote:

Hi,

I wonder if anyone can help.

I have a requirement to use a SIP client that accepts a REFER message

containing a Refer-to header with a HTTP value.

e.g. refer-to: http://www.somewebpage.com

Looking at the latest code (OperationSetBasicTelephonySipImpl)the REFER is

supported for call transfer, but not for HTTP uri's.

Looking at the API, it is clear that there is a BrowserLauncher class that

is used in some cases, but I cannot see a way to start a browser from

OperationSetBasicTelephonySipImpl. I think I need an Activator object to
get

hold of the BrowserLauncherService?

I am a bit of a Java novice so any pointers appreciated.

If it is not possible to achieve this, is this something that the SIP

Communicator might support in the future, especially as most of the
building

blocks seem to be in place already.

Thanks and best regards

Chris Schofield

--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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

+1, definitely!

Cheers
Emil

Lubomir Marinov wrote:

···

Hi Chris,

I cannot really speak for the SIP Communicator project and its
comunity and it's just my guess that your contribution will be
welcome.

Thank you,
Lubo

On Tue, Nov 18, 2008 at 6:22 PM, chris schofield <cscho@lycos.com> wrote:

Hi Lubomir,

Thanks for the quick reply. That sorted my problem.

I appreciate your help.

Is this something that might be worth adding to SIP Communicator, if so I
would be happy to submit my final code for consideration.

regards

Chris

---------[ Received Mail Content ]----------

Subject : Re: [sip-comm-dev] Support for a HTTP Refer-to header

Date : Tue, 18 Nov 2008 11:46:54 +0200

From : "Lubomir Marinov"

To : dev@sip-communicator.dev.java.net

As you've noticed, a reference to a service such as

BrowserLauncherService is queried through a BundleContext and

BundleContext instances are made available to (Bundle)Activators. In

the case of OperationSetBasicTelephonySipImpl, you can access such an

instance through the SipActivator class which already performs similar

queries in its static methods getConfigurationService(),

getMediaService(), getUIService(), etc.

On Tue, Nov 18, 2008 at 11:35 AM, chris schofield wrote:

Hi,
I wonder if anyone can help.
I have a requirement to use a SIP client that accepts a REFER message
containing a Refer-to header with a HTTP value.
e.g. refer-to: http://www.somewebpage.com
Looking at the latest code (OperationSetBasicTelephonySipImpl)the REFER is
supported for call transfer, but not for HTTP uri's.
Looking at the API, it is clear that there is a BrowserLauncher class that
is used in some cases, but I cannot see a way to start a browser from
OperationSetBasicTelephonySipImpl. I think I need an Activator object to
get
hold of the BrowserLauncherService?
I am a bit of a Java novice so any pointers appreciated.
If it is not possible to achieve this, is this something that the SIP
Communicator might support in the future, especially as most of the
building
blocks seem to be in place already.
Thanks and best regards
Chris Schofield
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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

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