Public bug reported:
Asterisk 1:13.18.3~dfsg-1ubuntu4 on 18.04
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[15578][C-000003a7] chan_sip.c: username mismatch,
have <1100>, digest has <1110>
[Nov 21 12:34:48] NOTICE[15578][C-000003a7] chan_sip.c: Failed to authenticate
device "John Runyon"
<sip:1110@asterisk-ip-goes-here>;tag=e8ba7007768f000d1d234cad-a7548314
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)
ProcVersionSignature: Ubuntu 4.15.0-32.35-generic 4.15.18
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.conffile..etc.init.d.asterisk: [modified]
mtime.conffile..etc.init.d.asterisk: 2018-11-21T14:48:39.513412
** Affects: asterisk (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804615
Title:
All SIP peers treated as insecure=port
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/1804615/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs