[asterisk-users] Peculiar error message when using Q-SIG

Richard Kenner kenner at gnat.com
Sun Oct 4 23:35:47 CDT 2009


> The two patches attached on the issue apply against libpri branch
> 1.4 and asterisk trunk, respectively.  Both are required.  Given
> that it's been 5 months since I first created the patches, I have
> redone them tonight, in order to facilitate testing.

Thanks!

I checked out that branch with svn, applied the patch, verified with
"pri show version" that the new code was running (and the debug output
changed from the 1.4.10.1 that I was previously using).  Here's the
debug output, which I don't claim to understand.

< Protocol Discriminator: Q.931 (8)  len=85
< Call Ref: len= 2 (reference 4864/0x1300) (Originator)
< Message Type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 80 90 a2]
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: Speech (0)
<                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
<                                User information layer 1: u-Law (34)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
<                        ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
<                       Ext: 1  Channel: 1 Type: NET]
< [1c 23 9f aa 06 80 01 00 82 01 00 a1 18 02 01 00 02 01 00 80 10 20 20 20 20 52 69 63 68 61 72 64 20 68 6f 6d 65]
< Facility (len=37, codeset=0) [ 0x9F, 0xAA, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0xA1, 0x18, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00, 0x80, 0x10, '    Richard home' ]
PROTOCOL 1FI> 
ASN.1 dump
  Context Specific/C [10 0x0A] <AA> Len:6 <06>
    Context Specific [0 0x00] <80> Len:1 <01>
      <00> - "~"
    Context Specific [2 0x02] <82> Len:1 <01>
      <00> - "~"
  Context Specific/C [1 0x01] <A1> Len:24 <18>
    Integer(2 0x02) <02> Len:1 <01>
      <00> - "~"
    Integer(2 0x02) <02> Len:1 <01>
      <00> - "~"
    Context Specific [0 0x00] <80> Len:16 <10>
      <20 20 20 20 52 69 63 68-61 72 64 20 68 6F 6D 65> - "    Richard home"
ASN.1 end
< [1e 02 81 83]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  Location: Private network serving the local user (1)
<                               Ext: 1  Progress Description: Calling equipment is non-ISDN. (3) ]
< [6c 0c 00 81 32 31 32 38 35 31 38 33 39 36]
< Calling Number (len=14) [ Ext: 0  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)
<                           Presentation: Presentation permitted, user number passed network screening (1)  '2128518396' ]
< [70 04 80 31 35 30]
< Called Number (len= 6) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)  '150' ]
< [9c]
< Non-Locking Shift (len=01): Requested codeset 4
< [31 01 00]
< Transit Count (len=03): Count=0 (0x00)
< [9d]
< Non-Locking Shift (len=01): Requested codeset 5
< [32 01 81]
[Oct  5 00:24:45] ERROR[1015]: chan_dahdi.c:12226 dahdi_pri_error: !! < Unknown IE 50 (cs5, len = 3)
-- Making new call for cr 4864
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 28 (cs0, Facility)
ASN.1 dumpLI> 
  Context Specific/C [10 0x0A] <AA> Len:6 <06>
    Context Specific [0 0x00] <80> Len:1 <01>
      <00> - "~"
    Context Specific [2 0x02] <82> Len:1 <01>
      <00> - "~"
  Context Specific/C [1 0x01] <A1> Len:24 <18>
    Integer(2 0x02) <02> Len:1 <01>
      <00> - "~"
    Integer(2 0x02) <02> Len:1 <01>
      <00> - "~"
    Context Specific [0 0x00] <80> Len:16 <10>
      <20 20 20 20 52 69 63 68-61 72 64 20 68 6F 6D 65> - "    Richard home"
ASN.1 end
  nfe NetworkFacilityExtension Context Specific/C [10 0x0A]
  sourceEntity Context Specific [0 0x00] = 0 0x0000
  destinationEntity Context Specific [2 0x02] = 0 0x0000
INVOKE Component Context Specific/C [1 0x01]
  invokeId Integer(2 0x02) = 0 0x0000
  operationValue Integer(2 0x02) = 0 0x0000
  operationValue = ROSE_QSIG_CallingName
  callingName Name
  namePresentationAllowedSimple Context Specific [0 0x00] =
    <20 20 20 20 52 69 63 68-61 72 64 20 68 6F 6D 65> - "    Richard home"
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 49 (cs4, Transit Count)
-- Processing IE 50 (cs5, Unknown Information Element)
!! Unknown IE 50 (cs5, Unknown Information Element)



More information about the asterisk-users mailing list