Debugging call signaling
541
SmartWare Software Configuration Guide
42 • VoIP debugging
•
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.
•
09:00:43 CFXS > [EP PHONE] Play tone: ringback-tone
: The called-party is ringing, alerting-
tone is played to the phone. This means that the call arrived correctly in context CS, and has reached its
destination.
•
If the above line does not appear, the call has arrived in context CS, but has not reached its destination.
Continue debugging call-router and the outgoing call to the destination signaling protocol.
•
If you want to see the dialed digits in the debug monitor, use “debug voip events”.
•
09:01:01 CFXS > [EP PHONE] Change state to CONNECTED.
: the called party has accepted the call,
and the call is now established.
Verify an outgoing call
Make sure a call from context CS is accepted by the connected POTS terminal. The port is bound to a context
CS interface named PHONE.
The simplest way to verify the signaling of an outgoing call is to use the built-in call generator. You can place a
call to any called-party, and verify that the connected phone is ringing.
unit>enable
unit#configure
unit(cfg)#debug ccfxs
unit(cfg)#debug fxs
unit(cfg)#call 1 dial 2 dest-interface PHONE
unit(cfg)#09:13:55 CFXS > [EP PHONE] Change state to RINGING.
09:13:55 CFXS > [EP PHONE] Start Ring.
09:13:55 FXS > FXS-00/01: state=on-hook, event=ring-start
09:13:55 FXS > [0 1] Set state to 'Ringing'
09:13:55 FXS > FXS-00/01: new state=ringing
09:13:56 FXS > [0 1] Set state to 'RingPause'
09:14:00 FXS > [0 1] Set state to 'Ringing'
09:14:01 FXS > [0 1] Set state to 'RingPause'
09:14:02 FXS > [0 1] Off hook.
09:14:02 FXS > [0 1] Notifying off hook.
09:14:02 FXS > FXS-00/01: state=ringing, event=off-hook
09:14:02 FXS > [0 1] Set state to 'Idle'
09:14:02 FXS > [0 1] Set state to 'Active'
09:14:02 FXS > FXS-00/01: new state=off-hook
09:14:02 CFXS > [EP PHONE] Change state to CONNECTED.
09:14:02 CFXS > [EP PHONE] Stop ring.
09:14:02 FXS > FXS-00/01: state=off-hook, event=ring-stop
09:14:02 FXS > FXS-00/01: new state=off-hook
09:14:02 CFXS > [EP PHONE] Change datapath direction to send/receive.
Explanation:
•
unit(cfg)#09:13:55 CFXS > [EP PHONE] Change state to RINGING.
: The context CS interface
changes the state to RINGING, that means it has accepted the call.