[Home]

Summary:ASTERISK-27137: chan_ooh323 per peer codec
Reporter:Dmitry Melekhov (slesru)Labels:
Date Opened:2017-07-18 00:15:53Date Closed:
Priority:TrivialRegression?
Status:Open/NewComponents:Addons/chan_ooh323
Versions:13.13.1 Frequency of
Occurrence
Related
Issues:
Environment:Centos 6Attachments:( 0) ooh323_show_peer_sladzar
Description:Hello!

Don't sure this is bug, not expected behaviour.

In ooh323.conf I have:
{noformat}
disallow=all     ;Note order of disallow/allow is important.
;allow=gsm
allow=g729
allow=ulaw
allow=alaw
{noformat}

But in peer config I have:
{noformat}
disallow=all
allow=alaw
allow=ulaw
;allow=g729
{noformat}
I.e. g729 should be disable for this peer, imho, but I have:
{noformat}
[Jul 18 08:16:53] VERBOSE[27627] chan_ooh323.c:  Outgoing call sladzar(ooh323c_o_18865) - Codec prefs - (g729|ulaw|alaw)
[Jul 18 08:16:53] VERBOSE[27627] ooh323cDriver.c:       Adding capabilities to call(outgoing, ooh323c_o_18865)
[Jul 18 08:16:53] VERBOSE[27627] ooh323cDriver.c:       Adding g729A capability to call(outgoing, ooh323c_o_18865)
[Jul 18 08:16:53] VERBOSE[27627] ooh323cDriver.c:       Adding g729 capability to call(outgoing, ooh323c_o_18865)
[Jul 18 08:16:53] VERBOSE[27627] ooh323cDriver.c:       Adding g729B capability to call(outgoing, ooh323c_o_18865)
[Jul 18 08:16:53] VERBOSE[27627] ooh323cDriver.c:       Adding g711 ulaw capability to call(outgoing, ooh323c_o_18865)
[Jul 18 08:16:53] VERBOSE[27627] ooh323cDriver.c:       Adding g711 alaw capability to call(outgoing, ooh323c_o_18865)
{noformat}
Is codec selection per peer supported by chan_ooh323 , i.e. is this bug or expected behaviour?

Thank you!
Comments:By: Asterisk Team (asteriskteam) 2017-07-18 00:15:54.938-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-07-20 13:58:11.081-0500

Assigning to chan_ooh323 maintainer Alexander Anikin for triage.

By: Alexander Anikin (may213) 2017-07-21 18:23:13.516-0500

Hi Dmitry,
Could you please attach here output of
asterisk -rx 'ooh323 show peer sladzar'


By: Dmitry Melekhov (slesru) 2017-07-22 02:46:27.405-0500

Hello
ooh323 show peer sladzar  output is attached.

Thank you!


By: Dmitry Melekhov (slesru) 2017-08-03 23:12:07.569-0500

Hello!
Yes, disabling g729 in global section helps.
Thank you!