[Home]

Summary:ASTERISK-25016: one-sided audio when auto_comedia is set
Reporter:Martin Juergens (pirast)Labels:
Date Opened:2015-04-24 12:55:51Date Closed:2015-06-01 17:20:59
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:11.13.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:I am running Asterisk 11.13.1 on a Debian machine.
The global nat setting is nat=auto_force_rport,comedia which works quite well.

But when I set it to nat=auto_force_rport,auto_comedia so that Asterisk auto-detects if comedia is also supposed to be on, I get one-sided audio.
Comments:By: Matt Jordan (mjordan) 2015-04-24 12:57:25.085-0500

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

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

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



By: Martin Juergens (pirast) 2015-04-24 13:25:50.225-0500

1. steps to reproduce
- configure asterisk with the setting nat=auto_force_rport,auto_comedia which itself is behind a nat (but properly configured)
- create two clients, set them up: one on android (csipsimple) and one on windows phone (linphone). in my scenario, they are both behind a NAT, other than the one the server is behind
- make a call from the android device to the windows phone device

2. behavior expected
audio on both sides

3.
no audio on windows phone side

log file will be attached soon

By: Rusty Newton (rnewton) 2015-05-14 15:00:17.004-0500

You are going to need to supply us with much more than you have so far.

You have not demonstrated that Asterisk is doing anything abnormal. Within your scenario (multiple clients behind NAT, Asterisk behind a different NAT on two different networks) there is plenty of opportunity for misconfiguration in both Asterisk, your systems, your clients and your NAT/Firewall devices.

If you can provide a very precise way to reproduce this issue then we can investigate it, but right now you have only provided the most minimal description of your scenario.

Other than the logs and packet capture, you need to provide the relevant Asterisk configuration files and at least describe your client and NAT/Firewall configurations.

By: Rusty Newton (rnewton) 2015-06-01 17:21:10.243-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. 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