/etc/tips.conf

tips and tricks…

=====================================================
REMOTE ACL CONFIG with CISCO Switches or Routers:

If your facility is not in your office or you are accessing a Cisco router or switch remotely then i suggest a few things, from first hand experience :(.

Accessing the ACL on your Cisco Router: first thing to do is have the new version of the ACL in notepad or textedit review it and make sure the changes you are about to apply are correct. Then ssh or telnet to your box use the reload in XX (min), i use reload in 5. That way i can go do the following:

(Access the router/switch)

Router#show run
(Just check the config)

Router#reload in 5
Router#config t
Router(config)#int gX/X
Router(config-if)#no ip access-group XXX in
Router(config-if)#exit
Router(config)#no access-list XXX
(copy the ACL in notepad and past it to the session)
Router(config)#ctrl+V (pasting the new ACL to the router)
Router(config)#exit
Router#show run
(make sure the ACL is what you want)
Router#config t
Router(config)#int GX/X
Router(config-if)#ip access-group XXX in
Router(config-if)#exit
Router(config)#exit
Router#reload cancel
Router#wr

and you are done…

logo1.gif

=====================================================

CANTATA IMG-1010 Call Tracing:

Config IMG-1010 to display active calls and “gerp” cause code’s for each calls to display in terminal:

The IMG-1010 has a very nice feature to let you watch the realtime call flow between IP (SIP or H.323) and SS7. This is great because otherwise we would need to interupt service with a protocal analyser.

This is how it works.

To enable this feature we could just do a telnet session from any linux box that has IP access to the IMG-1010. In our case the GCEMS controller is in Miami, NAP of the Americas, and our IMG-1010 are in Telecom’ arount the world.

Telnet to your IMG-1010:
telnet 255.255.255.255|tee capturetext.txt

username:username
password:password

You should have the username and password to your IMG-1010.

Enter these comands in order to enable call tracing via the CLI.

>W
GEL>29
CALL>P
–logging & Printing All Events–
CALL>_

now open a new terminal window.

[excalsw@hostname]$ tail capturetext.txt |grep “cause”

Where capturetxt.txt is the filename used in the telnet “|tee” command.

Resize your terminal window so you see complete lines of text.Your output should look like this

01:56:13.496 CALL(SS7) (00:8782:01) SENT REL (0×1938:0×3338:449) cause 16

Where cause 16 is the SS7 Cause code of the call.
Where 00:8782:01 is the call ID - so if you would like to look at the complete call. just use this command:

grep “00:8782″ syspogtext.txt and you should see the complete call flow.

This output will look something thik this:

17:46:58.936 CALL(SIP) (00:1796:00) RCVD INVITE from 10.10.10.10:5060 UDP
17:46:58.936 CALL(SIP) (00:1796:00) with Via sent-by: 10.10.10.9
17:46:58.936 CALL(SIP) (00:1796:00) SENT 100 Trying to 10.10.10.10:5060
17:46:58.936 CALL(SIP) (00:1796:00) SENT Route Ctrl to L4
17:46:58.936 CALL(L4) (00:1796:00) RCVD Route Control from SIP
17:46:58.936 CALL(L4) (00:1796:00) Accessing Route Table 2
17:46:58.936 CALL(L4) (00:1796:00) Accessing Resource Table 149
17:46:58.936 CALL(L4) (00:1796:00) Hunting Algorithm is Round Robin
17:46:58.936 CALL(L4) (00:1796:00) SENT Route Control Ack to SIP
17:46:58.936 CALL(SIP) (00:1796:00) RCVD Route Ctrl Ack from L4
17:46:58.936 CALL(SIP) (00:1796:00) Session Group Profile ID is 1
17:46:58.936 CALL(SIP) (00:1796:00) SENT Route Ctrl to L4
17:46:58.936 CALL(L4) (00:1796:00) RCVD Route Control from SIP
17:46:58.936 CALL(L4) (00:1796:00) Accessing IP Bearer Profiles
17:46:58.936 CALL(L4) (00:1796:00) Profile Id 1 (RG 769)
17:46:58.936 CALL(L4) (00:1796:00) SENT Route Control Ack to SIP
17:46:58.936 CALL(SIP) (00:1796:00) RCVD Route Ctrl Ack from L4
17:46:58.936 CALL(SIP) (00:1796:00) m line codec list: 18 0 8 4 101
17:46:58.936 CALL(SIP) (00:1796:00) RTP Type: 101, name: telephone-event, clk:
17:46:58.936 CALL(SIP) (00:1796:00) RTP Type: 4, name: G723, clk: 8000
17:46:58.936 CALL(SIP) (00:1796:00) RTP Type: 8, name: PCMA, clk: 8000
17:46:58.936 CALL(SIP) (00:1796:00) RTP Type: 0, name: PCMU, clk: 8000
17:46:58.936 CALL(SIP) (00:1796:00) RTP Type: 18, name: G729, clk: 8000
17:46:58.936 CALL(SIP) (00:1796:00) Leg 0 associated with hndl(16462), LTS(1815
17:46:58.936 CALL(SIP) (00:1796:00) SENT Setup to L4
17:46:58.936 CALL(L4) (00:1796:00) RCVD Setup Ind from SIP
17:46:58.936 CALL(L4) (00:1796:00) SENT RFS to GCL
17:46:58.936 CALL(GCL) (00:1796:00) RCVD RFS DN=[50433515368] ANI=[1305555
17:46:58.936 CALL(GCL) (00:1796:00) ANI APRI=[0],SI=[0],Category=[10]
17:46:58.936 CALL(GCL) (00:1796:00) Incoming Channel Group = 1 [SIP]
17:46:58.936 CALL(GCL) (00:1796:00) DPE Input :DN=[50433515368] ANI=[13055
17:46:58.936 CALL(GCL) (00:1796:00) DPE input plus(+) sign mask 0×00000000
17:46:58.936 CALL(GCL) (00:1796:00) Invoke Incoming DPE 2; Channel Group 1
17:46:58.936 CALL(GCL) (00:1796:00) DPE response: Proc Complete
17:46:58.936 CALL(GCL) (00:1796:00) DPE Output:DN=[33515368] ANI=[13055551532]
17:46:58.936 CALL(GCL) (00:1796:00) DPE output plus(+) sign mask 0×00000000
17:46:58.936 CALL(GCL) (00:1796:00) SENT Make Call Request to GCL_B
17:46:58.936 CALL(GCL) (00:1796:01) SENT Route Control to L4
17:46:58.936 CALL(L4) (00:1796:00) RCVD RFS response from GCL
17:46:58.936 CALL(L4) (00:1796:00) RCVD Route Control from GCL
17:46:58.936 CALL(L4) (00:1796:00) Accessing Route Table 6
17:46:58.936 CALL(L4) (00:1796:00) Accessing Route Table 6
17:46:58.936 CALL(GCL) (00:1796:01) RCVD Mid Stream Router Response
17:46:58.936 CALL(GCL) (00:1796:01) Outgoing Channel Group = 0 [SS7]
17:46:58.936 CALL(GCL) (00:1796:01) SENT Route Control to L4
17:46:58.936 CALL(L4) (00:1796:01) RCVD Route Control from GCL
17:46:58.936 CALL(L4) (00:1796:01) Accessing Resource Table 149
17:46:58.936 CALL(L4) (00:1796:01) Resource Group ID is 32
17:46:58.936 CALL(L4) (00:1796:01) Hunting Algorithm is SEQUENTIAL_TOP_DOWN
17:46:58.936 CALL(L4) (00:1796:01) SENT Outseize Ctrl to SS7
17:46:58.936 CALL(GCL) (00:1796:01) RCVD CPE of ADDRESS INFO from L4
17:46:58.936 CALL(GCL) (00:1796:01) Leg 1 associated with LTS(171)
17:46:58.936 CALL(SS7) (00:1796:01) RCVD Outseize Ctrl from L4 (0×1938:0×3882:4
17:46:58.936 CALL(SS7) (00:1796:01) SENT IAM (0×1938:0×3882:42)
17:47:03.896 CALL(SS7) (00:1796:01) RCVD ACM (0×3882:0×1938:42)
17:47:03.896 CALL(SS7) (00:1796:01) SENT Cut Thru to L4 (0×3882:0×1938:42)
17:47:03.896 CALL(SS7) (00:1796:01) SENT Outseize ACK to L4 (0×3882:0×1938:42)
17:47:03.896 CALL(L4) (00:1796:01) RCVD Cut Thru from SS7
17:47:03.896 CALL(L4) (00:1796:01) RCVD Outseize ACK from SS7
17:47:03.896 CALL(GCL) (00:1796:00) SENT Connect Tone to L4
17:47:03.896 CALL(L4) (00:1796:00) RCVD Connect Tone from GCL
17:47:03.896 CALL(L4) (00:1796:00) SENT Request DSP Service to SYSRM
17:47:03.896 CALL(MED) (00:1796:00) Transmitting tone 0×2 on (0×1,0×3,0xd1)
17:47:03.896 CALL(MED) (00:1796:00) RCVD OUTPULSE CP
17:47:03.896 CALL(GCL) (00:1796:00) SENT Connect w/Pad Response to L4
17:47:03.896 CALL(L4) (00:1796:00) SENT Progress to SIP
17:47:03.896 CALL(L4) (00:1796:00) SENT connect_1way: r_ts=0xab l_ts=0×717
17:47:03.896 CALL(L4) (00:1796:01) SENT connect_1way: r_ts=0×717 l_ts=0xab
17:47:03.896 CALL(SIP) (00:1796:00) RCVD Progress from L4
17:47:03.896 CALL(SIP) (00:1796:00) Set media src IP 192.192.192.192:11164
17:47:03.896 CALL(SIP) (00:1796:00) Set media dst IP 10.10.10.12:19838
17:47:03.896 CALL(SIP) (00:1796:00) Set media PLD ID 18
17:47:03.896 CALL(SIP) (00:1796:00) Set media PLD Size 30, Multiplier:3
17:47:03.896 CALL(SIP) (00:1796:00) Set Fax Type to Relay Fallback
17:47:03.896 CALL(SIP) (00:1796:00) SENT L3-L3 Outseize Ctrl to VPPL
17:47:03.896 CALL(IP) (00:1796:00) RCVD Outseize from L3, [vts 791] [m1.3.5]
17:47:03.896 CALL(IP) (00:1796:00) RTP: (Src) 192.192.192.192:11164
17:47:03.896 CALL(IP) (00:1796:00) RTP: (Dst) 10.10.10.12:19838
17:47:03.906 CALL(IP) (00:1796:00) VoIP Codec is G729; Payload Size is 30 ms
17:47:03.906 CALL(IP) (00:1796:00) RFC2833 DTMF Relay in use, Dynamic Payload
17:47:03.916 CALL(IP) (00:1796:00) SENT Outseize ACK to L3P, toPvid: x66
17:47:03.916 CALL(SIP) (00:1796:00) RCVD Outseize Ack from VPPL
17:47:03.916 CALL(SIP) (00:1796:00) SENT 183 Session Progress to 10.10.10.9
17:47:03.916 CALL(SIP) (00:1796:00) RCVD Cut Thru from VPPL
17:47:03.916 CALL(SIP) (00:1796:00) RCVD Connect from VPPL
17:47:23.396 CALL(SS7) (00:1796:01) RCVD ANM (0×3882:0×1938:42)
17:47:23.396 CALL(SS7) (00:1796:01) SENT Connect to L4 (0×3882:0×1938:42)
17:47:23.396 CALL(L4) (00:1796:01) RCVD Connect from SS7
17:47:23.396 CALL(L4) (00:1796:01) SENT CPE of ANSWER to GCL

I have jus displayed part of a call…

To stop call tracing:
CALL>r
CALL>q
GEL>q
>

I find these tools very helpfull when diagnosing issues…

The Call Tracing is a feature that you can also enable in you “Client View Application” on the GCEMS Server.

Just go to the /opt/cantata/common/calltracing directory and check for the name of the file to perform operations. Of course you could export the file to a qsl database and view the info via a web page.

images.jpg