[asterisk-users] PRI cause codes

Steve Casto stevec1 at cox.net
Sat Jun 20 17:15:41 CDT 2009


I am trying to retrieve the cause code of a outgoing call over a PRI 
where the number called is out of service. When an out service number is 
called I get  a recording that the number dialed is not a working 
number. I see cause code 1 in in the CLI as soon as the call is dialed 
the Telco recording goes on for 30 sec. then hangs up. Any idea on how 
retrieve info that the called number is is out of service. My 
understanding is cause code 1 is an  unallocated number.
thanks
Steve Casto
  Asterisk 1.4.21.1

  -- Executing [17609199147 at admin3:1] Dial("SIP/Bob-00aaf150", 
"Zap/G1/17609199147||g") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called G1/17609199147
    -- Zap/23-1 is proceeding passing it to SIP/Bob-00aaf150
    -- PROGRESS with cause code 1 received
    -- Zap/23-1 is making progress passing it to SIP/Bob-00aaf150
    -- Channel 0/23, span 1 got hangup, cause 102
    -- Hungup 'Zap/23-1'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [17609199147 at admin3:2] NoOp("SIP/Bob-00aaf150", "102") 
in new stack
  == Auto fallthrough, channel 'SIP/Bob-00aaf150' status is 'CHANUNAVAIL'

from extensions.conf
exten => _1NXXXXXXXXX,1,Dial(Zap/G1/${EXTEN},,g)
exten => _1NXXXXXXXXX,n,NoOp(${HANGUPCAUSE})

from zapata.conf
> context=pri
> group=1
> switchtype=national
> signalling = pri_cpe
> priindication = outofband
> channel =>1-23




More information about the asterisk-users mailing list