[OpenSIPS-Users] Passing of PN params from Linphone to opensips
rvg at rvgeerligs.nl
rvg at rvgeerligs.nl
Fri May 31 12:22:16 UTC 2024
Hi Ruben,
I am also working with Linphone on IOS, Mac and Windows.
I also followed the stepes in https://blog.opensips.org/2020/05/07/sip-push-notification-with-opensips-3-1-lts-rfc-8599-supportpart-i/ and part ii
I have actually succeeded to pass the credentials for the Linphone Callkit Tutorial.
For the pushnotifications to work must pass them to the provider.
In your example all these are empty:
"+pn-provider="";+pn-prid="";+pn-param=""".
I have not been able to pass the params for Linphone IOS. They get rejected by apns apple push notification service as: {"reason":"BadDeviceToken"}
In Linphone IOS you have to turn on Push Notifications
my logs for show the:
The first new argument, pn_provider is: apns
The second new argument, pn_prid is: DAAEB86C0B1AA01477835A95B1180551AD9698923AE63CFAF68DDA5C7F5F9A49:voip&A91E8154F72AF48CF443FDA5C924238588DC253D54BADA2C9B49E53C9FE569BF:remote
The third new argument, pn_param is: ABCD1234.org.linphone.phone.voip&remote
The third new argument, pn_param is new2: org.linphone.phone.voip&remote
Regards,
Ronald Geerligs
May 31, 2024 at 1:24 PM, "Bogdan-Andrei Iancu" <bogdan at opensips.org> wrote:
>
> Hi Ruben,
>
> Could you post the at least the full Contact hdr you have?
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com/
> https://www.siphub.com/
>
> On 13.05.2024 00:06, Ruben Heusel wrote:
>
> >
> > Hey all,
> >
> > i have an opensips running and followed
> > https://blog.opensips.org/2020/05/07/sip-push-notification-with-opensips-3-1-lts-rfc-8599-supportpart-i/
> > to enable Push Notification support.
> > I can connect to the opensips server with linphone, but the PN params
> > i pass are not recognized.
> >
> > DBG:core:parse_params: Parsing params
> > for:[message-expires=2419200;+pn-provider="";+pn-prid="";+pn-param="";+sip.instance="<urn:uuid:ab1e22b7-3e88-00d8-a1b1-6812bf894285>";+org.linphone.specs="lime"]
> > DBG:core:pn_inspect_request: Contact URI has no PN params
> >
> > I have no idea how to troubleshoot this and would appreciate any help.
> >
> > Regards
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240531/0fa19910/attachment.html>
More information about the Users
mailing list