Fix PREFERRED_SIP_PORT property

cusax-fix
Damian Minkov 19 years ago
parent 048be9a78f
commit c204302d02

@ -209,7 +209,7 @@ public class ProtocolProviderServiceSipImpl
* the port where they would prefer us to bind our sip socket.
*/
private static final String PREFERRED_SIP_PORT =
"net.java.sip.communicator.impl.protocol.sip.PREFERRED_SIP_PORT";
"net.java.sip.communicator.service.protocol.sip.PREFERRED_SIP_PORT";
/**
@ -607,8 +607,8 @@ protected void initialize(String sipAddress,
//init proxy port
int preferredSipPort = ListeningPoint.PORT_5060;
String proxyPortStr = (String) accountID.getAccountProperties()
.get(PREFERRED_SIP_PORT);
String proxyPortStr = SipActivator.getConfigurationService().
getString(PREFERRED_SIP_PORT);
if (proxyPortStr != null && proxyPortStr.length() > 0)
{

Loading…
Cancel
Save