[asterisk-users] CID name in Facility message for Q.SIG

Richard Kenner kenner at gnat.com
Tue Jun 8 20:50:04 CDT 2010


The latest libpri is supposed to handle this properly, but doesn't
seem to.  Here's the debug info.  CALLERID(name) is set to empty.

< Protocol Discriminator: Q.931 (8)  len=66
< TEI=0 Call Ref: len= 2 (reference 256/0x100) (Sent from originator)
< Message Type: SETUP (5)
< [04 03 80 90 a2]
< Bearer Capability (len= 5) [ Ext: 1  Coding-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 1a 9f 8b 01 00 a1 0b 02 01 01 02 01 00 80 0c 52 69 63 68 61 72 64 20 68 6f 6d 65]
< Facility (len=28, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x0B, 0x02, 0x01, 0x01, 0x02, 0x01, 0x00, 0x80, 0x0C, 'Richard home' ]
< [1e 02 81 81]
< 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: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ]
< [6c 0b a1 32 31 32 38 35 31 38 33 39 36]
< Calling Number (len=13) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
<                           Presentation: Presentation permitted, user number not screened (0)  '2128518396' ]
< [70 04 a1 32 30 38]
< Called Number (len= 6) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '208' ]
-- Making new call for cref 256
Received message for call 0x2aaad0157d00 on 0x2aaad0045340 TEI/SAPI 0/0, call->pri is 0x2aaad0045340 TEI/SAPI 0/0
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 28 (cs0, Facility)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Delayed processing IE 28 (cs0, Facility)
ASN.1 dump
  Context Specific [11 0x0B] <8B> Len:1 <01>
    <00> - "~"
  Context Specific/C [1 0x01] <A1> Len:11 <0B>
    Integer(2 0x02) <02> Len:1 <01>
      <01> - "~"
    Integer(2 0x02) <02> Len:1 <01>
      <00> - "~"
    Context Specific [0 0x00] <80> Invalid length encoding!
ASN.1 end
  interpretation Context Specific [11 0x0B] = 0 0x0000
INVOKE Component Context Specific/C [1 0x01]
  invokeId Integer(2 0x02) = 1 0x0001
  operationValue Integer(2 0x02) = 0 0x0000
  operationValue = ROSE_QSIG_CallingName
  callingName Name
q931.c:7316 post_handle_q931_message: Call 256 enters state 6 (Call Present).  Hold state: Idle
q931.c:4686 q931_call_proceeding: Call 256 enters state 9 (Incoming Call Proceeding).  Hold state: Idle



More information about the asterisk-users mailing list