[Asterisk-code-review] app_originate: Add ability to set codecs (asterisk[master])

Joshua Colp asteriskteam at digium.com
Thu Aug 5 07:58:35 CDT 2021


Attention is currently required from: N A.
Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/16232 )

Change subject: app_originate: Add ability to set codecs
......................................................................


Patch Set 2:

(1 comment)

File apps/app_originate.c:

https://gerrit.asterisk.org/c/asterisk/+/16232/comment/96167c01_42795259 
PS2, Line 262: 			ast_format_cap_update_by_allow_disallow(capabilities, opt_args[OPT_ARG_CODECS], 1);
> Wouldn't that require that a specific codec always be specified though? […]
On line 204 it would still add slin to the capabilities. If no codecs are specified, then slin would continue to be used. If codecs are specified then ast_format_cap_remove_by_type would be called which would remove slin from capabilities, before ast_format_cap_update_by_allow_disallow is called. After update_by_allow_disallow is called the capabilities would contain only the codecs specified using the option.



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16232
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I96a1aeb83d54b635b7a51e1b4680f03791622883
Gerrit-Change-Number: 16232
Gerrit-PatchSet: 2
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-Comment-Date: Thu, 05 Aug 2021 12:58:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: N A <mail at interlinked.x10host.com>
Comment-In-Reply-To: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210805/b5a2f806/attachment.html>


More information about the asterisk-code-review mailing list