[sr-dev] Kamailio push for Android VoIP Application and VoIP Contacts update

Carsten Bock carsten at ng-voice.com
Thu Mar 9 11:25:13 CET 2017


Hi,

SIP has a mechanism for pushing list updates - it's called RLS -
Remote-List-Subscription. But for this to work, you have to use XCAP
for the server storage.

Apart from that, you could use some SUBSCRIBE/NOTIFY mechanism
(similar to MWI), where your client sends a SUBSCRIBE to the server
and afterwards gets a NOTIFY, if the number of messages of your
Voicemail changes.

You can in fact also simply send a NOTIFY to your App without prior
SUBSCRIBE, to trigger events (e.g. several desktop phones have this
functionality to reload config or to reboot).

If you control the SIP-Stack and the App, you have the power... ;-)
But we can't help you on changing your app....

Thanks,
Carsten

2017-03-09 10:44 GMT+01:00 M S <shaheryarkh at gmail.com>:
> You do know that push notifications are actually sent by google servers,
> don't you? so unless you register your app for push notification with
> google, you can't use their push service.
>
> Alternatively, you can re-invent the wheel and write up your own service for
> push notification which will be installed separately and as a background
> service on Android device. This service would run all the time even when
> device screen is off or locked and register itself to your own push server
> and maintain a constant contact with it even when device's network switches
> from wifi to cellular data and vice versa. This push server will then be
> used to relay whatever you want to push to android app through your push
> service running on that android from kamailio.
>
> Developing such a service is beyond the scope of kamailio, so i suggest you
> better contact Android dev forums for this.
>
> Thank you.
>
>
>
> On Wed, Mar 8, 2017 at 9:01 AM, sscc <androidsscc at gmail.com> wrote:
>>
>> good day, i have a running kamailio server having 200 users. I maintain
>> the
>> user ids in a vcf (vCard Format) form. i have developed an Android VoIP
>> application. Android application is given to the user along with the
>> contact
>> vcf. The contact list get increased day by day and consequently the user
>> ids
>> in vcf (vCard Format) as well. the application is also updated. Aim is to
>> update application and the contact list by sending push notification to
>> user. (we don't want to place our application at play store). i want to do
>> push notification from Kamilio server for application and contact list
>> update. Is there any way to do push notification from server to users to
>> update the app and VoIP contact list. regards sscc
>>
>>
>>
>> --
>> View this message in context:
>> http://sip-router.1086192.n5.nabble.com/Kamailio-push-for-Android-VoIP-Application-and-VoIP-Contacts-update-tp156633.html
>> Sent from the Development mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>



-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH
Millerntorplatz 1
20359 Hamburg / Germany

http://www.ng-voice.com
mailto:carsten at ng-voice.com

Office +49 40 5247593-40
Fax +49 40 5247593-99

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/



More information about the sr-dev mailing list