[Asterisk-Users] Q: How to get the preset callerid from a CLID-no-screen E1-PRI

Frank Sautter asterisk at sautter.com
Fri Feb 4 06:51:05 MST 2005


Peter Svensson wrote:
> On Fri, 4 Feb 2005, Frank Sautter wrote:
>>RDNIS is empty.
> So the operator sets an incomplete callerid? Sounds like a 
> misconfiguration at the operators end.
> 
> Do a "pri intense debug span XXX" on one of the calls and post the log 
> of the SETUP to CONNECT_ACK messages.

< Protocol Discriminator: Q.931 (8)  len=55
< Call Ref: len= 2 (reference 4122/0x101A) (Originator)
< Message type: SETUP (5)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: Speech (0)
<                              Ext: 1  Trans mode/rate: 64kbps, 
circuit-mode (16)
<                              Ext: 1  User information layer 1: A-Law (35)
< [18 03 a9 83 81]
< 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: 1 ]
< [6c 0c 21 80 31 37 32 39 38 37 36 35 34 33]
< Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
<                           Presentation: Presentation permitted, user 
number not screened (0) '1729876543' ]
< [6c 0a 21 83 37 30 33 31 37 31 34 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) '70317145' ]
< [70 08 c1 31 32 33 34 35 36 37]
< Called Number (len=10) [ Ext: 1  TON: Subscriber Number (4)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1234567' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)

as you can see there are two calling numbers sent: 1729876543 (CLI-no 
screen - which should be the callerid) and a second one 70317145 
(Network provided number).



 > Are you sure that the RDNIS is empty?
yes, here is a debug output of this call where i put out all variables i 
get....
     -- Executing NoOp("Zap/1-1", "-user2user  -c2ton 65 -csub  -ani2 00 
-cton 33 -ctns 0 -cani2 0 -cnum 070317145 -id 070317145 -rdnis  -pres 3")






More information about the asterisk-users mailing list