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


#1

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


#2

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 <cscho@lycos.com> 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