Screenshots

Everybody loves screenshots, so here are a few:

 

libisdn-config:

Usage and example output

stkn@konata $ libisdn-config -h
Usage:
libisdn-config [-dhvV]
Options:
-v      Show version information
-V      Show full version information
-h      This help text
-d      List available dialects

stkn@konata $ libisdn-config -d
-- dialect --- mode ------------------------ description -------------
Q931            TE      ITU-T Q.931 (DSS1, 05/98) base standard (TE/CPE mode)
5ESS            TE      AT&T / Lucent 5ESS (TR 41459, 06/99) (TE/CPE mode)
DMS100          TE      Nortel DMS-100 (TE/CPE mode)

stkn@konata $ libisdn-config -v
libisdn version: 0.0.2 (05/28/2011 01:07:56)

stkn@konata $ libisdn-config -V
libisdn information:
version:                0.0.2
platform:               LINUX
architecture:           -
compiler vendor:        GNU
compiler version:       clang version 2.9 (tags/RELEASE_29/final)
build date:             05/28/2011 01:07:56
build cflags:           -O2 -pipe -g -gdwarf-4
build ldflags: 
build features:
                pcap capture/replay
                script api
                lua scripting
                statistics
                extended statistics
build dialects:
                Q931 (TE)
                5ESS (TE)
                DMS100 (TE)
 

ftmod_isdn:

Command overview

freeswitch@konata> ftdm isdn help

isdn span <SPAN> capture start <FILENAME> [q921|q931]
isdn span <SPAN> capture <stop|suspend|resume>
isdn span <SPAN> loglevel <q921|q931|all> <LOGLEVEL>
isdn span <SPAN> show
isdn span <SPAN> show calls
isdn span <SPAN> show channels [text|diagram]
isdn span <SPAN> show scripts
isdn span <SPAN> show stats
isdn span <SPAN> show stats q921 [TEI]
isdn span <SPAN> show stats q931 [CALLID]
isdn span <SPAN> show transactions
isdn span <SPAN> hangup <CALLID|all> [CAUSE]
isdn span help

isdn show spans
isdn show dialects

isdn version
isdn help

Span details

freeswitch@konata> ftdm isdn span 1 show

PRI_1
       ---------------- Q.931 ---------------
       State:                  Aligned
       Mode:                   TE
       Dialect:                Nortel DMS-100 (TE/CPE mode)
       Line Type:              E1
       Channels #:             32
       B-Channels:             1-15,17-31
       D-Channels:             16
       Log-level:              debug

       ---------------- Q.921 ---------------
       Mode:                   TE
       Type:                   PTP
       SAPI:                   0
       TEI:                    0
       Log-level:              notice

       ------------- Connector --------------
       Omit Display IE:        no

List of active calls on span

freeswitch@konata> ftdm isdn span 1 show calls

------------------------------------------------------------------------------
<0x80000010>:
        Direction:              inbound
        State:                  Active
        CallerID:
        Destination:            140084
        Channels:               1
        Started at:             2011-06-04 20:16:53
        Call duration:          00:00:05
        Answered at:            2011-06-04 20:16:53
        Answer delay:           00:00:00
--------------------------------------------------------------[ 01 call(s) ]--

Channels in use, channel allocator details and statistics (text)

freeswitch@konata> ftdm isdn span 1 show channels

---=== Channel configuration ===-----------------------------------------------
Channels #:                     32 (E1)
B-Channels:                     1-15,17-31
D-Channels:                     16

---=== Channel allocation ===--------------------------------------------------
Allocator type:                 default
Channels in use:                - none -

---=== Allocation statistics ===-----------------------------------------------
Total # of allocations:         3
    Single channel:             3 (100.00 %)
    Multiple channel:           0 (0.00 %)
Allocation results:
    Successfull allocations:    3 (100.00 %)
    Partial allocations:        0 (0.00 %)
    Pool exhausted:             0 (0.00 %)
    Other errors:               0 (0.00 %)

---=== Allocation distribution ===---------------------------------------------
  1:        3 ||  2:        0 ||  3:        0 ||  4:        0 ||  5:        0
  6:        0 ||  7:        0 ||  8:        0 ||  9:        0 || 10:        0
 11:        0 || 12:        0 || 13:        0 || 14:        0 || 15:        0
 17:        0 || 18:        0 || 19:        0 || 20:        0 || 21:        0
 22:        0 || 23:        0 || 24:        0 || 25:        0 || 26:        0
 27:        0 || 28:        0 || 29:        0 || 30:        0 || 31:        0
-------------------------------------------------------------------------------
+OK

Channels in use, channel allocator details and statistics (diagram)

freeswitch@konata> ftdm isdn span 1 show channels diagram

---=== Channel configuration ===-----------------------------------------------
Channels #:                     32 (E1)
B-Channels:                     1-15,17-31
D-Channels:                     16

---=== Channel allocation ===--------------------------------------------------
Allocator type:                 default
Channels in use:                - none -

---=== Allocation statistics ===-----------------------------------------------
Total # of allocations:         3
    Single channel:             3 (100.00 %)
    Multiple channel:           0 (0.00 %)
Allocation results:
    Successfull allocations:    3 (100.00 %)
    Partial allocations:        0 (0.00 %)
    Pool exhausted:             0 (0.00 %)
    Other errors:               0 (0.00 %)

---=== Allocation distribution ===---------------------------------------------
      3 |#                                                                   
        |#                                                                   
   c    |#                                                                   
   o    |#                                                                   
   u    |#                                                                   
   n    |#                                                                   
   t    |#                                                                   
        |#                                                                   
      0 -------------------------------------------------------------        
                           1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3         
         1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1         
                                 b-channel                                  
-------------------------------------------------------------------------------
+OK