sip-capture 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/sip/capture/hep3.rb +1 -2
- data/lib/sip/capture/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6359ce2f5767bb006d1071a7fde6d95a518cda1
|
4
|
+
data.tar.gz: 2654ca8be398919a992af6584c6e897294990c1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0f065a5194cfc30e959390ef3decbee9d2b75b5cd092cc746e8acdd3e0171ec109064ad27a0c31dbec282c6539d36898cd4f57bb603582c52186794e89af767
|
7
|
+
data.tar.gz: f4c23bb60b376ee308ee560f4393b3dfe8acb9bd1dbe210e27c38a6e5c5575e56bdd95e31d99a51ece73eb90225ed199f5e2cc5019645ef64de303a73c5ef909
|
data/Gemfile.lock
CHANGED
data/lib/sip/capture/hep3.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'socket'
|
2
|
-
require 'json'
|
3
2
|
|
4
3
|
module Sip
|
5
4
|
module Capture
|
@@ -33,7 +32,7 @@ module Sip
|
|
33
32
|
data = @socket.recvfrom_nonblock(65535) #=> ["aaa", ["AF_INET", 33302, "localhost.localdomain", "127.0.0.1"]]
|
34
33
|
process_data data[0], &block
|
35
34
|
rescue IO::WaitReadable
|
36
|
-
IO.select([
|
35
|
+
IO.select([@socket], [], [], 10)
|
37
36
|
retry
|
38
37
|
end
|
39
38
|
end
|
data/lib/sip/capture/version.rb
CHANGED