Debugging call signaling
629
SmartWare Software Configuration Guide
52 • VoIP debugging
Debugging SIP signaling
Mode:
Administrator Execution
Verify an incoming call
Make sure that an incoming call from the SIP network enters correctly context CS. The following sequence
shows a working call setup.
unit(cfg)#debug gateway sip error
unit(cfg)#debug gateway sip transport
unit(cfg)#18:53:40 SIP_TR> Received INVITE sip:[email protected] SIP/2.0
18:53:40 SIP_TR> Sent SIP/2.0 100 Trying
18:53:40 SIP_TR> Sent SIP/2.0 180 Ringing
18:53:43 SIP_TR> Sent SIP/2.0 200 OK
18:53:43 SIP_TR> Received ACK sip:[email protected]:5060 SIP/2.0
Explanation:
•
The line
18:53:40 SIP_TR> Received INVITE sip:[email protected] SIP/2.0
indicates that the
INVITE
message has been received. This means that the SIP network is functional
•
18:53:40 SIP_TR > Sent SIP/2.0 100 Trying
and
18:53:40 SIP_TR> Sent SIP/2.0 180 Ringing
indi-
cate that responses are sent back to the SIP network. This means that the call routing is working correctly,
and the call has found its destination on the gateway that is debugged. If there are no responses, or a nega-
tive response, continue debugging call routing and the destination protocol.
Verify an outgoing call
Make sure that an outgoing call from context CS leaves correctly to the SIP network. The following sequence
shows a working call setup.
unit(cfg)#debug gateway sip error
unit(cfg)#debug gateway sip transport
unit(cfg)#18:59:07 SIP_TR> Sent INVITE sip:[email protected] SIP/2.0
18:59:07 SIP_TR> Received SIP/2.0 100 Trying
18:59:07 SIP_TR> Received SIP/2.0 180 Ringing
18:59:10 SIP_TR> Received SIP/2.0 200 OK
18:59:10 SIP_TR> Sent ACK sip:[email protected]:5060 SIP/2.0
Step
Command
Purpose
1
[
node
]#debug context sip-gateway data-
path [detail
<level>
]
Logs information related to the media chan-
nels.
[
node
]#debug context sip-gateway error
[detail
<level>
]
Logs all errors detected within the Context SIP
Gateway.
[
node
]#debug context sip-gateway regis-
tration [detail
<level>
]
Logs information about user registration activ-
ities.
[
node
]#debug context sip-gateway sig-
naling [detail
<level>
]
Logs call signaling related information.
[
node
]#debug context sip-gateway
transport [detail
<level>
]
Logs all SIP messages sent or received over
the IP network.