Re: [SR-Users] Feature/help android fcm and ios related push notification module

2018-02-08 Thread Emmanuel BUU
I believe that supporting push notifications for iOS and Android is 
becoming quite a common issue ... getting kamailio user to adopt a 
common approach would be nice.


Emmanuel


Le 2018-02-03 à 09:50, Dipen Patel a écrit :

hello..

Now most sip soft client in required push wakeup phone.
So for that required android, ios push notifications module.

I have seen some one have developed 'Tsilo'  module based on GCM but 
it is old.


So if possible so please upgrade for Android FCM so it iwll supported 
for Android and ios both.


Thanks



___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Feature/help android fcm and ios related push notification module

2018-02-06 Thread Vasiliy Ganchev
hi there!

tsilo module does nothing with push notifications. It allows doing late
forking, for "awakened" devices

Regarding how and where to send push:
read (if not done yet):
http://www.kamailio.org/events/2014-KamailioWorld/day2/26-Daniel-Constantin.Mierla-Kamailio.cfg-Async.pdf
https://www.kamailio.org/events/2016-KamailioWorld/Day2/16-Federico.Cabiddu-Thriving-In-A-Mobile-World.pdf

In our deployment, we do not send push notifications directly to APNS/GCM...
But set http request to the intermediate server.

Tasks that kamailio does:
 - knows about push devices (token, type(android/ios), etc ... - all
necessary data available while registration is alive and need to be used to
prepare push message )
 - make late forking (tsilo)
 - send http (http_client/http_async_client modules for this job) request to
an intermediate HTTP server (e.g. when new call arrives)

Tasks for "intermediate HTTP server":
 - receive data from kamailio
 - has knowing how to interact with APNS/GCM...
 - based on that data - send push toward appropriate server (APNS/GCM)

Making this division kamailio knows nothing about google, apple...

There is no magic ready configuration, but there are all necessary tools to
build what you need.

If you ask some more specific questions I would try to answer.

cheers



--
Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users