BelledonneCommunications / flexisip

Linphone.org mirror for flexisip (git://git.linphone.org/flexisip.git)
http://flexisip.org
GNU Affero General Public License v3.0
144 stars 69 forks source link

Persistent registration #76

Open moisesynfam opened 4 years ago

moisesynfam commented 4 years ago

I have flexisip configured as front-end proxy for an Asterisk server to send push notifications. I would like to know how to configure flexisip to advertise registrations as always available no matter the real state of the connection with the device/app. Right know, if the device doesn't have internet connection or changes network without updating its registration in the new network there's no way for flexisip to locate this device and the asterisk server will drop the registration and further calls won't be processed resulting in no late forking. So if anyone could help I would appreciate it.

0x41mmarVM commented 4 years ago

Ancient issue, but I just ran into this, so here is what I've found, if it's helpful to anyone: One way of doing this is to force a very long expiry for registrations, example: [module::Registrar] max-expires=604800 min-expires=604800