|
From: | Vishal Pai |
Subject: | Re: Flexisip config issue |
Date: | Mon, 1 Aug 2022 22:48:16 +0530 |
Hi,
I know that flexisip_pusher is broken in the master branch of Flexisisp, so you cannot use it to debug push notifications right now.
Concerning the message in your syslog, it may happen if you haven't put any APN client certificate in /etc/flexisip/apn called <bundle-id>.voip.prod.pem and <bundle-id>.voip.dev.pem or one of these are expired. You should check the log on Flexisip starting to see whether the required APN certificates are correctly loaded.
On 25/07/2022 10:19, Vishal Pai wrote:
Hello Everyone
I am trying to have push notification using flexisip_pusher and configure the server like below documents
https://wiki.linphone.org/xwiki/wiki/public/view/Flexisip/Configuration/Push%20notifications/
Here on registered request for Ext I am having pn-provider=apns;pn-param=ABCD1234.<bundle-id>.voip;pn-prid=4beeed726fe37ae00cc90c3e9f1f52214603cbfe7ec96af503b5166dcdf7ca88:voip in contact header.
But it is not working, getting below error on manual push.
root@flexisip:/opt/belledonne-communications/bin# ./flexisip_pusher --pn-provider apns --pn-param ABCD1234.<bundle-id>.voip --pn-prid 4beeed726fe37ae00cc90c3e9f1f52214603cbfe7ec96af503b5166dcdf7ca88:voip --apple-push-type PushKit --debug
Writing logs in : /var/opt/belledonne-communications/log/flexisip/flexisip-pusher.log
terminate called after throwing an instance of 'std::runtime_error'
what(): pn-param does not define required service: remote
Aborted
while in syslog i am getting
Jul 25 08:14:50 flexisip flexisip: tport_name_by_url() failed for url sip:xyz.abc.com
Jul 25 08:14:50 flexisip flexisip: tport_name_by_url() failed for url sip:xyz.abc.com
Jul 25 08:15:04 flexisip flexisip: No push notification client available for push notification request : 0x55ad03b72590
Any help can highly apricated.--
François Grisez
Software Engineer
Belledonne Communications
[Prev in Thread] | Current Thread | [Next in Thread] |