q931.c: Tighten mandatory ie checks.
Libpri was lax in checking if a missing channel identification ie is mandatory for the SETUP ACKNOWLEDGE, PROCEEDING, ALERTING, and CONNECT messages. That ie is mandatory when those messages are the first response to a SETUP message sent by the CPE side. * Made those messages check if a missing channel identification ie is mandatory and send a STATUS with cause 96 "Mandatory information element is missing" in response. Libpri did not care if a mandatory ie had a coding error. * Made coding errors in mandatory ie's send a STATUS with cause 100 "Invalid information element contents" in response. * Fixed detection of coding errors in channel identification ie. SWP-8721 SWP-8722 git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2337 2fbb986a-6c06-0410-b554-c9c1f0a7f128
Showing with 201 additions and 64 deletions