The Push Notification on PBX are not works.
Moderator: Brekeke Support Team
The Push Notification on PBX are not works.
1. Brekeke Product Name and Version:
Brekeke PBX, Version 3.8.6.4, Pro
WebRTC, Push Notification
2. Java version:
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
3. OS type and the version:
Red Hat Enterprise Linux Server release 6.6 (Santiago)
2.6.32-504.el6.x86_64
4. UA (phone), gateway or other hardware/software involved:
-
5. Your problem:
I got a problem with using push notification feature on Brekeke PBX. I config a project following a guide (Quickstart Guide PushNotification) to use a push notification. The feature is working fine with sending a test message or sample dial plan to notify incoming call but about 15 minutes later. I can't send a test message and a dial plan no longer works. I have to restart a Brekeke to make it works again and then after that the problem is the same. I also tested a push notification using another push notification app (Pusher) and my application works fine to show a notification. Could you help me to solve this problem or any suggestions would be appreciated.
Thank you
Brekeke PBX, Version 3.8.6.4, Pro
WebRTC, Push Notification
2. Java version:
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
3. OS type and the version:
Red Hat Enterprise Linux Server release 6.6 (Santiago)
2.6.32-504.el6.x86_64
4. UA (phone), gateway or other hardware/software involved:
-
5. Your problem:
I got a problem with using push notification feature on Brekeke PBX. I config a project following a guide (Quickstart Guide PushNotification) to use a push notification. The feature is working fine with sending a test message or sample dial plan to notify incoming call but about 15 minutes later. I can't send a test message and a dial plan no longer works. I have to restart a Brekeke to make it works again and then after that the problem is the same. I also tested a push notification using another push notification app (Pusher) and my application works fine to show a notification. Could you help me to solve this problem or any suggestions would be appreciated.
Thank you
Yes. We already enabled detail logs in [Diagnostics] -> [Debug Logs] ->
[PBX log settings] -> [Categories] -> [PBX Log,Listener,Invite,Register]
And in
[SIP Server log settings] -> [Categories] -> [Listener,Dial Plan,SIP Session,Registrar,Push Notification]
And there are logs in [SIP SERVER] -> [Logs] -> [Push Notification logs]
It looks like this.
https://drive.google.com/file/d/1bOBKB7 ... sp=sharing
[PBX log settings] -> [Categories] -> [PBX Log,Listener,Invite,Register]
And in
[SIP Server log settings] -> [Categories] -> [Listener,Dial Plan,SIP Session,Registrar,Push Notification]
And there are logs in [SIP SERVER] -> [Logs] -> [Push Notification logs]
It looks like this.
https://drive.google.com/file/d/1bOBKB7 ... sp=sharing
There is no error message in sv log when sending a push notification sample message.
Here is a sv log if you would like to help me check it.
https://drive.google.com/file/d/18c4UMv ... sp=sharing
Here is a sv log if you would like to help me check it.
https://drive.google.com/file/d/18c4UMv ... sp=sharing
As you can find in the log, the connection timeout happened.
I think your router doesn't keep the connection more than 15 min.
I remember someone had the same problem and solved it by replacing the router.
There are two solutions.
* Replace the router with another which can keep a connection.
-OR-
* Replace Java 8 with Java 10.
With Java 10, Brekeke SIP Server uses APNS's HTTP/2 API. So the connection timeout issue will not happen.
I think your router doesn't keep the connection more than 15 min.
I remember someone had the same problem and solved it by replacing the router.
There are two solutions.
* Replace the router with another which can keep a connection.
-OR-
* Replace Java 8 with Java 10.
With Java 10, Brekeke SIP Server uses APNS's HTTP/2 API. So the connection timeout issue will not happen.
No, I didn't replace a router.
I share my internet 4G from my phone to develop push feature. Because a router at my office block a SIP and Push notification even i contact a call center to allow it.
I share my internet 4G from my phone to develop push feature. Because a router at my office block a SIP and Push notification even i contact a call center to allow it.
Best Regards
=============================
Sarunyu Prasert(Boy)
Entronica Company
=============================
=============================
Sarunyu Prasert(Boy)
Entronica Company
=============================