• Richard Mudgett's avatar
    Make number not available presentation also set screening to network provided. · a7eaec1a
    Richard Mudgett authored
    Q.951 indicates that when the presentation indicator is "Number not
    available due to interworking" for a number then the screening indicator
    field should be "Network provided".
    
    Released versions of Asterisk starting with v1.8 relesed before this patch
    only recognized the PRES_NUMBER_NOT_AVAILABLE value as an unavailable
    number.  This patch improves compatibility as a result.
    
    * Made mask the presentation value for names and numbers from the upper
    layer.
    
    * Made pri_mwi_indicate_v2() also call q931_party_id_fixup() for
    completeness even though it is a noop in this case.
    
    * Made pri_pres2str() deceoode better.
    
    
    git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2284 2fbb986a-6c06-0410-b554-c9c1f0a7f128
    a7eaec1a
pri_facility.c 165 KB