-
I apologize if I ask the question in the wrong category.
I installed the 'linphone' program from OpenStore. Version 0.9.2.
Unfortunately, it does not have a dialer, and there is only a line for entering a SIP URI.
Moreover, when registering, he requires you to enter the domain of the used softswitch, and therefore knows it. But if I enter for call only the left part of the URI, without the '@' symbol, then he does not understand that the domain needs to be added automatically.Is everything so bad?
I did not install any components?
Need to make any additional settings? And where?
Can this linphone assembly be configured to work over TLS?Colleagues, tell me, please, how to solve this problem.
Ogogon.
-
@ogogon
Hi, sorry I don't know anything about Linphone.
But I'll move your topic to the support part of the forum, I find it more suitable for your question. -
@AppLee said in Using linphone:
@ogogon
Hi, sorry I don't know anything about Linphone.
But I'll move your topic to the support part of the forum, I find it more suitable for your question.Oh, how good you are!
-
Thank you for your message.
Before I start, please keep in mind several things:- Be patient. People that works in this project, normally does it in their spare time.
- This is a project to participate in, not a product to consume.
Now, answering you:
@ogogon said in Using linphone:Unfortunately, it does not have a dialer, and there is only a line for entering a SIP URI.
Short answer: That's right.
Long answer: After some thought I decided that I didn't want to have a whole dialer eating most part of the screen just to introduce number, specially because the SIP uri that I use are mostly alphaumerical. Therefore, it is more convenient for me to have a complete keyboard that would let you type an URI or change to numeric keyboard to introduce phone numbers.
That said, that is my approach. Ideally, the app would get access to contacts and retrieve the phone number straight from it, something that is planned but not implement yet.
I'm sure there are other approaches to this, merge requests are always welcome
[...]he does not understand that the domain needs to be added automatically.
It should. If it doesn't, then it is a bug. Please, check open an issue if it's not already there or add information if the issue is already opened: https://gitlab.com/ubports-linphone/linphone-simple/issues
Is everything so bad?
Is this an opinion or an issue?
I did not install any components?
Please, explain.
Need to make any additional settings? And where?
No
Can this linphone assembly be configured to work over TLS?
Not yet. MR are welcome
-
@CiberSheep said in Using linphone:
Thank you for your message.
Thank you for your reply.
- This is a project to participate in, not a product to consume.
Then I’d better not say anything. I do not want to start a big philosophical discussion, during which I can express something that may seem disrespectful.
Long answer: After some thought I decided that I didn't want to have a whole dialer eating most part of the screen just to introduce number, specially because the SIP uri that I use are mostly alphaumerical. Therefore, it is more convenient for me to have a complete keyboard that would let you type an URI or change to numeric keyboard to introduce phone numbers.
I can agree with this logic.
However, as I understand it, there are already assemblies with a dialer. Here is a photo from some Cyrillic wiki.
(I'm sorry, I did not understand how to adjust the sizes.)It should. If it doesn't, then it is a bug. Please, check open an issue if it's not already there or add information if the issue is already opened: https://gitlab.com/ubports-linphone/linphone-simple/issues
I'm sorry, but how to do this?
Is this an opinion or an issue?
Rather, this is a rhetorical question...
Please, explain.
I assumed that the described functionality is not there, because I did not install needed modules.
Not yet. MR are welcome
I'm sorry, but what is MR?
Ogogon.
-
@ogogon said in Using linphone:
I can agree with this logic.
However, as I understand it, there are already assemblies with a dialer. Here is a photo from some Cyrillic wiki.That's the official Linphone App from Linphone.
It should. If it doesn't, then it is a bug. [...] https://gitlab.com/ubports-linphone/linphone-simple/issues
I'm sorry, but how to do this?
Dialing a number should automatically add the domain. If that is not the case, tap the link, and file and issue with the steps to reproduce so we can take a look at it.
I assumed that the described functionality is not there, because I did not install needed modules.
I see. Is not possible to install additional modules to this app.
I'm sorry, but what is MR?
Sorry, shortcut for Merge Request
-
@ogogon
To open an issue, you'll have to create a gitlab account.
You can then follow the link provided and describe what happens.Give as many details as possible :
Phone, release, detailled steps to reproduce our issue and you can provide logs too. -
@CiberSheep said in Using linphone:
That's the official Linphone App from Linphone.
I apologize if I ask an indecent question, but what is wrong with this assembly? Why not include it in UBPorts? Why do you need to do another assembly if there is already done and having a fairly wide functionality?
An answer like "if you are so smart, then take it and turn it on" is not accepted. I want to understand your logic.Dialing a number should automatically add the domain. If that is not the case, tap the link, and file and issue with the steps to reproduce so we can take a look at it.
I do not want to upset you, but it is not added.
Is the program log somewhere written on the phone, or can I only attach the console output of my Asterisk?Sorry, shortcut for Merge Request
Can it consist only of a wish?
Ogogon.
-
@ogogon said in Using linphone:
Can it consist only of a wish?
"Merge request" means asking the maintainer to use code modification you made an provided.
An "issue" in gitlab can be either a bug report or a feature request.Chek the link provided by @CiberSheep:
https://gitlab.com/ubports-linphone/linphone-simple/issuesRead the opened issue to see if yours are already in there.
If not you can create a new one for both features you noted.
A bug report for the automatic domain and a feature request for the dialer.I think the reason why the dialer is not present has been answered earlier.
-
I see I don't express myself very well here. I try to be more clear:
@ogogon said in Using linphone:
@CiberSheep said in Using linphone:
That's the official Linphone App from Linphone.
I apologize if I ask an indecent question, but what is wrong with this assembly?
Nothing wrong. They can do whatever they want with their app.
Why not include it in UBPorts? Why do you need to do another assembly if there is already done and having a fairly wide functionality?
I don't believe I do «another assembly» I believe I have thought about how this app should look in our OS.
And I repeat: I don't see the need of using nearly the whole screen for a dialer that I would nearly use when I can use a more versatile keyboard that is already implemented in the OS.
An answer like "if you are so smart, then take it and turn it on" is not accepted. I want to understand your logic.
I see I don't express very well here. I'm sorry if you read «impatient young kiddo go and make it yourself if you're so smart» I'm trying to say that «if you have a better solution, you are welcome to share» and I expect you to «collaborate in the project, not think this is a product to consume». And I would like, instead of sending a screenshot of an app from another system, you to sit and considerate:
- Why a dialer?
- What's the benefits to have another assembly specific to the phone number that will be useless for SIP uris?
- What's the downside of having the OS keyboard
Then, let's come with a good solution. One that is ours and fit Ubuntu Touch.
I do not want to upset you, but it is not added.
Then, it's a bug
Is the program log somewhere written on the phone, or can I only attach the console output of my Asterisk?
The easiest is to install Logviwer that reads in
/var/log/
check that the log doesn't show any SIP numberSorry, shortcut for Merge Request
Can it consist only of a wish?
Of course, expect an honest answer (not in an hour)
-
@ogogon Ubuntu Touch uses a rather unique App framework so none of the existing mobile Apps is suppsoed tun there. Its not a matter of taste if we make a new binary, its rather a must.
So we took the core libraries of Linphone but put them into new clothes, and connected all the parts as UT demands it to do. We cannot reuse easily any of those designs, so its rather a rewrite than a port of the official App
-
@CiberSheep said in Using linphone:
see I don't express very well here.
You have nothing to apologize for. Rather, I need to do this.
English is not my native language, I am not its native speaker.
Therefore, in many situations I understand the lexical meaning, but I do not understand the intonation. Because mechanisms for transmissions of intonation are taken from a little familiar to me the cultural layer.
Please do not worry - in such situations I always ask again.- Why a dialer?
- What's the benefits to have another assembly specific to the phone number that will be useless for SIP uris?
- What's the downside of having the OS keyboard
Objectively, you are completely right.
But this is very habitually: if you run the softphone, the dialer immediately runs in.The easiest is to install Logviwer that reads in
/var/log/
check that the log doesn't show any SIP numberI installed this program, switched it to the /var/log directory, however I didn’t find a file like linphone.log there.
Do I need to enable logging somehow? Or do I need to look in some other file?Ogogon.
-
@ogogon Sorry to correct @CiberSheep but application logs are not in /var/log but in the user´s app area, and logviewer App can read from there. Do not use to capture logs with terminal or cmdline, open the log viewer app and look there.
-
@Flohack said in Using linphone:
@ogogon Ubuntu Touch uses a rather unique App framework so none of the existing mobile Apps is suppsoed tun there. Its not a matter of taste if we make a new binary, its rather a must.
So we took the core libraries of Linphone but put them into new clothes, and connected all the parts as UT demands it to do. We cannot reuse easily any of those designs, so its rather a rewrite than a port of the official App
Aha! Now I finally understood what was happening! What everyone means, but never speak directly.
The ingenious developers of UT have created an nothing incompatible platform and you cannot just compile an already developed package on it. The package needs to be rewritten for it.
We have another android, only open source!(I'll go drink three hundred drops of essential valerian!)
-
@Flohack said in Using linphone:
@ogogon Sorry to correct @CiberSheep but application logs are not in /var/log but in the user´s app area, and logviewer App can read from there.
I'm sorry, I already reconfigured it to /var/log. What is the path to user applications area?
Do not use to capture logs with terminal or cmdline, open the log viewer app and look there.
And if I go over ssh and say 'tail -f filename', can something go wrong?
(Of course, I do not want to doubt the reasonability of your advice, but I have done this all my life and it worked.)Ogogon.
-
@ogogon said in Using linphone:
I'm sorry, I already reconfigured it to /var/log. What is the path to user applications area?
Pardon the intrusion. Fresh installation of logviever operates in
/home/phablet/.cache/upstart
. Have a nice day. -
@jezek said in Using linphone:
Pardon the intrusion. Fresh installation of logviever operates in
/home/phablet/.cache/upstart
. Have a nice day.Thank you!
-
@Flohack said in Using linphone:
@ogogon Sorry to correct @CiberSheep but application logs are not in /var/log but in the user´s app area, and logviewer App can read from there.
In the area of user applications, I found two files - linpfone-tmp.log and linphone.cibersheep.log. Apparently, both are empty - if you click on them, an empty window opens.
I made calls before - both successful and unsuccessful.Am I doing something wrong again?
Ogogon.
-
@ogogon said in Using linphone:
@Flohack said in Using linphone:
@ogogon Sorry to correct @CiberSheep but application logs are not in /var/log but in the user´s app area, and logviewer App can read from there.
I'm sorry, I already reconfigured it to /var/log. What is the path to user applications area?
Do not use to capture logs with terminal or cmdline, open the log viewer app and look there.
And if I go over ssh and say 'tail -f filename', can something go wrong?
Ooops... sorry about that.
You need to have the app open to see the log
-
@ogogon you are not supposed to use /var/log as a shared directory. Apps are confined in what they can do quite heavily (as on every mobile device OS so far), and have their own directory for logs and temporary stuff. This is done for security. How else could we ever allow 3rd parties (means non-Ubuntu Touch developers) to contribute any App through a store?
If you trust all the world its fine, we don't. So, Apps cannot do what they want and should not do what they want. Also, the whole root file system is read-only. Also do not use apt to update stuff. We got image-based OTA upgrades. It is faster, saves write cycles on the flash storage, and its transactional, meaning no partially upgraded systems . This is not a desktop, saying this just once more.
The advantage is a superior stability, you cannot brick your device easily, Apps cannot spy on each other and the system, most rootkits/hacks wont work on UT etc. You have claims that Apps can request and the user can allow or disallow them, like mic, camera etc access. This is not possible in a traditional desktop OS. So, a big win.
If you tamper with that security model, you are on your own. We cannot support you when you start changing the way how the OS works. If you start rearranging how logging works you need to give Apps elevated permissions, and that's not how we think a mobile OS should work these days.
So before you complain about why we made everything wrong you should better ask why decisions were made in that way. We di dnot make our life more complicated because it´s fun but because we wanted to improve the architecture.