[jitsi-dev] My first post to devs


#1

Hi,

As this is my first post in this mailing list, I want to thank you all for
making Jitsi (and Jitsi-meet, videobridge, ...).
I use it every days in my work activities and at home. I am a Software
Tester in a telecom R&D department, so your SIP-phone is very handy.

I usually run Jitsi 2.6, but now I have the need to configure the
User-Agent string, so I build Jitsi from latest commit in master.

I am using NetBeans IDE 8.0.2 with JDK 1.8 in Windows 7 Professional x64,
and it builds and runs with some warnings which I ignore them.

Please give me some advise on how to configure the User-Agent, in
particular:
  -- Is there a runtime/configuration property for the user to set (or to
add as new)?
  -- Should it be set by passing in Java calling options (how?)

(I would prefer to use runtime options or configurable settings, instead of
overriding code of getSipCommUserAgentHeader)

Currently I am getting:
User-Agent: Jitsi2.9.0.build.by.SVNWindows 7

Thanks,
Hélio


#2

As this is my first post in this mailing list, I want to thank you all for
making Jitsi (and Jitsi-meet, videobridge, ...).
I use it every days in my work activities and at home. I am a Software Tester
in a telecom R&D department, so your SIP-phone is very handy.

Thank you for your kind words!

I usually run Jitsi 2.6, but now I have the need to configure the User-Agent
string, so I build Jitsi from latest commit in master.

I am using NetBeans IDE 8.0.2 with JDK 1.8 in Windows 7 Professional x64, and
it builds and runs with some warnings which I ignore them.

Please give me some advise on how to configure the User-Agent, in particular:
  -- Is there a runtime/configuration property for the user to set (or
  to add as new)? -- Should it be set by passing in Java calling options
  (how?)
(I would prefer to use runtime options or configurable settings, instead of
overriding code of getSipCommUserAgentHeader)

Currently I am getting:
User-Agent: Jitsi2.9.0.build.by.SVNWindows 7

"Jitsi" in there currently comes from resources/config/defaults.properties -> service.gui.APPLICATION_NAME

You can change that an produce your own build. It's currently not possible to set it using a runtime property, but the defaults.properties file is eventually going away and it's settings will become regular properties. Can't give you a timeline though.

Thanks,
Hélio

Ingo