Re: [OpenSIPS-Users] Passing of PN params from Linphone to opensips

2024-05-31 Thread rvg
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:remote
The third new argument, pn_param is: ABCD1234.org.linphone.phone.voip
The third new argument, pn_param is new2: org.linphone.phone.voip


Regards,

Ronald Geerligs



May 31, 2024 at 1:24 PM, "Bogdan-Andrei Iancu"  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="";+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@lists.opensips.org
> >  http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > 
> 
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Passing of PN params from Linphone to opensips

2024-05-31 Thread Bogdan-Andrei Iancu

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="";+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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Passing of PN params from Linphone to opensips

2024-05-30 Thread Ruben Heusel
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="";+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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users