Am 13.06.2020 um 22:09 schrieb Antony Stone: Hi Antony> You are *assuming* that it's the codec causing the difference.Well, I really don't know what I can think, now...> We don't know that. > > Let me get this clear, to make sure I understand (differences emphasised): > > 1. You use *a VoIP softphone app* on your mobile, which is registered by SIP, > to your Asterisk server, over your home *wireless network*, to place a call to > some external number, you have a conversation and *the quality is excellent*. > > 2. You use your *Thomson ST2022*, which is also registered by SIP, to your > home Asterisk server, over your home *cabled* network, to place a call to some > (the same???) external number, you have a conversation and the quality is *not > excellent*. > > > Is that an accurate summary of your situation?Not really... 1) I have an Android phone, using the integrated Android VoIP-subsystem, connected to my Asterisk at home, over LTE or other network *outside my home network*. Today I called my mother using this method (I was in the home network of my parents in law, about 20km von my home network, so definitly *not* in my wireless...). The quality was excellent and it was confirmed from my father in law, too... 2) I have a Thomson ST2022 connected to my Asterisk over Ethernet (cabled network). If I call for example my mother or my parents in law, the conversation is "broken", eg: both partner can hear little "interruption", about 1/10 seconds in the conversation... This is the situation... I tried to connect the Thomson ST2022 directly to the server of Deutsche Telekom via VoIP (excluding the Asterisk, but of couse using NAT, since the phone does not have a public IP but just an IP in my internal network) and then I called my father in law. Same problem... :( I didn't get my Android phone connected to the server of Deutsche Telekom to check how it works *outside my home network*... Not sure why it doesn't work... Some other information: 1) Asterisk runs on a Linux-Box (on a BananaPI) with Debian 10. Asterisk was installed from Debian repositories. 2) The Linux-Box is directly connected to the Internet (no NAT) with a DSL-Modem and PPPoE. Public IPv4 and IPv6 addresses are configured in a network interface of the Linux-Box. 3) I use iptables+tc to manage a traffic shaping, privileging the VoIP connection. If you want, I have no problem to send the traffic-shaping-script to the list. 4) The DSL connection has a speed of 50Mbps down and 10Mbps up, and I really think, it should be enough... 5) The phones are connected with Gbps-Ethernet to the Linux-Box. 6) On my Asterisk I configured a second VoIP-Provider (MessageNet, in Italy), but just to *receive* calls. My contract with MessageNet does not allow me the call someone using this connection. If someone calls my number by MessageNet, I have the same problem I have with Deutsche Telekom, altought not so strong, eg. the "interruptions" are not so frequent as by calls via Deutsche Telekom... Btw: by MessageNet I must use *gsm* as Codec, otherwise a connection will be extablished, but no Voice can be heared... I really appreciate any idea. Of course, it could be possible that there is a problem on Telekom-side, but it does not explain why I have the same problems, altought not often as by Telekom, by MessageNet, too... Thanks a lot Luca Bertoncello (lucabert at lucabert.de)
On Saturday 13 June 2020 at 22:30:28, Luca Bertoncello wrote:> 1) I have an Android phone, using the integrated Android VoIP-subsystem, > connected to my Asterisk at home, over LTE or other network *outside my > home network*.> I called my mother using this method... The quality was excellent> 2) I have a Thomson ST2022 connected to my Asterisk over Ethernet > (cabled network). If I call for example my mother or my parents in law, > the conversation is "broken", eg: both partner can hear little > "interruption", about 1/10 seconds in the conversation...I would like to see a much simpler one-for-one comparison: only change one thing at a time, and see what the difference is. So: I suggest you try *two* independent *pairs* of tests: 1a. Using your Android phone, connect using your home wireless network (I assume you have a wireless network, if not then skip to test 2) to your home Asterisk server, make a phone call to some external number, check the call quality. 1b. Using your Thomson phone, connected using your home cabled network to your home Asterisk server, make a phone call to the same external number and check the call quality. 2a. Using your Android phone, connect from outside your home wireless network over LTE to your home Asterisk server and make a phone call to the same number again (you'll need someone with a bit of patience and understanding on the other end of this number ...) Check the call quality. 2b. Take your Thomson telephone to some other location with Internet access, let it register to your home Asterisk server, and them make a call to the same number yet again. I'm sure you can get the Thomson to connect to Asterisk via some external network, since you say you can do this from your Android phone. Again, check the call quality. Then, does the call quality stay the same for both phones (good for Android, bad for Thomson), or does it stay the same for both connections (good for Android and Thomson from external, bad for Android and Thomson from internal)? PS; Just for fun, what happens if you let your Android phone connect via LTE to your home Asterisk server and you dial your (home, cabled) Thomson phone from it? What's the call quality like then? In regard to: On Saturday 13 June 2020 at 18:25:32, Luca Bertoncello wrote:> 2) where can I change these settings?sip.conf Look for lines such as disallow=all allow=ulaw allow=alaw allow=h263 They may be in the [general] section, or they may be in the client (Android / Thomson) specific sections. Regards, Antony. -- The lottery is a tax for people who can't do maths. Please reply to the list; please *don't* CC me.
Am 13.06.2020 um 22:56 schrieb Antony Stone: Hi Antony,> I would like to see a much simpler one-for-one comparison: only change one > thing at a time, and see what the difference is. > > So: I suggest you try *two* independent *pairs* of tests:OK> 1a. Using your Android phone, connect using your home wireless network (I > assume you have a wireless network, if not then skip to test 2) to your home > Asterisk server, make a phone call to some external number, check the call > quality.Today was the quality not so excellent as yesterday... Both I and my father in law could hear "interruptions", but so so much as if I call with the Thomson phone...> 1b. Using your Thomson phone, connected using your home cabled network to your > home Asterisk server, make a phone call to the same external number and check > the call quality.This was the same as always... More little "broken voice" on both parts...> 2a. Using your Android phone, connect from outside your home wireless network > over LTE to your home Asterisk server and make a phone call to the same number > again (you'll need someone with a bit of patience and understanding on the > other end of this number ...) Check the call quality.It was a little bit better. I didn't hear any "interruptions", but my father in law does. Not many, but somes...> 2b. Take your Thomson telephone to some other location with Internet access, > let it register to your home Asterisk server, and them make a call to the same > number yet again. I'm sure you can get the Thomson to connect to Asterisk via > some external network, since you say you can do this from your Android phone. > Again, check the call quality.Right now I don't have the possibility to do that... :( I did another test, today: I called my leased line number using my mobile phone (over GSM, not VoIP) and wait for the answering maschine. So, as a normal call from outside if I'm not at home. Result: the quality is *excellent*. I didn't hear any "interruptions" in the message of the answering maschine and, as I played the message I spoked there were no "interruptions", too... So, the module voicemail in Asterisk does *not* have the same problems as the other phones. And the Thomson VoIP-phone has more problems than my Android connected to the Asterisk... Maybe helps this behaviour to find the problem?> PS; Just for fun, what happens if you let your Android phone connect via LTE > to your home Asterisk server and you dial your (home, cabled) Thomson phone > from it? What's the call quality like then?The quality is terrible. It is not possible to understand any word... BUT: if I call my wife using the Thomson (she uses a Thomsons, same model, too!) the quality is excellent...> In regard to: > > On Saturday 13 June 2020 at 18:25:32, Luca Bertoncello wrote: > >> 2) where can I change these settings? > > sip.conf > > Look for lines such as > > disallow=all > allow=ulaw > allow=alaw > allow=h263 > > They may be in the [general] section, or they may be in the client (Android / > Thomson) specific sections.In my [general] section I have: disallow=all allow=alaw allow=ulaw allow=ilbc allow=g729 allow=g723 allow=gsm ; Messagenet need gsm... Thanks Luca Bertoncello (lucabert at lucabert.de)
Am 13.06.2020 um 22:56 schrieb Antony Stone: Hi again,> 2b. Take your Thomson telephone to some other location with Internet access, > let it register to your home Asterisk server, and them make a call to the same > number yet again. I'm sure you can get the Thomson to connect to Asterisk via > some external network, since you say you can do this from your Android phone. > Again, check the call quality.I tried it on the network of a friend. Not possible to establish a connection at all... I *suppose* Deutsche Telekom just allow a logon on their servers from the IP of the user, who tries to log on (with other words: my VoIP login can just log on from my current IP)... This would explain why I didn't got my mobile phone connecting to the Telekom's server and establish a call... I also tried to stop Asterisk and all other network services on my Linux-Box Firewall/Gateway, including the traffic shaper (in the case, this was the problem), then connect my Thomson phone to the Telekom's server and call my father in law. Always the same problem... So, tomorrow I'll get another VoIP phone from a colleque (Elmeg IP 290). I'll connect it to my network and my Asterisk and will try to call my father in law for a test. I really do *not* expect any change in the situation... I think, the problem should be somewhere by Deutsche Telekom... What is your opinion? Btw: I did all tests with my father in law, since he had time for me today, but the problem exists an almost all calls, incoming or outgoing, no matter from/to which network provider... Thanks Luca Bertoncello (lucabert at lucabert.de)