[asterisk-bugs] [JIRA] (ASTERISK-26591) res_pjsip: Can't exclude codecs with multiple formats

Sean Bright (JIRA) noreply at issues.asterisk.org
Tue Sep 15 09:20:43 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252030#comment-252030 ] 

Sean Bright edited comment on ASTERISK-26591 at 9/15/20 9:18 AM:
-----------------------------------------------------------------

I am not able to reproduce with the patch from ASTERISK-28416:

* {{all,!speex32}}: results in {{(g723|...|lpc10|g729|speex|speex16|ilbc|...|silk24)}}
* {{all,!speex}}: results in {{(g723|...|lpc10|g729|speex16|speex32|ilbc|...|silk24)}}


was (Author: seanbright):
I am not able to reproduce with the patch from ASTERISK-28416:

* {{all,!speex32}}: {{(g723|...|lpc10|g729|speex|speex16|ilbc|...|silk24)}}
* {{all,!speex}}: {{(g723|...|lpc10|g729|speex16|speex32|ilbc|...|silk24)}}

> res_pjsip:  Can't exclude codecs with multiple formats
> ------------------------------------------------------
>
>                 Key: ASTERISK-26591
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26591
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.12.2, 14.1.2, GIT
>            Reporter: George Joseph
>            Assignee: Unassigned
>            Severity: Minor
>
> Codecs that have multiple formats like speex, silk, siren, etc can't be negated in an endpoint/allow.
> {{allow=!speex32,all}} passes validation but doesn't exclude speex32.
> On the other hand, {{allow=!all,speex32}} DOES include only speex32.
> Also, oddly enough, when you do a pjsip show endpoint for the negation example, the display for allow shows the codecs with multiple formats with just the base codec name (speex|speex|speex) but when you add a specific codec it shows speex32.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list