O'Reilly logo

ScreenOS Cookbook by Sunil Wadhwa, Joe Kelly, Ken Draper, David Delcourt, Vik Davar, Stefan Brunner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11.7. View SIP Call and Session Counters

Problem

You want to view the SIP call and session counters.

Solution

You can view the list of active SIP calls through a ScreenOS gateway using the get alg sip calls command:

	Branch_External_fw-> get alg sip calls

You can see the SIP session counters, specifying the number of instances of various SIP messages processed by the ScreenOS gateway, via the get alg sip counters command:

	Branch_External_fw-> get alg sip counters

Discussion

The active call state information for the SIP call in Recipe 11.6 is seen as follows:

	Branch_External_fw-> get alg sip calls
	   Total number of calls = 1 (# of call legs 2)
	-----------------------------
	   Call leg1: zone 2
	      UAS callid:760b194a0b6e9305MTIzOGE5ZjExZjJhZjIxM2ViNDFmNzRhOTIzNDc4ODM
	(pending tsx 0)
	      Local tag=192-nvs--1035999945990_2015289525-990
	      Remote tag=000b0075
	      State: STATE_ESTABLISHED
	   Call leg2: zone 1
	      UAC callid:760b194a0b6e9305MTIzOGE5ZjExZjJhZjIxM2ViNDFmNzRhOTIzNDc4ODM
	(pending tsx 0)
	      Local tag=000b0075
	      Remote tag=192-nvs--1035999945990_2015289525-990
	      State: STATE_ESTABLISHED
	Branch_External_fw->

Similarly, you can view the SIP counters output for the ScreenOS gateway configuration from Recipe 11.6 with the get alg sip counters command:

	Branch_External_fw-> get alg sip counters SIP message counters: T=Transmit, RT=Retransmit ------------------------------------------------- Method T 1xx 2xx 3xx 4xx 5xx 6xx RT RT RT RT RT RT RT -------------------------------------------------------------- INVITE 1 2 1 0 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required