|
From: | François Grisez |
Subject: | Re: Flexisip config issue |
Date: | Mon, 1 Aug 2022 14:19:30 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
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.
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] |