[SR-Users] Linphone push notifications (iOS) and kamailio

Gerry | Rigatta gjacobsen at rigatta.com
Fri Sep 25 13:05:41 CEST 2020


Hi Jan,

we had similar issues with Linphone Android. Linphone would wakeup on the first push and only on the second push the phone would ring. If I recall correctly the Linphone wake up routines contained some bugs.

Cheers

Gerry


> On 25 Sep 2020, at 11:53, Jan Rozhon <jan.rozhon at gmail.com> wrote:
> 
> Yes, sure. Linphone sends registration, I detect it in kamailio and call t_continue which results in INVITE going to Linphone. The thing is, although iPhone get awake and linphone is open to the foreground it does not accept the call based on the user action in the "swipe/accept/reject" menu coming from the push notification. Nor it allows me to directly  accept the call, it just puts it in wait and I need to "click" through the menus to accept it. This is not intuitive and definitely not user-friendly.
> 
> There seems to be another glitch as well. When I click my way to accepting the call, there is no audio although SDP is perfectly fine (same as when the iPhone is unlocked and linphone running). This leads me to an idea that linphone need some sort od ID for the call in the push notification. But I have no clue what it should look like.
> 
> Regards, Jan
> 
> Dne 25.09.2020 v 11:27 Daniel-Constantin Mierla napsal(a):
>> Hello,
>> 
>> no direct experience with Linphone, but upon receiving a push notification, usually the SIP app sends a REGISTER requests to Kamailio and then Kamailio forwards the suspended INVITE. I suggest you run a sip traffic sniffer on kamailio server (sngrep, ngrep, ...) as well as Kamailio with debug=3 and watch the syslog to see what kind of processing happens at that time.
>> 
>> Cheers,
>> Daniel
>> 
>> On 25.09.20 11:12, Jan Rozhon wrote:
>>> Hi,
>>> 
>>> I know this is kind of a wrong forum for this question, but I have got
>>> no answer from linphone forum so I am trying my luck here.
>>> 
>>> I have kamailio with pretty much the default config with slight
>>> modification enabling me the push notifications for iOS (via curl) and
>>> late forking (t_suspend, t_continue). But my linphone on iOS although
>>> gets awaken does not present me with the call I am trying to establish.
>>> 
>>> Did anyone of you guys experimented with similar setup? If so, to what
>>> degree were you successful and can you share some insights especially on
>>> the format of push notification where I suspect my problem to be rooted?
>>> 
>>> Thanks in advance and once again, sorry if I am off-topic too much.
>>> 
>>> Regards, Jan
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>> -- 
>> Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com/>
>> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>> Funding: https://www.paypal.me/dcmierla <https://www.paypal.me/dcmierla>_______________________________________________
> 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/20200925/04b27829/attachment.htm>


More information about the sr-users mailing list