![background image](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387540.webp)
Debugging call signaling
540
SmartWare Software Configuration Guide
42 • VoIP debugging
EOXGW01#
The line “link state: up” tells you that layer 1 is up. To debug the layers 1-3 state machines, use the command
debug isdn event
slot port
{all | layer1 | layer2 | layer3}.
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
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 voip events
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.