Author |
Message |
Truong Brekeke Member
Joined: 21 Apr 2020 Posts: 18
Location: Japan
|
Posted: Sun Apr 26, 2020 10:50 pm Post subject: Cannot connect from Smartphone (Brekeke Phone) to BSS |
|
|
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 |
|
Truong Brekeke Member
Joined: 21 Apr 2020 Posts: 18
Location: Japan
|
Posted: Fri May 08, 2020 1:16 am Post subject: |
|
|
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 |
|
Niloc Brekeke Talented
Joined: 19 Sep 2017 Posts: 70
Location: NL
|
Posted: Fri May 08, 2020 11:57 am Post subject: |
|
|
Where did you get key and certification files? |
|
Back to top |
|
Truong Brekeke Member
Joined: 21 Apr 2020 Posts: 18
Location: Japan
|
Posted: Sun May 10, 2020 2:49 am Post subject: |
|
|
@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 |
|
Tata Brekeke Master Guru
Joined: 27 Jan 2008 Posts: 223
|
Posted: Mon May 11, 2020 9:11 am Post subject: |
|
|
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 |
|
Truong Brekeke Member
Joined: 21 Apr 2020 Posts: 18
Location: Japan
|
Posted: Mon May 11, 2020 8:14 pm Post subject: |
|
|
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 |
|
llucy Brekeke Talented
Joined: 31 Jan 2014 Posts: 52
|
|
Back to top |
|
Truong Brekeke Member
Joined: 21 Apr 2020 Posts: 18
Location: Japan
|
Posted: Mon May 11, 2020 11:56 pm Post subject: |
|
|
@Lucy:
Thank you so much with your suggest. I will research with your link which you sent.
Thank you! _________________ Truong - Nguyen |
|
Back to top |
|
Truong Brekeke Member
Joined: 21 Apr 2020 Posts: 18
Location: Japan
|
Posted: Tue May 12, 2020 7:24 pm Post subject: |
|
|
@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 |
|
tuctran Brekeke Junior Member
Joined: 04 Sep 2014 Posts: 8
|
Posted: Fri May 15, 2020 6:52 pm Post subject: |
|
|
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 |
|
Truong Brekeke Member
Joined: 21 Apr 2020 Posts: 18
Location: Japan
|
Posted: Sun May 17, 2020 5:17 pm Post subject: |
|
|
Hello Tuctran,
Thank you for your support, I got it.
I will try with your support.
Thank you! _________________ Truong - Nguyen |
|
Back to top |
|
|