• Richard Mudgett's avatar
    Remove nul octets from IE data that is normally treated as strings. · 6078b216
    Richard Mudgett authored
    Sometimes ie values received from carriers contain nul octets in values
    normally treated by libpri as nul terminated strings.  A discussion on the
    asterisk-users list determined that the best thing to do in the situation
    is to delete the nul octets and unconditionally report/log when that
    * Remove nul octets from the following ie's and generate an unconditional
    log message to the upper layer when they are removed:
    Connected Number
    Connected Address
    Redirecting Number
    Original Called Number
    Redirection Number
    Called Party Number
    Calling Party Number
    Keypad Facility
    (closes issue PRI-128)
    Reported by: phsultan
          jira_pri_128.patch (license #5621) patch uploaded by rmudgett (modified)
    Tested by: rmudgett
    git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2278 2fbb986a-6c06-0410-b554-c9c1f0a7f128
q931.c 280 KB