[asterisk-users] How to read channel occupation from PRI INTENSE DEBUG ?

Olivier oza-4h07 at myamail.com
Wed Feb 21 02:12:13 MST 2007


Hi,

(Apologies for readers of Bristuff mailing as I already posted this message
to the list)

My setup is:
SIP hardphone ------------- <LAN> ----------- Asterisk server
---------<ISDN>
Asterisk server is :
Gentoo enabled with 1.0.8 bristuffed Asterisk
equipped with Junghanns Quad BRI with 2 BRI ports connected to ISDN

>From log files (with line numbering enabled) I've got :

  2140      < Informational frame:
  2141      < SAPI: 00  C/R: 1 EA: 0
  2142      <  TEI: 064        EA: 1
  2143      < N(S): 000   0: 0
  2144      < N(R): 001   P: 0
  2145      < 8 bytes of data
  2146      -- ACKing all packets from 0 to (but not including) 1
  2147      -- Since there was nothing left, stopping T200 counter
  2148      -- Stopping T203 counter since we got an ACK
  2149      -- Nothing left, starting T203 counter
  2150      < Protocol Discriminator: Q.931 (8)  len=8
  2151      < Call Ref: len= 1 (reference 153/0x99) (Terminator)
  2152      < Message type: RELEASE COMPLETE (90)
  2153      < [08 02 87 a2]
  2154      < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: International network (7)
  2155      <                  Ext: 1  Cause: Circuit/channel congestion
(34), class = Network Congestion (2) ]
  2156      Sending Receiver Ready (1)

  2157      > [ 02 81 01 02 ]

  2158      > Supervisory frame:
  2159      > SAPI: 00  C/R: 1 EA: 0
  2160      >  TEI: 064        EA: 1
  2161      > Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
  2162      > N(R): 001 P/F: 0
  2163      > 0 bytes of data
  2164      -- Restarting T203 counter
  2165      -- Restarting T203 counter
  2166          -- Channel 0/1, span 2 got hangup
  2167      Feb 19 16:21:03 VERBOSE[10990]:     -- Zap/4-1 is circuit-busy
  2168      Feb 19 16:21:03 DEBUG[10990]: Set option AUDIO MODE, value:
ON(1) on Zap/4-1
  2169      Feb 19 16:21:03 DEBUG[10990]: Hangup: channel: 4 index = 0,
normal = 18, callwait = -1, thirdcall = -1
  2170      Feb 19 16:21:03 DEBUG[10990]: Already hungup...  Calling hangup
once, and clearing call
  2171      Feb 19 16:21:03 DEBUG[10990]: disabled echo cancellation on
channel 4
  2172      Feb 19 16:21:03 DEBUG[10990]: Set option TDD MODE, value: OFF(0)
on Zap/4-1
  2173      Feb 19 16:21:03 DEBUG[10990]: Updated conferencing on 4, with 0
conference users
  2174      Feb 19 16:21:03 DEBUG[10990]: Set option AUDIO MODE, value:
OFF(0) on Zap/4-1
  2175      Feb 19 16:21:03 DEBUG[10990]: disabled echo cancellation on
channel 4
  2176      Feb 19 16:21:03 VERBOSE[10990]:     -- Hungup 'Zap/4-1'
  2177      Feb 19 16:21:03 VERBOSE[10990]:   == Everyone is busy/congested
at this time
  2178      Feb 19 16:21:03 DEBUG[10990]: Exiting with
DIALSTATUS=CONGESTION.

My feeling (not based on hard facts yet), is that all 4 channels were not
all busy.
How can I can check this reading PRI INTENSE DEBUG SPAN (enormous) output ?

I guess this information should be somehow readable from Channel D .
As PRI INTENSE DEBUG shows both Supervisory and Informational frames, I
guess channel occupation should be in Supervisory frames which I don't know
yet how to read.

How can I check this ?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070221/085fd9c7/attachment-0001.htm


More information about the asterisk-users mailing list