flexisip-developers
[Top][All Lists]
Advanced

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

Re: [Flexisip-developers] Help needed with Push Gateway configuration


From: Artem Godlevskyi
Subject: Re: [Flexisip-developers] Help needed with Push Gateway configuration
Date: Thu, 28 Mar 2019 12:35:50 +0200

Solved!

I've found that Registrar doesn't handle REGISTER if a domain is an IP address. Using FQDN of the asterisk server helped.

It was fun digging through the code.

Cheers,
Artem

On Thu, Mar 21, 2019 at 11:33 PM Artem Godlevskyi <address@hidden> wrote:
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

reply via email to

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