[jitsi-users] jitsi provisioning


#1

Hi,

Where can I get updated documentation for "provisioning"?
Is this the right url?
http://jitsi.org/index.php/Documentation/Provisioning

Where can I get a list of all the properties I can set without digging into the source code?
(eg. net.java.sip.communicator.*)

Can I somehow "dump" the Jitsi properties to a text file so I can make my custom PHP provisioning script?

Thanks,

Vieri


#2

Is this the file I can use as a template?
C:\Users\ME\AppData\Roaming\Jitsi\sip-communicator.properties
Does it contain ALL possible properties?

Thanks,

Vieri

···

--- On Thu, 4/12/12, Vieri <rentorbuy@yahoo.com> wrote:

Hi,

Where can I get updated documentation for "provisioning"?
Is this the right url?
http://jitsi.org/index.php/Documentation/Provisioning

Where can I get a list of all the properties I can set
without digging into the source code?
(eg. net.java.sip.communicator.*)

Can I somehow "dump" the Jitsi properties to a text file so
I can make my custom PHP provisioning script?


#3

Provisioning doesn't seem to work right in Jitsi 1.1 nightly build 3986, or I'm doing something wrong.

I enabled provisioning to a manually set URL:
https://vm-web/inf/jitsi_prov/?username=${username}&password=${password}&ipaddr=${ipaddr}&hwaddr=${hwaddr}&osname=${osname}&build=${build}&arch=${arch}&uuid=${uuid}

When I restart Jitsi, I notice that C:\Users\ME\AppData\Roaming\Jitsi\sip-communicator.properties's time stamp is updated and that Jitsi asks me username + password on behalf of my provisioning server.

So, apparently, all's well. Except for the fact that my PHP script does the following:

echo "net.java.sip.communicator.impl.gui.main.MainFrame.height=80\n";
echo "net.java.sip.communicator.impl.gui.main.MainFrame.width=400\n";
echo "net.java.sip.communicator.impl.gui.main.MainFrame.x=10\n";
echo "net.java.sip.communicator.impl.gui.main.MainFrame.y=10\n";

but if I open C:\Users\ME\AppData\Roaming\Jitsi\sip-communicator.properties while Jitsi is open (right after provisioning), I can see these values:

net.java.sip.communicator.impl.gui.main.MainFrame.height=600
net.java.sip.communicator.impl.gui.main.MainFrame.width=250
net.java.sip.communicator.impl.gui.main.MainFrame.x=812
net.java.sip.communicator.impl.gui.main.MainFrame.y=175

Is provisioning fully supported for all properties?
What could I try?

Thanks,

Vieri

···

--- On Thu, 4/12/12, Vieri <rentorbuy@yahoo.com> wrote:

> Where can I get updated documentation for
"provisioning"?
> Is this the right url?
> http://jitsi.org/index.php/Documentation/Provisioning
>
> Where can I get a list of all the properties I can set
> without digging into the source code?
> (eg. net.java.sip.communicator.*)
>
> Can I somehow "dump" the Jitsi properties to a text
file so
> I can make my custom PHP provisioning script?

Is this the file I can use as a template?
C:\Users\ME\AppData\Roaming\Jitsi\sip-communicator.properties
Does it contain ALL possible properties?


#4

Hey Vieri,

Where can I get updated documentation for

"provisioning"?

Is this the right url?
http://jitsi.org/index.php/Documentation/Provisioning

Where can I get a list of all the properties I can set
without digging into the source code?
(eg. net.java.sip.communicator.*)

Can I somehow "dump" the Jitsi properties to a text

file so

I can make my custom PHP provisioning script?

Is this the file I can use as a template?
C:\Users\ME\AppData\Roaming\Jitsi\sip-communicator.properties
Does it contain ALL possible properties?

Provisioning doesn't seem to work right in Jitsi 1.1 nightly build 3986, or I'm doing something wrong.

I enabled provisioning to a manually set URL:
https://vm-web/inf/jitsi_prov/?username={username}&password={password}&ipaddr={ipaddr}&hwaddr={hwaddr}&osname={osname}&build={build}&arch={arch}&uuid={uuid}

When I restart Jitsi, I notice that C:\Users\ME\AppData\Roaming\Jitsi\sip-communicator.properties's time stamp is updated and that Jitsi asks me username + password on behalf of my provisioning server.

So, apparently, all's well.

Not really. Jitsi will ask you for your password before it contacts the
server, because it sees it in the provisioning URL. In other words, this
doesn't give you an indication as to whether or not a connection is
successful.

Except for the fact that my PHP script does the following:

echo "net.java.sip.communicator.impl.gui.main.MainFrame.height=80\n";
echo "net.java.sip.communicator.impl.gui.main.MainFrame.width=400\n";
echo "net.java.sip.communicator.impl.gui.main.MainFrame.x=10\n";
echo "net.java.sip.communicator.impl.gui.main.MainFrame.y=10\n";

Have you confirmed that these actually go through the network and reach
Jitsi? I believe we print whatever provisioning properties we receive in
the log files.

Have you checked those out?

Another way of seeing what's happening is to temporarily use an http URL
and inspect the traffic with wireshark.

Hope this helps,
Emil

···

On 13.04.12 12:08, Vieri wrote:

--- On Thu, 4/12/12, Vieri <rentorbuy@yahoo.com> wrote:

but if I open C:\Users\ME\AppData\Roaming\Jitsi\sip-communicator.properties while Jitsi is open (right after provisioning), I can see these values:

net.java.sip.communicator.impl.gui.main.MainFrame.height=600
net.java.sip.communicator.impl.gui.main.MainFrame.width=250
net.java.sip.communicator.impl.gui.main.MainFrame.x=812
net.java.sip.communicator.impl.gui.main.MainFrame.y=175

Is provisioning fully supported for all properties?
What could I try?

Thanks,

Vieri