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

Sean Bright (JIRA) noreply at issues.asterisk.org
Mon Sep 14 08:48:43 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-26591:
-----------------------------------

    Assignee: George Joseph
      Status: Waiting for Feedback  (was: Open)

{{allow = !ulaw,all}} doesn't work for me either ({{ulaw}} is still listed for the endpoint), so this doesn't appear to be limited to codecs with multiple formats. Is your experience different?

> 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: George Joseph
>            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