sproto - SIP Operations Logging

   
 

Description

This page contains a description of SIP logging, as well as a description of the output of the command 'cmd sip status.'

Guidelines

SIP logging requires in-depth knowledge of SIP to decipher.

  • Sproto turns on all SIP traces.

  • Sipstack turns on sipua and sipsess.

  • Sipsyntax provides the eventlogs for SIP message Encoding/Decoding.

  • Siptrans provides the eventlogs for SIP transaction.  For example, each message and its response becomes one SIP transaction.  SIP BYE request and its response 200 OK is one transaction.

  • Sipsyntax is for SIP message decoding/encoding.

  • Sipsess provides the eventlog for call session, register session, etc. Basically it tells what is going on with respect to calls, register, subscribe, etc.

  • Sipua provides eventlogs for the UserAgent.

In most cases these modules will be enabled while working with the Quintum Technical Assistance Center, and you should follow their instructions to get the most useful information.  

To enable

Quintum# ev l3 sproto

To disable

Quintum# ev l0 sproto

cmd sip status

Identification Section

The first section in the output of this command is the Identification Section.

  • The UserAgent ID is a sequential number assigned when you create a new group in the SIPSignalingGroup. The UserAgent ID starts at 1 and runs up to 24 on SIPSG-1. For SIPSG-2, it starts at 25.

  • The ListenPort is the UDP port on which this UserAgent receives the SIP messages.

  • The Registration stats are displayed for SIP Servers configured next.

SIP Call Sessions

This section displays the unique SIP Call-ID, the IP/port of the remote host, and the user (the far end phone number).

SSG Call Sessions

This section displays the active SSG call session and the cumulative call sessions since the last reboot.

SSG Display Register Sessions

This section displays SSG registration information.

SSG Route List

This section displays the phone number and URI information for valid routes.

SSG Allowed Server List

This section displays the Primary and Secondary SIP Server information for each SIP Signaling Group.

Example

 

Quintum# cmd sip status

Current system time is TUE JAN 04 12:52:33 2000

UserAgent ID = 1, ListenPort = 5062

  Primary Registrar:   192.168.2.184:5060   Not Registered

  Secondary Registrar: Unconfigured

  Current Proxy:          Primary-(192.168.2.184:5060)

  Outbound Proxies:       Unconfigured

 

SIP Call Sessions:

------------------

         Total number of Gateway sessions: 0

 

SSG call sessions:

--------------------

         UserAgent ID: 4097

         Current call sessions count: 0

         SSG Total call sessions: 12

 

SSG display Register sessions:

--------------------------------

 

SSG Route List:

-----------------

User: (231), Host: (192.168.27.30:5062)

User: (230), Host: (192.168.27.30)

 

SSG Allowed Server List:

------------------------

SIPSG-1: PrimSIPServer [192.168.2.184:5060], SecSIPServer [0.0.0.0:5060]

SIPSG-2: PrimSIPServer [1.1.1.1:5060], SecSIPServer [192.168.2.182:5060]

SIPSG-3: PrimSIPServer [0.0.0.0:0], SecSIPServer [0.0.0.0:0]

SIPSG-4: PrimSIPServer [0.0.0.0:0], SecSIPServer [0.0.0.0:0]

Quintum#