Jitsi provisioning proxy port bug

64 views
Skip to first unread message

Julian Sanchez (Bidda)

unread,
Jul 27, 2018, 4:20:31 AM7/27/18
to sipxcom-dev
Hi,

Setting transport for proxy (net.java.sip.communicator.impl.protocol.sip/connection/proxy/PREFERRED_TRANSPORT) under lines SIP on Jitsi provisioning does not reflect the configuration on the softphone, other values like Porxy and Port work well.

Upon authentication on provisioning Jitsi throws an alert window saying "An error occurred while logging in with account: User name: 201, Server name: SIP:server.sipxcom.com. On the preferences, account, connection preferred transport is empty.

Logs shows:
2018-07-27 03:16:00.691 WARNING: [61] service.resources.AbstractResourcesService.getSettingsInt().607 Missing resource for key: net.java.sip.communicator.SIP_PREFERRED_CLEAR_PORT
...
2018-07-27 03:16:01.304 WARNING: [61] service.resources.AbstractResourcesService.getSettingsInt().607 Missing resource for key: net.java.sip.communicator.SIP_PREFERRED_SECURE_PORT

Julian

Mircea Carasel

unread,
Jul 27, 2018, 6:12:52 AM7/27/18
to Julian Sanchez (Bidda), sipxcom-dev
Hi,

There was an issue with PREFERRED_TRANSPORT - check ticket http://jira.sipxcom.org/browse/SIPX-620

I tested now and looks like PREFERRED_TRANSPORT is not populated at all in <mac>.properties provisioning file (you can check if a key is filled by downloading from UI, in phone page the <mac>/properties file

Here is what we have:

net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PROXY_ADDRESS=1.2.3.6
net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PROXY_PORT=5060
net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PREFFERED_TRANSPORT=

we are not adding net.java.sip.communicator.SIP_PREFERRED_CLEAR_PORT or net.java.sip.communicator.SIP_PREFERRED_SECURE_PORT

It might be that you are using a newer version on jitsi, and the provisioning support got changed and needs to be upgraded. What jitsi version are you using

Mircea


--
You received this message because you are subscribed to the Google Groups "sipxcom-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-dev+unsubscribe@googlegroups.com.
To post to this group, send email to sipxc...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipxcom-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/sipxcom-dev/CAMwOZyHmYfPZeW%2BK_jVOZLNMo_o4d6oWJuBoXBnTtD6KqzOb7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Julian Sanchez (Bidda)

unread,
Jul 27, 2018, 6:31:45 AM7/27/18
to Mircea Carasel, sipxcom-dev
Thanks Mircea, we are using 2.11.5604.

Where are located <mac>/properties files?

Julian+

El vie., 27 de jul. de 2018 a la(s) 05:12, Mircea Carasel <mir...@ezuce.com> escribió:
Hi,

There was an issue with PREFERRED_TRANSPORT - check ticket http://jira.sipxcom.org/browse/SIPX-620

I tested now and looks like PREFERRED_TRANSPORT is not populated at all in <mac>.properties provisioning file (you can check if a key is filled by downloading from UI, in phone page the <mac>/properties file

Here is what we have:

net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PROXY_ADDRESS=1.2.3.6
net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PROXY_PORT=5060
net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PREFFERED_TRANSPORT=

we are not adding net.java.sip.communicator.SIP_PREFERRED_CLEAR_PORT or net.java.sip.communicator.SIP_PREFERRED_SECURE_PORT

It might be that you are using a newer version on jitsi, and the provisioning support got changed and needs to be upgraded. What jitsi version are you using

Mircea


On Fri, Jul 27, 2018 at 11:20 AM, Julian Sanchez (Bidda) <j...@bidda.co> wrote:
Hi,

Setting transport for proxy (net.java.sip.communicator.impl.protocol.sip/connection/proxy/PREFERRED_TRANSPORT) under lines SIP on Jitsi provisioning does not reflect the configuration on the softphone, other values like Porxy and Port work well.

Upon authentication on provisioning Jitsi throws an alert window saying "An error occurred while logging in with account: User name: 201, Server name: SIP:server.sipxcom.com. On the preferences, account, connection preferred transport is empty.

Logs shows:
2018-07-27 03:16:00.691 WARNING: [61] service.resources.AbstractResourcesService.getSettingsInt().607 Missing resource for key: net.java.sip.communicator.SIP_PREFERRED_CLEAR_PORT
...
2018-07-27 03:16:01.304 WARNING: [61] service.resources.AbstractResourcesService.getSettingsInt().607 Missing resource for key: net.java.sip.communicator.SIP_PREFERRED_SECURE_PORT

Julian

--
You received this message because you are subscribed to the Google Groups "sipxcom-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-dev...@googlegroups.com.

Mircea Carasel

unread,
Jul 27, 2018, 6:40:30 AM7/27/18
to Julian Sanchez (Bidda), sipxcom-dev
you can download it from UI, jitsi phone page, on the right.
or, you can find it here: var/sipxdata/configserver/phone/profile/tftproot/111111111111.properties

Mircea

To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-dev+unsubscribe@googlegroups.com.

Claas Beyersdorf

unread,
Jul 28, 2018, 5:10:36 AM7/28/18
to sipxcom-dev
Hi Guys,

sorry for this we may have missed to correct the typo inside the velocity template file as we worked on SIPX-620. Seen this exactly problem a few weeks ago and fixed it onsite for a customer (took really long to find). Wanted to make the properly fix in Repo but forgot after a few days.

Fix is really easy but currently I have no time to make it properly maybe someone else can fix it inside git.
I will describe the workaround which is also the fix (if made inside REPO).

Open the file: /etc/sipxpbx/jitsi/jitsi.properties.vm
Search for:
#set ($proxyPrefTransport = $line.getValue().getSettingValue('net.java.sip.communicator.impl.protocol.sip/connection/proxy/PREFFERED_TRANSPORT'))
#if($proxyPrefTransport)
net.java.sip.communicator.impl.protocol.sip.acc${line.getKey()}.PREFFERED_TRANSPORT=$proxyPrefTransport
#end

Replace every PREFFERED_TRANSPORT with the correct PREFERRED_TRANSPORT.

As I said it is only a small typo which costs you a lot of time to find. ;) If you change this and reprovision via GUI you should get what you want. If someone finds the time to make this fix and make a PR I'm pretty sure this will accepted in no time :)

Sorry that I had no time to fix it properly.

Regards,
Claas

IANT -
APPLIED NGN-TECHNOLOGIES 
VoIP/UC Consulting,
Turn-Key VoIP/UC Solutions 
and More... 

IANT GmbH
Salzdahlumer Straße 46/48
D-38302 Wolfenbüttel


Am Freitag, 27. Juli 2018 12:12:52 UTC+2 schrieb Mircea Carasel:
Hi,

There was an issue with PREFERRED_TRANSPORT - check ticket http://jira.sipxcom.org/browse/SIPX-620

I tested now and looks like PREFERRED_TRANSPORT is not populated at all in <mac>.properties provisioning file (you can check if a key is filled by downloading from UI, in phone page the <mac>/properties file

Here is what we have:

net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PROXY_ADDRESS=1.2.3.6
net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PROXY_PORT=5060
net.java.sip.communicator.impl.protocol.sip.acc1532684993447.PREFFERED_TRANSPORT=

we are not adding net.java.sip.communicator.SIP_PREFERRED_CLEAR_PORT or net.java.sip.communicator.SIP_PREFERRED_SECURE_PORT

It might be that you are using a newer version on jitsi, and the provisioning support got changed and needs to be upgraded. What jitsi version are you using

Mircea

On Fri, Jul 27, 2018 at 11:20 AM, Julian Sanchez (Bidda) <j...@bidda.co> wrote:
Hi,

Setting transport for proxy (net.java.sip.communicator.impl.protocol.sip/connection/proxy/PREFERRED_TRANSPORT) under lines SIP on Jitsi provisioning does not reflect the configuration on the softphone, other values like Porxy and Port work well.

Upon authentication on provisioning Jitsi throws an alert window saying "An error occurred while logging in with account: User name: 201, Server name: SIP:server.sipxcom.com. On the preferences, account, connection preferred transport is empty.

Logs shows:
2018-07-27 03:16:00.691 WARNING: [61] service.resources.AbstractResourcesService.getSettingsInt().607 Missing resource for key: net.java.sip.communicator.SIP_PREFERRED_CLEAR_PORT
...
2018-07-27 03:16:01.304 WARNING: [61] service.resources.AbstractResourcesService.getSettingsInt().607 Missing resource for key: net.java.sip.communicator.SIP_PREFERRED_SECURE_PORT

Julian

--
You received this message because you are subscribed to the Google Groups "sipxcom-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-dev...@googlegroups.com.

Mircea Carasel

unread,
Jul 29, 2018, 12:55:05 AM7/29/18
to Claas Beyersdorf, sipxcom-dev
Hi,
Benedikt Machens has commit rights AFAIK. If he is around, maybe he can open a new ticket and commit the fix in 18.08 release (sipx-620 ticket is already closed)
Thanks, 
Mircea

Reply all
Reply to author
Forward
0 new messages