[Top][All Lists]

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

Re: flexisip_pusher not working.

From: Peio Rigaux
Subject: Re: flexisip_pusher not working.
Date: Wed, 18 Mar 2020 16:50:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

Hi Mikhail.

Just a quick answer as you seems to have a typo in your command.

"flexisip_pusher --pntype apple --appid key_file.pem –pntok xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --debug"

You give the key_file.pem as an argument to --appid options. This is incorrect.

You should give to this argument your appid (and have a [your appid].pem file in the right directory, /etc/flexisip/apn by default)

Please use this command instead :

flexisip_pusher --pntype apple --appid [your app id] --debug –pntok xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


Peio Rigaux
Junior Software Engineer
Belledonne Communications, the company behind Linphone

Le 18/03/2020 à 15:27, Mikhail Sviridov a écrit :

Hi Everyone,


I solved all previous problems and flexisip is working as it should. Now I got to the next problem – push notification.


I followed (very brief) instructions about push notification configuration, but if did not work. I tried flexisip_pusher and got following debug messages:


user@server:~$ flexisip_pusher --pntype apple --appid key_file.pem –pntok xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --debug

Writing logs in : /var/opt/belledonne-communications/log/flexisip/flexisip-pusher.log

2020-03-18 14:06:30:320 flexisip-debug-Searching push notification client on dir [/etc/flexisip/apn]

2020-03-18 14:06:30:321 flexisip-debug-Certificate /etc/flexisip/apn/key_file.pem has a valid expiration: Mar  9 07:48:40 2021 GMT.

2020-03-18 14:06:30:321 flexisip-debug-Adding ios push notification client [key_file]

2020-03-18 14:06:30:322 flexisip-debug-PNR 0x563b21d88dc0 payload is {"aps":{"alert":{"loc-key":"IM_MSG","loc-args":["Pusher"]},"sound":"msg.caf","badge":1},"call-id":"","pn_ttl":2592000,"uuid":"","send-time":"2020-03-18 14:06:30"}

2020-03-18 14:06:30:322 flexisip-error-No push notification client available for push notification request : 0x563b21d88dc0

Segmentation fault


What should I have in the /etc/flexisip/apn/ beside the key file? Should I rename key_file.pem in some “porper” name?


BTW when I ran flexisip as proxy I got following debug:

2020-03-18 13:43:27:925 flexisip-debug-Searching push notification client on dir [/etc/flexisip/apn]

2020-03-18 13:43:27:925 flexisip-debug-Adding ios push notification client [key_file]


Does it mean flexisip itself did find “push notification client”? What is wrong with flexisip_pusher?


With Best Regards,


P.S. If someone interested in working configuration file (simple SIP proxy) I can share it here…



Sent from Mail for Windows 10


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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