[asterisk-users] ISDN PRI Caller ID problem

Matthew Fredrickson creslin at digium.com
Mon Oct 20 16:13:00 CDT 2008


A.R. Nasir Qureshi wrote:
> Dear All,
> 
> I am trying to setup an ISDN line from local telco on a digium card. The 
> problem I am facing is that I am not getting any caller id from the 
> telco. They say that they have enabled caller id.

Tell them they are wrong.  There is no calling party number IE in that 
SETUP message below. :-)

Matthew Fredrickson
Digium, Inc.

> 
> Please help me out.
> 
> My zapata.conf
> --------------------------------------------------------------------------------------------------------------------
> [trunkgroups]
> 
> [channels]
> context=pstnincoming
> pridialplan=local
> prilocaldialplan=local
> 
> usecallerid=yes
> cidsignalling=v23
> cidstart=ring
> hidecallerid=no
> callwaiting=no
> usecallingpres=yes
> sendcalleridafter=1
> echocancel=no
> echocancelwhenbridged=no
> rxgain=0.0
> txgain=0.0
> callgroup=1
> pickupgroup=1
> 
> immediate=no
> callerid=asreceived
> busydetect=no
> busycount=6
> callprogress=no
> faxdetect=incoming
> 
> 
> switchtype = national
> signalling = pri_cpe
> group = 1
> channel => 1-15,17-31
> channel => 32-46,48-62
> --------------------------------------------------------------------------------------------------------------------
> 
> The information I get from using "pri intense debug span 1" is:
> --------------------------------------------------------------------------------------------------------------------
> < [ 02 01 16 9c 08 02 15 01 05 04 03 80 90 a3 18 03 a1 83 81 70 08 c1 34 
> 33 39 32 38 34 32 a1 ]
> 
> < Informational frame:
> < SAPI: 00  C/R: 1 EA: 0
> <  TEI: 000        EA: 1
> < N(S): 011   0: 0
> < N(R): 078   P: 0
> < 26 bytes of data
> Handling message for SAPI/TEI=0/0
> -- ACKing all packets from 77 to (but not including) 78
> -- Since there was nothing left, stopping T200 counter
> -- Stopping T203 counter since we got an ACK
> -- Nothing left, starting T203 counter
> < Protocol Discriminator: Q.931 (8)  len=26
> < Call Ref: len= 2 (reference 5377/0x1501) (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)
> <                                User information layer 1: A-Law (35)
> < [18 03 a1 83 81]
> < Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  
> Preferred  Dchan: 0
> <                        ChanSel: As indicated in following octets
> <                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
> <                       Ext: 1  Channel: 1 ]
> < [70 08 c1 34 33 39 32 38 34 32]
> < Called Number (len=10) [ Ext: 1  TON: Subscriber Number (4)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '4392842' ]
> < [a1]
> < Sending Complete (len= 1)
> -- Making new call for cr 5377
> -- Processing Q.931 Call Setup
> -- Processing IE 4 (cs0, Bearer Capability)
> -- Processing IE 24 (cs0, Channel Identification)
> -- Processing IE 112 (cs0, Called Party Number)
> -- Processing IE 161 (cs0, Sending Complete)
> q931.c:3509 q931_receive: call 5377 on channel 1 enters state 6 (Call 
> Present)
> Sending Receiver Ready (12)
> 
> --------------------------------------------------------------------------------------------------------------------
> 




More information about the asterisk-users mailing list