[asterisk-users] pri rdnis found as Facility but not set

Henrik Westerberg henrik at aurorainvest.se
Thu Aug 17 07:48:25 MST 2006


Hi,

I'm running asterisk with a PRI.
But I can't get hold of the rdnis number.
When running pri debug I can see the true rdnis number as Facility,
the number 703289840 as shown below.
Is it possible to get hold of this value in some way from extensions.conf?
Or is it necessary to modify the source for asterisk, in that case does
someone know where and how?

Thanks in advance,

Henrik



< Protocol Discriminator: Q.931 (8)  len=79
< Call Ref: len= 2 (reference 40/0x28) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 90 90 a3]
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: 3.1kHz audio (16)
<                              Ext: 1  Trans mode/rate: 64kbps, 
circuit-mode (16)
<                              Ext: 1  User information layer 1: A-Law (35)
< [18 03 a1 83 8a]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Preferred 
Dchan: 0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0   Number Specified   Channel 
Type: 3
<                       Ext: 1  Channel: 10 ]
< [1c 26 91 a1 23 02 02 00 80 02 01 0f 30 1a 02 01 01 0a 01 02 a1 12 a0 
10 a1 0e 0a 01 02 12 09 37 30 33 32 38 39 38 34 30]
< Facility (len=40, codeset=0) [ 0x91, 0xa1, 0x23, 0x02, 0x02, 0x00, 
0x80, 0x02, 0x01, 0x0f, '0', 0x1a, 0x02, 0x01, 0x01, 0x0a, 0x01, 0x02, 
0xa1, 0x12, 0xa0, 0x10, 0xa1, 0x0e, 0x0a, 0x01, 0x02, 0x12, 0x09, 
'703289840' ]
< [1e 02 84 83]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 
0: 0   Location: Public network serving the remote user (4)
<                               Ext: 1  Progress Description: Calling 
equipment is non-ISDN. (3) ]
< [6c 0a 21 83 31 38 31 33 34 32 35 35]
< Calling Number (len=12) [ Ext: 0  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
<                           Presentation: Presentation allowed of 
network provided number (3) '18134255' ]
< [70 05 c1 38 35 35 36]
< Called Number (len= 7) [ Ext: 1  TON: Subscriber Number (4)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '8556' ]
-- Making new call for cr 40
-- 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)
Handle Q.932 ROSE Invoke component
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
Aug 17 16:36:39 WARNING[31243]: chan_zap.c:8379 pri_dchannel: PRI_EVENT_RING
 > Protocol Discriminator: Q.931 (8)  len=10
 > Call Ref: len= 2 (reference 40/0x28) (Terminator)
 > Message type: CALL PROCEEDING (2)
 > [18 03 a9 83 8a]
 > Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, 
Exclusive Dchan: 0
 >                        ChanSel: Reserved
 >                       Ext: 1  Coding: 0   Number Specified   Channel 
Type: 3
 >                       Ext: 1  Channel: 10 ]
    -- Accepting call from '18134255' to '8556' on channel 0/10, span 1
    -- Executing Answer("Zap/10-1", "") in new stack
 > Protocol Discriminator: Q.931 (8)  len=14
 > Call Ref: len= 2 (reference 40/0x28) (Terminator)
 > Message type: CONNECT (7)
 > [18 03 a9 83 8a]
 > Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, 
Exclusive Dchan: 0
 >                        ChanSel: Reserved
 >                       Ext: 1  Coding: 0   Number Specified   Channel 
Type: 3
 >                       Ext: 1  Channel: 10 ]
 > [1e 02 81 82]
 > 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: Called 
equipment is non-ISDN. (2) ]
    -- Executing NoOp("Zap/10-1", "name: ") in new stack
    -- Executing NoOp("Zap/10-1", "number: 18134255") in new stack
    -- Executing NoOp("Zap/10-1", "ani: 18134255") in new stack
    -- Executing NoOp("Zap/10-1", "dnid: 8556") in new stack
    -- Executing NoOp("Zap/10-1", "rdnis: ") in new stack
    -- Executing Goto("Zap/10-1", "test|1") in new stack
    -- Goto (default,test,1)
    -- Executing Answer("Zap/10-1", "") in new stack
    -- Executing Wait("Zap/10-1", "1") in new stack




More information about the asterisk-users mailing list