linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] flexisip pushnotifications not working


From: KGarifullin
Subject: Re: [Linphone-developers] flexisip pushnotifications not working
Date: Thu, 3 Mar 2016 16:18:47 +0200


sorry, I think I understood about generic push ....  that's not what I need

this log from flexisip_pusher...

# flexisip_pusher --pntype apple --appid xxx.xxxxx.xxx.prod --pntok xxxxxxxxxxxxxxxxxxxxxxx --debug
D: Push notification payload is {"aps":{"alert":{"loc-key":"IM_MSG","loc-args":["Pusher"]},"sound":"msg.caf","badge":1},"call-id":"","pn_ttl":60}
D: Searching push notification client on dir [/etc/flexisip/apn]
D: Certificate /etc/flexisip/apn/xxx.xxxxx.xxx.prod.pem is expired or not yet valid! Not Before: Jan 29 11:33:12 2016 GMT, Not After: Feb 27 11:33:12 2017 GMT
Certificate /etc/flexisip/apn/xxx.xxxxx.xxx..prod.pem is expired! You won't be able to use it for push notifications. Please update your certificate or remove it entirely.
D: Adding ios push notification client [xxx.xxxxx.xxx.prod]
D: Certificate /etc/flexisip/apn/xxx.xxxxx.xxx.dev.pem is expired or not yet valid! Not Before: Jan 29 10:21:53 2016 GMT, Not After: Jan 28 10:21:53 2017 GMT
Certificate /etc/flexisip/apn/xxx.xxxxx.xxx.dev.pem is expired! You won't be able to use it for push notifications. Please update your certificate or remove it entirely.
D: Adding ios push notification client [xxx.xxxxx.xxx.dev]
D: Start PushNotificationService
D: PushNotificationService Start
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem next, queue_size=1
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem PNR 0x1ee7e88 resolved
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem PNR 0x1ee7e88 connected
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem PNR 0x1ee7e88 handshake done
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem PNR 0x1ee7e88 send data
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem PNR 0x1ee7e88 write done
D: Waiting for PushNotificationService to end
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem PNR 0x1ee7e88 nothing read, assuming success
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem next, queue_size=0
D: PushNotificationClient xxx.xxxxx.xxx.prod.pem idle
D: Stopping PushNotificationService
D: PushNotificationService End


All certificate expires in next year and i not understand why flexisip show me this warning .

When i testing flexisip_pusher all work , but when flexisip server running push message not reciving !



Guillaume <address@hidden>
Sent by: address@hidden

03.03.2016 10:31

Please respond to
address@hidden

To
address@hidden
cc
Subject
Re: [Linphone-developers] flexisip pushnotifications not working





Hi,

Are you sure that the certificate for the push is valid? Did you try connecting to the server using the openssl command line?

Also, what is your flexisip.conf push notification setup ? (you can redact sensible information)
It looks like you are using a generic push notification, which might not be what you actually want..

Guillaume Bienkowski
address@hidden



Le 2 mars 2016 à 18:00, address@hidden a écrit :


Hi


flexisip +linphone-iphone and linphone-android client   - all working fine, except pushnotification....


pusher working - all ok , push messege sending


new Contact: is emitted in REGISTERs  - ok


but pushnotification in flexisip still not working...



Mar 02 17:29:06 sip.xxxxxxxxx.xx  flexisip[17177]: PushNotificationClient generic next, queue_size=1

Mar 02 17:29:06  sip.xxxxxxxxx.xx flexisip[17177]: PushNotificationClient generic PNR 0x2188708 resolved

Mar 02 17:29:06  sip.xxxxxxxxx.xx flexisip[17177]: PushNotificationClient generic PNR 0x2188708 connect failed: Connection refused

Mar 02 17:29:06  sip.xxxxxxxxx.xx flexisip[17177]: PushNotificationClient generic PNR 0x2188708 disconnected

Mar 02 17:29:06  sip.xxxxxxxxx.xx flexisip[17177]: PNR 0x2188708: error Error

Mar 02 17:29:06  sip.xxxxxxxxx.xx flexisip[17177]: Notifying call context...

Mar 02 17:29:06  sip.xxxxxxxxx.xx flexisip[17177]: Early fail due to all push requests having failed

Mar 02 17:29:06  sip.xxxxxxxxx.xx flexisip[17177]: PushNotificationClient generic next, queue_size=0




Please help ....
_______________________________________________
Linphone-developers mailing list

address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]