Giter Site home page Giter Site logo

Comments (10)

cdeschambc avatar cdeschambc commented on May 28, 2024

Hello,
This version of the app does not have background mode enabled.
it relies upon push notifications to restart upon an incoming call.
did you make your tests using the store app ? is it connected to the internet ?

from linhome-android.

a-march avatar a-march commented on May 28, 2024

Good day! yes, I took the application here https://play.google.com/store/apps/details?id=org.linhome Internet is there Linphone is working.

from linhome-android.

cdeschambc avatar cdeschambc commented on May 28, 2024

Hi,
Background mode activation is planned for the next release.
This version should wake up the app through notification though.
Can you please send a log of the app (from settings menu) after starting it so we can check it registers properly to push notifications ?
Thank you

from linhome-android.

a-march avatar a-march commented on May 28, 2024

https://www.linphone.org:444//tmp/6086f5cb3dc00_3f5e308c19ebc34cfd27.gz

from linhome-android.

cdeschambc avatar cdeschambc commented on May 28, 2024

Good day! and thanks for the log file.
I see your app registers properly to Linhome server with a push enabled account automatically created.
REGISTER sip:sip.linhome.org SIP/2.0
[..]
Contact: sip:[email protected]:46855;pn-type=firebase;app-id=1041242817246;pn-tok=fZY4-4paTKmNmE3Yc_SIye:APA91bGl3dPS30HJWstnuRV4pKVxSsDyE_6hGU4cYrzwFcvmG4orjZ6pjoYRpTyMqFCzGkfkPo32ozI2L1qMdQHl99XcKuDOUH8Xh5rzhbc-pcdDKNCL3d3V4gDIqlB7EQX0AqWNPxTs;pn-timeout=0;pn-silent=1;transport=tls;+sip.instance="urn:uuid:2766b3a9-3ee6-00ff-a401-155c355af257"

I see your app registers properly to your Asterisk using as a contact the push gateway account
REGISTER sip:85.238.102.20 SIP/2.0
[..]
Contact: sip:[email protected];gr=urn:uuid:2766b3a9-3ee6-00ff-a401-155c355af257

But I don't see traces of a push notification incoming.
Can you please double check on the asterisk that the invite get sent to the following address :
sip:[email protected]

and provide us with a Call-Id so we can track it up on Linhome server ?

thanks in advance

from linhome-android.

a-march avatar a-march commented on May 28, 2024

Good day!
https://www.linphone.org:444//tmp/6087c82b041ab_a878f942640624a564c0.gz
sip linhome: [email protected]
sip VTO: [email protected]
I beg your pardon, I do not understand very well.

from linhome-android.

cdeschambc avatar cdeschambc commented on May 28, 2024

When your VTO call Linhome app it should send SIP invite to sip:[email protected] (this is automatic as when Linhome registered to 85.238.102.20 it used sip:[email protected] as a contact address).
so my question is can you look into the logs of 85.238.102.20 for the call from VTO to Linhome to see that 85.238.102.20 is sending the INVITE to sip:[email protected], and if yes provide me with a call-ID for such a call (10002->10005) ?

from linhome-android.

arm-computech avatar arm-computech commented on May 28, 2024

In which file can I pass the token to Asterisk?

from linhome-android.

alex-eri avatar alex-eri commented on May 28, 2024

@cdeschambc linhome-android send two contacts to server. Asterisk usually dial only one of them because of legacy dialplan. This issue i solved with Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})})

but BelledonneCommunications/linphone-iphone#774 breaks it

from linhome-android.

cdeschambc avatar cdeschambc commented on May 28, 2024

linhome-android should only send one contact to your server and that is the @sip.linhome.org so when someone calls your extension on asterisk, asterisk should pick this only contact URI and forward the invite to flexisip server (sip.linhome.org) which holds the contact details you showed above (that contains push parameter to wake up apps)

from linhome-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.