Patton electronic SmartNode 4110 Series ユーザーズマニュアル

ページ / 664
Debugging call signaling
632
SmartWare Software Configuration Guide 
52 • VoIP debugging
Debugging FXS Signaling
Overview: FXS debug monitors
Verify an incoming call
Make sure an incoming call is entering correctly context CS. In this example, a POTS terminal connected to 
an FXS port goes off hook and places a call. The port is bound to a context CS interface named PHONE. The 
debug output below shows a normal (working) call setup sequence.
unit>enable
unit#configure
unit(cfg)#debug ccfxs
unit(cfg)#debug fxs
unit(cfg)#09:00:11  FXS   > [0 1] Off hook.
09:00:11  FXS   > [0 1] Notifying off hook.
09:00:11  FXS   > FXS-00/01: state=on-hook, event=off-hook
09:00:11  FXS   > [0 1] Set state to 'Active'
09:00:11  FXS   > FXS-00/01: new state=filtering-events
09:00:11  CFXS  > [EP PHONE] Change state to DIAL-TONE.
09:00:11  CFXS  > [EP PHONE] Change datapath direction to receive-only.
09:00:11  CFXS  > [EP PHONE] Play tone: dial-tone
09:00:11  FXS   > FXS-00/01: state=filtering-events, event=timeout
09:00:11  FXS   > FXS-00/01: new state=off-hook
09:00:13  CFXS  > [EP PHONE] Change state to DIALING.
09:00:13  CFXS  > [EP PHONE] Stop tone.
09:00:43  CFXS  > [EP PHONE] Play tone: ringback-tone
09:01:01  CFXS  > [EP PHONE] Change state to CONNECTED.
09:01:01  CFXS  > [EP PHONE] Stop tone.
09:01:01  CFXS  > [EP PHONE] Change datapath direction to send/receive.
Explanation:
unit(cfg)#09:00:11  FXS > [0 1] Off hook.
: The phone went off-hook
09:00:11  CFXS > [EP PHONE] Change state to DIAL-TONE.
: The dial-tone is played.
09:00:13  CFXS > [EP PHONE] Change state to DIALING.
: The first digit has been touched. Dial-tone 
stops.
Command
Purpose
unit#debug ccfxs
Prints all operations on the FXS interfaces (high-
level).
unit#debug fxs
Prints all operations on the FXS ports (low-level).
unit#debug media-gateway control
Prints the dialed digits.
unit#show call-control provider name 
[detail 
detail]
Shows the status of an FXS interface in context CS 
(call control part of FXS signaling). Shown are all 
calls currently ongoing on the interface, with their 
call states, signaling peers and voice data path 
parameters.
name is the name of the FXS interface. Use detail 5 
for most verbose output.