I have attached the push notification file and in the local_ext dialplan i have changed the below.
View attachment 645
You will find it in your firebase console.Hi, Amit,
What do we write in the fields below? Where will I find it?
define("FIREBASE_API_KEY","firebase key");
define("REGISTRATION_ID","REgistrarion ID");
Good question. I also wonder about this.Dears,
I am not following the discussion, cause i dont know nothing about Firebase as well Android app dev. I have one initial question:
Do i have to rebuild Linphone to get push-notification to work on whatever smartphone i want? Or Linphone push notification will work only on my smartphone as it is logged in the same google account i have firebase service configured?
I do know that Linphone has a solution to do it, but it uses Flexisp push/sip gateway. It is confusing.
Regards!
Hi Amit thanks for this, I implemented in the same way in local_ext and the push notification works but the app does not ring (the caller hears ringing but thew app is just waiting for a call). Even after waiting for the delay. It's as if after the delay the system is not sending the call. Any ideas? I wonder how it works for you or if you had a similar problem? Dialling non push extensions works as normal (after the delay).I have attached the push notification file and in the local_ext dialplan i have changed the below.
View attachment 645
ok I solved the not ringing issue by changing my dialplan to use sofia_contact instead of user (so all multiple registrations ring)Hi Amit thanks for this, I implemented in the same way in local_ext and the push notification works but the app does not ring (the caller hears ringing but thew app is just waiting for a call). Even after waiting for the delay. It's as if after the delay the system is not sending the call. Any ideas? I wonder how it works for you or if you had a similar problem? Dialling non push extensions works as normal (after the delay).