All SIP peers treated as insecure=port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
asterisk (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Asterisk 1:13.18.
All SIP peers seem to be being treated as insecure=port, meaning that if you have multiple devices registered from the same IP (for example, two users on the same LAN behind NAT), only one of them will function at a time.
In our case we had 2 phones registered, and only one of them at a time was able to make calls. If the other device attempted to make a call, it would get Declined and Asterisk printed an error that the username provided by the device (in the Digest) did not match the username Asterisk found:
[Nov 21 12:34:48] WARNING[
[Nov 21 12:34:48] NOTICE[
Both peers were set without 'insecure' and were shown correctly in "sip show peers".
I was unable to build the source package, but after installing 13-current (13.23.1) from tarball provided by the developers (without any config changes), the problem went away.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: asterisk (not installed)
ProcVersionSign
Uname: Linux 4.15.0-32-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Thu Nov 22 02:51:40 2018
InstallationDate: Installed on 2018-08-16 (97 days ago)
InstallationMedia: Ubuntu-Server 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
LANGUAGE=en_US:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: asterisk
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
Hi,
I don't have the devices to test any of that, so I try to help you as good as possible but I'm not entirely sure.
There is a 1:13.22.0~dfsg-2 in the subsequent Ubuntu Cosmic (18.10) version.
There also currently is a 1:13.23.1~dfsg-1 about to become released to the current Disco (19.04) version.
Could you give those a try on your setup so that we know if this is at least fixed in latter versions of Ubuntu?