Author |
Message |
SarunyuP Brekeke Member
Joined: 24 Oct 2018 Posts: 19
Location: Thailand
|
Posted: Wed Dec 12, 2018 3:46 am Post subject: Keeping register sip session |
|
|
1. Brekeke Product Name and Version:
Brekeke PBX, Version 3.8.6.4, Pro
WebRTC, Push Notification
2. Java version:
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, 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'd like to know. It is possible to keep register session before it expire.
Because I have a case, if user launch app and register with push token to brekeke pbx and after that a user isn't back to app to re-register for a long time until it expire from server then there is someone call to that user.
Thank you. _________________ Best Regards
=============================
Sarunyu Prasert(Boy)
Entronica Company
============================= |
|
Back to top |
|
janP Brekeke Master Guru
Joined: 25 Nov 2007 Posts: 336
|
Posted: Wed Dec 12, 2018 7:07 pm Post subject: |
|
|
Which SIP phone client are you using?
Does it send REGISTER over UDP? or TCP? or TLS?
> It is possible to keep register session before it expire.
What does "register session" mean? registration record? |
|
Back to top |
|
SarunyuP Brekeke Member
Joined: 24 Oct 2018 Posts: 19
Location: Thailand
|
Posted: Thu Dec 13, 2018 1:16 am Post subject: |
|
|
- I'm using linphone app on iphone.
- It send register over UDP.
- Yes, Registration record.
I want a behavior like line application, Even a user A doesn't open an app for a lone time user B is still calling to user A. _________________ Best Regards
=============================
Sarunyu Prasert(Boy)
Entronica Company
============================= |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Thu Dec 13, 2018 5:57 pm Post subject: |
|
|
> Even a user A doesn't open an app for a lone time user B is still calling to user A.
You don't have to worry about it...
Once an app sent REGISTER with a device token correctly, Brekeke SIP Server stores the device record separately from the registration database.
You can see stored device record at [Push Notification]->[Devices] page.
It means the SIP Server can send a push notification even if the registration record is expired.
Most of SIP client app including Linphone will send REGISTER triggered by a push notification. so you can keep calling to user-A even if he/she doesn't open an app for long time. |
|
Back to top |
|
SarunyuP Brekeke Member
Joined: 24 Oct 2018 Posts: 19
Location: Thailand
|
Posted: Sun Dec 16, 2018 9:41 pm Post subject: |
|
|
OK, It seem i have to change my dial plan because i create dial plan following the brekeke guide and it check user that you want to send push must already register to brekeke. I'll try
Thank you. _________________ Best Regards
=============================
Sarunyu Prasert(Boy)
Entronica Company
============================= |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
|
Back to top |
|
|