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(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users --
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Funding:
https://www.paypal.me/dcmierla