flexisip-developers
[Top][All Lists]
Advanced

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

[Flexisip-developers] not sending firebase push notification


From: Brian J. Murrell
Subject: [Flexisip-developers] not sending firebase push notification
Date: Wed, 24 Jul 2019 09:54:42 -0400
User-agent: Evolution 3.32.3 (3.32.3-1.fc30)

I have flexisip set up a proxy for my Asterisk server and generally
speaking calls seem to work fine.  I can call my linphone mobile phone
from an extension and linphone rings and answers and audio is heard in
both directions.

But linphone only rings if it is "awake".  If the phone goes to sleep
linphone won't ring.

I have the push module configured in my flexisip.conf as follows:

[module::PushNotification]
enabled=true
filter=user-agent == 'LinphoneAndroid/4.1.1-debug'
timeout=1
max-queue-size=100
time-to-live=2592000
apple=false
apple-certificate-dir=/etc/flexisip/apn
google=false
google-projects-api-keys=
firebase=true
firebase-projects-api-keys=[redacted]:[redacted]
windowsphone=false
windowsphone-package-sid=
windowsphone-application-secret=
no-badge=false
external-push-uri=
external-push-method=GET

With my project app id and key.  Those values are correct as I can see
push notifications coming to the phone using flexisip_pusher.

FWIW, adding the filter=user-agent was just a stab in the dark.  I
don't really care to filter which devices get pushes as the only thing
that will be registering to flexisip will be mobile phones which will
all want push.

A log of a call being made to a linphone client, through flexisip from
Asterisk can be found at:

http://brian.interlinx.bc.ca/flexisip-no-push.log

I don't see anything in there indicating that flexisip is sending a
push.

Cheers,
b.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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