Introduction
Introduction Statistics Contact Development Disclaimer Help
Whitespace, add CALLTOKEN - warvox - VoIP based wardialing tool, forked from ra…
Log
Files
Refs
README
---
commit 30e3eb477e3685c65266c058ce3eaaf1b0bff9f4
parent de9999b9ad601a133ca1cb01a2d40448f5e9d3bd
Author: HD Moore <[email protected]>
Date: Sun, 28 Feb 2016 17:45:50 -0600
Whitespace, add CALLTOKEN
Diffstat:
M lib/warvox/proto/iax2/client.rb | 1 -
M lib/warvox/proto/iax2/constants.rb | 42 +++++++++++++++++------------…
2 files changed, 23 insertions(+), 20 deletions(-)
---
diff --git a/lib/warvox/proto/iax2/client.rb b/lib/warvox/proto/iax2/client.rb
@@ -143,7 +143,6 @@ class Client
send_data( call, create_pkt( call.scall, call.dcall, stamp, call.oseq, cal…
end
-
def send_invalid(call)
data = [ IAX_SUBTYPE_INVAL ].pack('C')
send_data( call, create_pkt( call.scall, call.dcall, call.timestamp, call.…
diff --git a/lib/warvox/proto/iax2/constants.rb b/lib/warvox/proto/iax2/constan…
@@ -64,25 +64,26 @@ IAX_CTRL_PROCEED = 15
=end
-IAX_SUBTYPE_NEW = 1
-IAX_SUBTYPE_PING = 2
-IAX_SUBTYPE_PONG = 3
-IAX_SUBTYPE_ANSWER = 4
-IAX_SUBTYPE_ACK = 4
-IAX_SUBTYPE_HANGUP = 5
-IAX_SUBTYPE_REJECT = 6
-IAX_SUBTYPE_ACCEPT = 7
-IAX_SUBTYPE_AUTHREQ = 8
-IAX_SUBTYPE_AUTHREP = 9
-IAX_SUBTYPE_INVAL = 10
-IAX_SUBTYPE_LAGRQ = 11
-IAX_SUBTYPE_LAGRP = 12
-IAX_SUBTYPE_REGREQ = 13
-IAX_SUBTYPE_REGAUTH = 14
-IAX_SUBTYPE_REGACK = 15
-IAX_SUBTYPE_REGREJ = 16
-IAX_SUBTYPE_REGREL = 17
-IAX_SUBTYPE_VNAK = 18
+IAX_SUBTYPE_NEW = 1
+IAX_SUBTYPE_PING = 2
+IAX_SUBTYPE_PONG = 3
+IAX_SUBTYPE_ANSWER = 4
+IAX_SUBTYPE_ACK = 4
+IAX_SUBTYPE_HANGUP = 5
+IAX_SUBTYPE_REJECT = 6
+IAX_SUBTYPE_ACCEPT = 7
+IAX_SUBTYPE_AUTHREQ = 8
+IAX_SUBTYPE_AUTHREP = 9
+IAX_SUBTYPE_INVAL = 10
+IAX_SUBTYPE_LAGRQ = 11
+IAX_SUBTYPE_LAGRP = 12
+IAX_SUBTYPE_REGREQ = 13
+IAX_SUBTYPE_REGAUTH = 14
+IAX_SUBTYPE_REGACK = 15
+IAX_SUBTYPE_REGREJ = 16
+IAX_SUBTYPE_REGREL = 17
+IAX_SUBTYPE_VNAK = 18
+IAX_SUBTYPE_CALLTOKEN = 40
=begin
+------+-----------+-----------------------------------------+
@@ -161,9 +162,12 @@ IAX_SUBTYPE_VNAK = 18
| 0x24 | Reserved | Reserved for future use |
| | | |
| 0x25 | Reserved | Reserved for future use |
+ | | | |
+ | 0x28 | CALLTOKEN | Call token (part of newer auth) |
+------+-----------+-----------------------------------------+
=end
+
IAX_IE_CALLED_NUMBER = 1
IAX_IE_CALLING_NUMBER = 2
IAX_IE_AUTH_METHODS = 3
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.