Browse code

nerw SIP devices sighted at iptel intropduced: DrayTek, ST, columbia, partysip ----------------------------------------------------------------------

Jiri Kuthan authored on 05/08/2003 07:23:03
Showing 1 changed files
... ...
@@ -48,7 +48,7 @@ BEGIN {
48 48
     rpl300=0; rpl302=0; rpl3xx=0;
49 49
     rpl400=0; rpl401=0; rpl403=0; rpl404=0; rpl405=0;
50 50
         rpl406=0;rpl407=0;rpl408=0;rpl410=0; rpl415=0;
51
-        rpl476=0;rpl477=0;rpl480=0;rpl481=0;rpl483=0;rpl486=0;rpl478=0;rpl487=0;
51
+        rpl476=0;rpl477=0;rpl480=0;rpl481=0;rpl482=0;rpl483=0;rpl486=0;rpl478=0;rpl487=0;
52 52
 		rpl488=0;rpl489=0;
53 53
         rpl4xx=0;
54 54
 	rpl479=0;
... ...
@@ -124,6 +124,8 @@ BEGIN {
124 124
 	ua_ibm=0;
125 125
 	ua_xpro=0;
126 126
 	ua_hearme=0;
127
+	ua_draytek=0;
128
+	ua_st280;
127 129
 	ua_xx=0;
128 130
 
129 131
 	server_cisco=0
... ...
@@ -146,6 +148,8 @@ BEGIN {
146 148
 	server_edial=0;
147 149
 	server_ma=0;
148 150
 	server_fwd=0;
151
+	server_columbia=0;
152
+	server_partysip=0;
149 153
 	server_xx=0
150 154
 
151 155
 }
... ...
@@ -372,10 +376,18 @@ ua==0 && /User-Agent:.*HearMe/ {
372 376
 	ua_hearme++
373 377
 	ua=1
374 378
 }
379
+ua==0 && /User-Agent:.*DrayTek/ {
380
+	ua_draytek++
381
+	ua=1
382
+}
375 383
 ua==0 && /User-Agent:.*X-Lite/ {
376 384
 	ua_xlite++
377 385
 	ua=1
378 386
 }
387
+ua==0 && /User-Agent:.*ST280/ {
388
+	ua_st++
389
+	ua=1
390
+}
379 391
 
380 392
 
381 393
  { comment="hack to deal with old version of ngrep (breaking in columns)"
... ...
@@ -474,6 +486,15 @@ server==0 && /Server:.*Free World/ {
474 486
 	server_fwd++
475 487
 	server=1
476 488
 }
489
+server==0 && /Server:.*SIPUA-Columbia-University/ {
490
+	server_columbia++
491
+	server=1
492
+}
493
+server==0 && /Server:.*partysip/ {
494
+	server_partysip++
495
+	server=1
496
+}
497
+
477 498
 server==0 && /Server:/ {
478 499
 	server_xx++
479 500
 	print
... ...
@@ -629,6 +650,10 @@ reply==0 && request=0 {
629 650
     rpl481++
630 651
     next
631 652
 }
653
+/SIP\/2\.0 482/ {
654
+    rpl482++
655
+    next
656
+}
632 657
 /SIP\/2\.0 483/ {
633 658
     rpl483++
634 659
     next
... ...
@@ -762,6 +787,7 @@ END {
762 787
 	print "479 (private IP): " rpl479 
763 788
 	print "480 (Unavailable): " rpl480 
764 789
 	print "481 (Call/Transaction does not exist): " rpl481 
790
+	print "482 (Loop Detected): " rpl482 
765 791
 	print "483 (Too Many Hops): " rpl483 
766 792
 	print "486 (Busy Here): " rpl486 
767 793
 	print "487 (Request Terminated): " rpl487
... ...
@@ -777,29 +803,59 @@ END {
777 803
 	print "6xx: " rpl6xx
778 804
 
779 805
 	print "## Request Methods"
780
-    print "INVITE: " invite " CANCEL: " cancel " ACK: " ack
781
-    print "REGISTER: " register " BYE: " bye " OPTIONS: " options " INFO: " info
782
-    print "MESSAGE: " message " SUBSCRIBE: " subscribe " NOTIFY: " notify
806
+    print "INVITE: " invite 
807
+	print "CANCEL: " cancel 
808
+	print "ACK: " ack
809
+    print "REGISTER: " register 
810
+	print "BYE: " bye 
811
+	print "OPTIONS: " options 
812
+	print "INFO: " info
813
+    print "MESSAGE: " message 
814
+	print "SUBSCRIBE: " subscribe 
815
+	print "NOTIFY: " notify
783 816
 
784 817
 	print "## Outbound Routes"
785
-	print "To imgw: " hint_imgw " To voicemail: " hint_voicemail
786
-	print "To bat: " hint_battest " To UsrLoc: " hint_usrloc
787
-	print "Outbound: " hint_outbound " To SMS: " hint_sms
788
-	print "To PSTN: " hint_gw " To: VM on off-line" hint_off_voicemail
818
+	print "To imgw: " hint_imgw 
819
+	print "To voicemail: " hint_voicemail
820
+	print "To bat: " hint_battest 
821
+	print "To UsrLoc: " hint_usrloc
822
+	print "Outbound: " hint_outbound
823
+	print "To SMS: " hint_sms
824
+	print "To PSTN: " hint_gw 
825
+	print "To: VM on off-line" hint_off_voicemail
789 826
 
790 827
 	print "## User Agents"
791
-	print "Snom: " ua_snom " MSN: " ua_msn " Mitel: " ua_mitel
792
-	print "Pingtel: " ua_pingtel " SER: " ua_ser " osip: " ua_osip
793
-	print "linphone: " ua_linphone " ubiquity: " ua_ubiquity
794
-	print "3com: " ua_3com " IPDialog: " ua_ipdialog " Epygi: " ua_epygi
795
-	print "Jasomi: " ua_jasomi " Cisco: " ua_cisco " insipid: " ua_insipid
796
-	print "Hotsip: " ua_hotsip " mxsf: " ua_mxsf " GrandStream: " ua_grandstream
797
-	print "Tellme: " ua_tellme " PocketSipM: " ua_pocketsipm 
798
-	print "eStara: " ua_estara " Vovida: " ua_vovida 
799
-	print "jSIP: " ua_jsip " Nortel: " ua_nortel " Polycom: " ua_polycom
800
-	print "Leader: " ua_leader " csco: " ua_csco " Nebula: " ua_nebula
801
-	print "MagicPPC: " ua_magicppc " SCS: " ua_scs 
802
-	print "SJPhone: " ua_sjphone " KPhone: " ua_kphone
828
+	print "Snom: " ua_snom 
829
+	print "MSN: " ua_msn 
830
+	print "Mitel: " ua_mitel
831
+	print "Pingtel: " ua_pingtel 
832
+	print "SER: " ua_ser 
833
+	print "osip: " ua_osip
834
+	print "linphone: " ua_linphone 
835
+	print "ubiquity: " ua_ubiquity
836
+	print "3com: " ua_3com 
837
+	print "IPDialog: " ua_ipdialog 
838
+	print "Epygi: " ua_epygi
839
+	print "Jasomi: " ua_jasomi 
840
+	print "Cisco: " ua_cisco 
841
+	print "insipid: " ua_insipid
842
+	print "Hotsip: " ua_hotsip 
843
+	print "mxsf: " ua_mxsf 
844
+	print "GrandStream: " ua_grandstream
845
+	print "Tellme: "ua_tellme 
846
+	print "PocketSipM: " ua_pocketsipm 
847
+	print "eStara: " ua_estara 
848
+	print "Vovida: " ua_vovida 
849
+	print "jSIP: " ua_jsip 
850
+	print "Nortel: " ua_nortel 
851
+	print "Polycom: " ua_polycom
852
+	print "Leader: " ua_leader 
853
+	print "csco: " ua_csco 
854
+	print "Nebula: " ua_nebula
855
+	print "MagicPPC: " ua_magicppc 
856
+	print "SCS: " ua_scs 
857
+	print "SJPhone: " ua_sjphone 
858
+	print "KPhone: " ua_kphone
803 859
 	print "Yamaha: " ua_yamaha 
804 860
 	print "tkcPhone: " ua_tkc
805 861
 	print "EdgeAccess: " ua_edgeaccess
... ...
@@ -824,6 +880,8 @@ END {
824 880
 	print "ACT: " ua_act
825 881
 	print "X-pro: " ua_xpro
826 882
 	print "Hearme: " ua_hearme
883
+	print "DrayTek: " ua_draytek
884
+	print "ST: " ua_st
827 885
 	print "UFO: " ua_xx
828 886
 
829 887
 	print "## Servers"
... ...
@@ -842,6 +900,8 @@ END {
842 900
 	print "eDial: " server_edial
843 901
 	print "FWD: " server_fwd
844 902
 	print "MA: " server_ma
903
+	print "Columbia: " server_columbia
904
+	print "PartySip: " server_partysip
845 905
 	print "UFO: " server_xx
846 906
 }
847 907
 '