asterisk - troubleshoot

 

 

Check Version

asterisk -V

Asterisk 1.6.0.26-FONCORE-r78

asterisk –r

-r # Connect to Asterisk on this machine

Increase the Verbosity

*CLI> core show settings

....
Root console verbosity:      1
Current console verbosity:   1
....

方法 1:

server*CLI> core set verbose 9

Verbosity was 1 and is now 9

方法 2:

asterisk -rvvv

  • -v              Increase verbosity

 


 

TDM Card:

 

Driver 什麼版本:

trixbox1*CLI> dahdi show version

DAHDI Version: 2.3.0.1 Echo Canceller: MG2

 

什麼 TDM Card:

trixbox1*CLI> dahdi show status

Description                              Alarms  IRQ    bpviol CRC4   Fra Codi Options  LBO
Wildcard TDM410P Board 1                 OK      0      0      0      CAS Unk  YEL      0 db (C     SU)/0-133 feet (DSX-1)

 

卡上有什麼 Channel:

trixbox1*CLI> dahdi show channels

   Chan Extension  Context         Language   MOH Interpret        Blocked    State
 pseudo            from-internal   en         default                         In Service
      1            from-pstn       en         default                         In Service
      2            from-pstn       en         default                         In Service
      3            from-internal   en         default                         In Service
      4            from-internal   en         default

 

其中一個 Channel 的資料 :

trixbox1*CLI> dahdi show channel 1

.................................
Dialing: no
.................................
InAlarm: 0
Signalling Type: FXS Loopstart
Radio: 0
Owner: DAHDI/1-1
Real: DAHDI/1-1
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: yes
Busy Detection: no
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
DND: no
Echo Cancellation:
        128 taps
        (unless TDM bridged) currently ON
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Offhook

 


 

查看 Alern:

 lsdahdi

### Span  1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
  1 FXO        FXSLS       (In use) (SWEC: MG2) (EC: MG2)
  2 FXO        FXSLS       (In use) (SWEC: MG2)  RED
  3 FXS        FXOKS       (In use) (SWEC: MG2)
  4 FXS        FXOKS       (In use) (SWEC: MG2)

Alarm Types

  •  Red Alarm (when it cannot maintain synchronization with the remote switch.)
  •  Yellow Alarm (receives a signal from the remote switch that the port on that remote switch is in red alarm.)
  •  Blue Alarm (it receives all unframed 1s on all timeslots from the remote switch.)

 

KS or LS

fx?ls   *
Loopstart protocol.

fx?gs
Groundstart protocol.

fx?ks
Koolstart protocol.

 


dahdi

destroy  restart  set