[Home]

Summary:ASTERISK-26910: chan_sip: Intermittently Asterisk doesn't send CANCEL/BYE when making parallel DIAL()
Reporter:Ustinov Artem (artem198315@gmail.com)Labels:
Date Opened:2017-03-30 07:23:54Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Channels/chan_sip/General
Versions:13.13.1 Frequency of
Occurrence
Frequent
Related
Issues:
Environment: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/LinuxAttachments:( 0) bad.pcap
( 1) bad.txt
( 2) debug_log_030417.txt
( 3) dialplan.txt
( 4) sip_peer_settings.txt
Description:In some cases when making parallel dial ( DIAL(SIP/dev1&SIP/dev2 ...) ) to multiple SIP devices or call in queue with ringall strategy, when one of the devices answered asterisk not generate CANCEL message to other ringed devices.

i attached call logs, sip peer settings and pcap files for analize.
Comments:By: Asterisk Team (asteriskteam) 2017-03-30 07:23:56.462-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: Rusty Newton (rnewton) 2017-03-30 19:04:59.849-0500

Can you produce a simple scenario, along with extensions.conf dialplan to reproduce the issue?

It would be interesting to show how many calls it takes on average to reproduce the issue.

By: Ustinov Artem (artem198315@gmail.com) 2017-03-31 06:06:50.955-0500

i attach dialplan

By: Ustinov Artem (artem198315@gmail.com) 2017-03-31 06:28:06.790-0500

I cant reproduce problem in my dev enviroment.

Problem occurs 9 of 10 times with a parallel dial to specific peers (SIP/34673&SIP/55909). Both peers live on a same asterisk box not under my control.
Peers register on my box with register string.

They both landed in exten 123 on other side:
{noformat}
exten => 123,1,Answer()
exten => 123,2,Playback(somefile)
exten => 123,1 Queue(somequeue)
{noformat}


By: Rusty Newton (rnewton) 2017-04-02 19:40:59.805-0500

Hmm okay. Can you provide another log when you are able to reproduce the problem on the production system?

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

Please collect the full log, using warning,error,notice,verbose,debug log levels with verbose and debug log levels turned up to 5 each.

Of course, include the SIP trace in the log as well. Thanks!

By: Ustinov Artem (artem198315@gmail.com) 2017-04-03 16:06:48.791-0500

i attached a file.

By: Rusty Newton (rnewton) 2017-04-12 17:44:47.919-0500

Thanks for the additional information. I'm opening the issue up.