Hello everyone,
I have hard times configuring FlexiSIP as Push Gateway with Asterisk as a backend SIP server. I hope someone can help.
I've configured Firebase Cloud Messaging and built Linphone-android with my app id, key, etc.
I've tested the configuration and app with flexisip_pusher, it awakens my app successfully (I see a registration right after push).
When the mobile app is active, calls reach it without a problem. But when I close the app, no push notification is sent and calls fail with '503: Service unavailable'.
In a desperate attempt to figure it out, I've built FlexiSIP from source with additional debug output. My debug statements show that in
PushNotification::onRequest needsPush(sip) is
True, but nested 'if' block is skipped because,
apparently, transaction
is NULL.
Configuration file and some logs are in the attachment.
I appreciate your help.
Thank you.
Best regards,
Artem