Remove nul octets from IE data that is normally treated as strings.
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 happens. * 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 Display Keypad Facility (closes issue PRI-128) Reported by: phsultan Patches: 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
Showing with 178 additions and 91 deletions