Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Cannot connect from Smartphone (Brekeke Phone) to BSS
Author Message
Truong
Brekeke Member


Joined: 21 Apr 2020
Posts: 18
Location: Japan

PostPosted: Sun Apr 26, 2020 10:50 pm    Post subject: Cannot connect from Smartphone (Brekeke Phone) to BSS Reply with quote

1. Brekeke Product Name and Version: 3.9.5.8

2. Java version: 1.8.0_251

3. OS type and the version: Window 10

4. UA (phone), gateway or other hardware/software involved: NA

5. Your problem:
when connect from Smartphone by software Brekeke phone, I can not connect, message as below:
[Error
Failed to login to pbx, err:Timeout ]

Please support me.
Thank you so much!

_________________
Truong - Nguyen
Back to top
View user's profile
Truong
Brekeke Member


Joined: 21 Apr 2020
Posts: 18
Location: Japan

PostPosted: Fri May 08, 2020 1:16 am    Post subject: Reply with quote

I am sorry but with brekeke PBX, I am newbie. It is very difficult for me to connect from Smartphone (Brekeke phone) to Brekeke SIP Server although i tried with document.
I dont know where is wrong and if you did setup it successfully then support me.
My problem:
- i already get 02 file certification and key.
But in the file server.xml i try to config but not run.

Thank you so much!

_________________
Truong - Nguyen
Back to top
View user's profile
Niloc
Brekeke Talented


Joined: 19 Sep 2017
Posts: 70
Location: NL

PostPosted: Fri May 08, 2020 11:57 am    Post subject: Reply with quote

Where did you get key and certification files?
Back to top
View user's profile
Truong
Brekeke Member


Joined: 21 Apr 2020
Posts: 18
Location: Japan

PostPosted: Sun May 10, 2020 2:49 am    Post subject: Reply with quote

@Niloc: I have a domain, this domain did install certification.
I copy content key and save to file name: .key
copy content crt and save to file name: .crt
and then convert from 2 file .key and .crt to file .psk

I used this file .psk to configuration in the file server.xml
but I don't know where I did wrong. You have a lot of experience in this, could you please help me?

Thank you so much!

_________________
Truong - Nguyen
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Mon May 11, 2020 9:11 am    Post subject: Reply with quote

Is it a certificate which the SIP client can accept?
If it is a self-signed certificate, the SIP client will not accept the certificate until you installed the certificate file in the client side.
Back to top
View user's profile
Truong
Brekeke Member


Joined: 21 Apr 2020
Posts: 18
Location: Japan

PostPosted: Mon May 11, 2020 8:14 pm    Post subject: Reply with quote

it is not a self-signed certificate.

Currently Apache Tomcat service can not start, when try to start it show message:

Windows could not start the Apache Tomcat 8.5 Tomcat8 service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.


I don't know that relate to my problem or not.

Thank you!

_________________
Truong - Nguyen
Back to top
View user's profile
llucy
Brekeke Talented


Joined: 31 Jan 2014
Posts: 52

PostPosted: Mon May 11, 2020 11:09 pm    Post subject: Reply with quote

Truong,

I think this page would help,

https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html

You need to describe the details of the configuration you have changed.

Lucy
Back to top
View user's profile
Truong
Brekeke Member


Joined: 21 Apr 2020
Posts: 18
Location: Japan

PostPosted: Mon May 11, 2020 11:56 pm    Post subject: Reply with quote

@Lucy:
Thank you so much with your suggest. I will research with your link which you sent.

Thank you!

_________________
Truong - Nguyen
Back to top
View user's profile
Truong
Brekeke Member


Joined: 21 Apr 2020
Posts: 18
Location: Japan

PostPosted: Tue May 12, 2020 7:24 pm    Post subject: Reply with quote

@Lucy: I did try but can not success.

I did some step as below:
+ I get file .crt and file .key from domain.
and then convert to file .pfx

+ Go to to [SIP SERVER] -> [Configuration] -> [SIP] -> [Key and Certificate] and upload file above.

+ Access to path : C:\Program Files\Brekeke\pbx\conf
then creat new folder with name: keystore
paste file.pfx above to this folder.

+ Access to path: C:\Program Files\Brekeke\pbx\conf\server.xml
and add the code below:
[<Connector
protocol="org.apache.coyote.http11.Http11NioProtocol"
port="8443" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="C:\Program Files\Brekeke\pbx\conf\keystore\abc.pfx" keystorePass="123456"
clientAuth="false" sslProtocol="TLS"/>
]
I don't know where is wrong.
Please support me about this.
Thank you so much!

_________________
Truong - Nguyen
Back to top
View user's profile
tuctran
Brekeke Junior Member


Joined: 04 Sep 2014
Posts: 8

PostPosted: Fri May 15, 2020 6:52 pm    Post subject: Reply with quote

Hello Truong,

I think, the keystorefile you added in the <Connector> element is not corrected. Please check following things and try again.
- Use .keystore instead of .pfx file. So convert the .crt to .keystore file (JKS) and use it.
- If you use Windows, you should add the path like this: keystoreFile="C:\\Program Files\\Brekeke\\pbx\\conf\\keystore\\<yourkeystore>.jks"


Thanks,
Back to top
View user's profile
Truong
Brekeke Member


Joined: 21 Apr 2020
Posts: 18
Location: Japan

PostPosted: Sun May 17, 2020 5:17 pm    Post subject: Reply with quote

Hello Tuctran,
Thank you for your support, I got it.
I will try with your support.

Thank you!

_________________
Truong - Nguyen
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1