[jitsi-dev] REFER-TO header


#1

Hi,

Does Jitsi support the REFER-TO header?

If the header contains a URL will jitsi launch a browser and navigate to it?

Thanks,

Shay


#2

Hi all,

just a cultural issue: At least the emoticon (y) is not a good choice
since, depending on cultural background people do not understand it to
be a yes but to be an insult.
In my opinion this should be changed to a less missunderstandable
default set.

Thanks & best regards

Thorsten


#3

Hi,

Looks like there is no special processing of the REFER-TO header, in
the code.

what si the best way to add a hook that will allow me to process the
SIP message after the SIP impl is done?

thanks,
Shay


#4

We do support REFER requests and hence Refer-To headers. We don't
support anything but SIP URIs though.

Hope this helps,
Emil

P.S. There was no need to resend your message, please have a little bit
more patience

На 31.03.11 19:05, matasaro@gmail.com написа:

···

Hi,

Looks like there is no special processing of the REFER-TO header, in
the code.

what si the best way to add a hook that will allow me to process the
SIP message after the SIP impl is done?

thanks,
Shay


#5

Thanks Emil

Any idea on how I can hook to the invite or refer impl and provide my own post processing without changing SIP impl code?

I could not find any OSGi events or other events that 3rd party bundles can register to.

Thanks,
Shay

···

-----Original Message-----
From: Emil Ivov [mailto:emcho@jitsi.org]
Sent: Thursday, March 31, 2011 12:26 PM
To: dev@jitsi.java.net
Cc: matasaro@gmail.com
Subject: Re: [jitsi-dev] Re: REFER-TO header

We do support REFER requests and hence Refer-To headers. We don't support
anything but SIP URIs though.

Hope this helps,
Emil

P.S. There was no need to resend your message, please have a little bit more
patience

На 31.03.11 19:05, matasaro@gmail.com написа:
> Hi,
>
> Looks like there is no special processing of the REFER-TO header, in
> the code.
>
> what si the best way to add a hook that will allow me to process the
> SIP message after the SIP impl is done?
>
> thanks,
> Shay


#6

Hey Shay

Any idea on how I can hook to the invite or refer impl and provide my own
post processing without changing SIP impl code?

I don't know whether it's possible to hook to message without touching anything of Jitsi, but you might be able to inject yourself like this:
- Create a new protocol package
- Replace the instantiation of ProtocolProviderServiceSipImpl in ProtocolProviderFactorySipImpl.createService with a class of your own (ProtocolProviderServiceYOURNAMEImpl)
- ProtocolProviderServiceYOURNAMEImpl derives from ProtocolProviderServiceSipImpl
- override initialize and call registerMethodProcessor
- modify the build process to include your new package into the SIP package

No super solution, but should do the job without manipulating lots of the original Jitsi code.

Ingo


#7

Sounds good , I'll give it a try.

Shay

···

-----Original Message-----
From: Bauersachs Ingo [mailto:ingo.bauersachs@fhnw.ch]
Sent: Thursday, March 31, 2011 2:45 PM
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: REFER-TO header

Hey Shay

> Any idea on how I can hook to the invite or refer impl and provide my
> own post processing without changing SIP impl code?

I don't know whether it's possible to hook to message without touching
anything of Jitsi, but you might be able to inject yourself like this:
- Create a new protocol package
- Replace the instantiation of ProtocolProviderServiceSipImpl in
ProtocolProviderFactorySipImpl.createService with a class of your own
(ProtocolProviderServiceYOURNAMEImpl)
- ProtocolProviderServiceYOURNAMEImpl derives from
ProtocolProviderServiceSipImpl
- override initialize and call registerMethodProcessor
- modify the build process to include your new package into the SIP package

No super solution, but should do the job without manipulating lots of the
original Jitsi code.

Ingo