[SR-Users] IOS 10 and SIP

Federico Cabiddu federico.cabiddu at gmail.com
Sat Jul 1 09:32:26 CEST 2017


Hi,
this really depend on your specific scenarios and how you manage users.
For example if your users can have a plain sip phone and one or more
mobiles, you could store the APN or GCM tokens in usr_preferences table.
When an INVITE comes in for a user you first lookup for the registered
contacts and send the INVITE to them, then you send the push request to
your push service for the mobile devices and, if any new contact appears,
you add new branches with tsilo functions.
Or you could choose to always send a push to be sure that the mobile
devices info are "fresh". Personally I prefer in my deployments this
approach and not to store the users' details for the push in Kamailio but
rather delegate an external service for this. But this is my personal
preference, any other approach is valid.

Cheers,

Federico


On Fri, Jun 30, 2017 at 4:28 PM, Kjeld Flarup <kfc at viptel.dk> wrote:

> Thanks Frederico
>
> Thanks for that. The Tsilo module simplifies this a lot.
>
> One thing I still see as a challenge is in the multi client scenario,
> where we may have a plain SIP phone, an IOS and an Android. How to manage
> which push to enable, or do we always try to push.
>
>
> Med venlig hilsen / Best regards
> Kjeld Flarup (Christensen) M.Sc E.E, Teknisk chef
> Viptel ApS, Hammershusvej 16C, DK-7400 Herning
> Telefon: +45 46949949 <+45%2046%2094%2099%2049>, Telefax: +45 46949950 <+45%2046%2094%2099%2050>, http://viptel.dk
>
> On 2017-06-30 14:31, Federico Cabiddu wrote:
>
> Hi,
> good news: you can easily handle this scenario with Kamailio!
> If you want to have an overall view of VoIP&Push&Kamailio you can have a
> look at this speech I gave at Kamailio World 2015:
> https://www.youtube.com/watch?v=4XIrR9bwUkM.
> And the slides: https://www.kamailio.org/events/2015-KamailioWorld/D
> ay2/20-Federico.Cabiddu-Kamailio-In-A-Mobile-World.pdf.
>
> Cheers,
>
> Federico
>
> On Fri, Jun 30, 2017 at 2:07 PM, Kjeld Flarup <kfc at viptel.dk> wrote:
>
>> Rumours is that Apple no longer accepts apps which can do persistent
>> connections in the background.
>>
>> To my best knowledge that means that IOS no longer supports SIP incoming
>> calls.
>> The app should now use Push Notifications, but SIP does not support this.
>>
>> Anybody faced this problem?
>>
>> Is the solution to call an external program when processing an Invite?
>> This leaves some issues.
>>
>> 1. Should we wait some seconds before proceeding or wait until the Push
>> notification has been processed, to give the app time to register.
>> We cannot start to send invites, before we have a correct registration.
>> An old registration may change ports when the app wakes up and makes a new
>> register via NAT.
>>
>> 2. How do we know, if a given user should have a push notification?
>>
>> 3. Which information do we need to be able to send the push notification?
>>
>> 4. Does this give a penalty to Android users, because we have to wait for
>> IOS?
>>
>>
>>
>> --
>> Med venlig hilsen / Best regards
>> Kjeld Flarup (Christensen) M.Sc E.E, Teknisk chef
>> Viptel ApS, Hammershusvej 16C, DK-7400 Herning
>> Telefon: +45 46949949, Telefax: +45 46949950, http://viptel.dk
>>
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170701/6496c57b/attachment.html>


More information about the sr-users mailing list