Introduction
Introduction Statistics Contact Development Disclaimer Help
Always acknowledge control requests - warvox - VoIP based wardialing tool, fork…
Log
Files
Refs
README
---
commit 19c15827759ba27da70d307c63ecb6998f8e6833
parent 819317ab5c5cc3ba0ae7cd5e2bd3aa441656b083
Author: HD Moore <[email protected]>
Date: Sun, 28 Feb 2016 18:48:01 -0600
Always acknowledge control requests
Diffstat:
M lib/warvox/proto/iax2/call.rb | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/lib/warvox/proto/iax2/call.rb b/lib/warvox/proto/iax2/call.rb
@@ -238,18 +238,15 @@ class Call
case stype
when IAX_CTRL_HANGUP
dprint("HANGUP")
- self.client.send_ack(self)
self.state = :hangup
when IAX_CTRL_RINGING
dprint("RINGING")
- self.client.send_ack(self)
when IAX_CTRL_BUSY
dprint("BUSY")
self.busy = true
self.state = :hangup
- self.client.send_ack(self)
when IAX_CTRL_ANSWER
dprint("ANSWER")
@@ -257,7 +254,6 @@ class Call
self.state = :answered
self.ring_finish = ::Time.now.to_i
end
- self.client.send_ack(self)
when IAX_CTRL_PROGRESS
dprint("PROGRESS")
@@ -268,8 +264,9 @@ class Call
when 255
dprint("STOP SOUNDS")
end
+
# Acknowledge all control packets
- # self.client.send_ack(self)
+ self.client.send_ack(self)
when IAX_TYPE_IAX
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.