[Home]

Summary:ASTERISK-27744: Incoming queued calls are occasionally forwarded with wrong From: header
Reporter:Janko Zgaga (buldozer)Labels:
Date Opened:2018-03-16 12:20:44Date Closed:2020-01-14 11:14:08.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:13.14.1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment:Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64Attachments:
Description:With incoming calls forwarded to a static queue, I occasionally see wrong From: header on the call, once forwarded to the local extension (From: gets the same sip id as To:) You can find a log of one such call at http://www.itd.si/Buldozer/astlog.zip

There's more calls in there, but interesting one is the first one - Call-ID: BW0904004831603182087347519@172.18.1.14 (log continues until it's end). You'll see that a call, coming in from
From: <sip:027031065@192.168.213.126;user=phone>;tag=2026492818-1521187440483-

gets forwarded to
To: <sip:01238471@192.168.1.108:5080;ob>

as
From: <sip:01238471@192.168.1.1>;tag=as7dc0234c

... numbers are (consistently) obfuscated

I have started seeing such calls from 2017-10-24, but can't really say which version of Asterisk it was back then. I update to latest debian stable releases on monthly basis so it should be a debian release from around that time. It seems to happen some 11% of the time. Do let me know if more info is needed.
Comments:By: Asterisk Team (asteriskteam) 2018-03-16 12:20:45.466-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2018-03-19 05:33:19.001-0500

It appears the bug you have submitted is against a rather old version of a supported branch of Asterisk. There have been many issues fixed between the version you are using and the current version of your branch. Please test with the latest version in your Asterisk branch and report whether the issue persists.

Please see the Asterisk Versions [1] wiki page for info on which versions of Asterisk are supported.
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

In this case the version you are running is a year old.

By: Janko Zgaga (buldozer) 2018-03-22 05:00:26.437-0500

Thanks for your reply. Guess I'll have to pull Asterisk from the testing branch and check that one, as the version I'm currently running is the latest in Debian stable (stretch). I do dislike going to testing versions though for this very reason (dealing with bugs).

By: Joshua C. Colp (jcolp) 2018-03-22 05:06:23.848-0500

The project itself doesn't control the packages, but the latest release is still an LTS and isn't in any kind of testing in our side.

As well the version you filed against is almost a year old which is why I asked for the update in the first place, otherwise someone has to potentially spend the time trying to replicate something which has already been fixed and then track down across a year when it was fixed. That can be a lot of time spent.

By: Asterisk Team (asteriskteam) 2018-04-05 12:00:00.920-0500

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines