[SR-Users] Calling a mobile SIP client, which needs to update the registration
Kjeld Flarup
kjeld.flarup at liberalismen.dk
Mon Apr 9 20:43:23 CEST 2018
Perhaps this presentation can be of inspiration.
You would need to branch Your call if You have more destinations.
A simpler approach which I use is to loop for some seconds after sending
the push, and see if the registration shows up in the location table.
-------------------- Med Liberalistiske Hilsner ----------------------
Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk
On 04/09/2018 09:36 AM, Igor Olhovskiy wrote:
> Look at https://www.kamailio.org/docs/modules/5.0.x/modules/tsilo.html
>
> Regards, Igor
>
> On Apr 9, 2018, 9:44 AM +0300, Ulrich Henning <HUlrich at telba.de>, wrote:
>>
>> Hi everybody,
>>
>> I am trying to call a sip client on a mobile cellphone, which is
>> registered fine at my Kamailio instance. Everything is working fine
>> if the phone is awake and the mobile app is not sleeping (e.g. energy
>> saving by OS). If the device is sleeping, the cellphone gets a wakeup
>> request call via apple push kit and wakes the app. Currently my app
>> is doing a Register after each wakeup, because the device does not
>> know if the cellular network changed (external IPv4 address with
>> Carrier Grade NAT).
>>
>> At this point an incoming call already got routed to any existing
>> user registrations in userloc db. In this case, if the cellular
>> provided network address changed, the sip client on the device won’t
>> receive any invite of this last call. Instead all last known
>> Contact-URIs are tried to be called until this sip invite times out
>> because no response message is received back in time.
>>
>> I tried to delay the incoming invite message, but this doesn’t seem
>> the right way to go, since I can’t know if the mobile device is
>> actually reachable and this method would potentially delay every call.
>>
>> What is the best approach to solve this issue? I am looking forward
>> for any comment or suggestion.
>>
>> BR,
>>
>> Henning
>>
>> _______________________________________________
>> 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 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/20180409/f32c0d77/attachment.html>
More information about the sr-users
mailing list