[asterisk-bugs] [JIRA] Closed: (PRI-139) pri_pres2str() function returns wrong values

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Tue Sep 11 11:51:07 CDT 2012


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

Richard Mudgett closed PRI-139.
-------------------------------

    Resolution: Fixed

Patch was committed in -r2286 on 2012-05-14

> pri_pres2str() function returns wrong values
> --------------------------------------------
>
>                 Key: PRI-139
>                 URL: https://issues.asterisk.org/jira/browse/PRI-139
>             Project: LibPRI
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>            Reporter: Pavel Troller
>            Assignee: Richard Mudgett
>            Severity: Minor
>         Attachments: q931.c.diff
>
>
> At line 2071 in q931.c, an AND (&) operator is used instead of OR (|) to construct a mask value. Because of this, the mask is always zero, causing that the string returned is always "Presentation allowed, User provided, Not screened".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list