oversip 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/etc/oversip.conf +4 -4
- data/ext/common/ruby_c_util.h +1 -1
- data/lib/oversip.rb +9 -8
- data/lib/oversip/sip/client_transaction.rb +5 -1
- data/lib/oversip/sip/constants.rb +1 -0
- data/lib/oversip/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32284730297212ad359f49b42a0a459dc9937a04
|
4
|
+
data.tar.gz: b1ceb201d78fc1cb4097db8ff084e02fdd483269
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30df6dd50f9054c621afa9133e0f09acd453823f3a9ce8f9fd655dfec6f0c4c63141c47fa27378e2035df8cdb5d5d15d8ea54c59a0decde369a7c6a8dd92362c
|
7
|
+
data.tar.gz: 8b3480873f2990830461234df1077154cca79524ff334b59f9b32d6531e8946b981c3346034800de0ef1e2e9f158054125eb627151cda012db02eb2816a10cdf
|
data/etc/oversip.conf
CHANGED
@@ -57,7 +57,7 @@ sip:
|
|
57
57
|
# Default value is _null_.
|
58
58
|
#
|
59
59
|
listen_ipv4: null
|
60
|
-
|
60
|
+
|
61
61
|
# Advertised IPv4 for Via, Record-Route and Path headers.
|
62
62
|
# Useful when OverSIP runs behind a NAT and must expose the router public
|
63
63
|
# IPv4 to the outside.
|
@@ -76,7 +76,7 @@ sip:
|
|
76
76
|
# Default value is _null_.
|
77
77
|
#
|
78
78
|
listen_ipv6: null
|
79
|
-
|
79
|
+
|
80
80
|
# Advertised IPv6 for Via, Record-Route and Path headers.
|
81
81
|
# Useful when OverSIP runs behind a NAT and must expose the router public
|
82
82
|
# IPv4 to the outside.
|
@@ -169,7 +169,7 @@ websocket:
|
|
169
169
|
# Default value is _null_.
|
170
170
|
#
|
171
171
|
listen_ipv4: null
|
172
|
-
|
172
|
+
|
173
173
|
# Advertised IPv4 for Via, Record-Route and Path headers.
|
174
174
|
# Useful when OverSIP runs behind a NAT and must expose the router public
|
175
175
|
# IPv4 to the outside.
|
@@ -188,7 +188,7 @@ websocket:
|
|
188
188
|
# Default value is _null_.
|
189
189
|
#
|
190
190
|
listen_ipv6: null
|
191
|
-
|
191
|
+
|
192
192
|
# Advertised IPv6 for Via, Record-Route and Path headers.
|
193
193
|
# Useful when OverSIP runs behind a NAT and must expose the router public
|
194
194
|
# IPv4 to the outside.
|
data/ext/common/ruby_c_util.h
CHANGED
data/lib/oversip.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
#
|
2
2
|
# OverSIP
|
3
3
|
# Copyright (c) 2012-2014 Iñaki Baz Castillo <ibc@aliax.net>
|
4
4
|
# MIT License
|
@@ -23,21 +23,22 @@ require "openssl"
|
|
23
23
|
|
24
24
|
# Ruby external gems.
|
25
25
|
|
26
|
-
require "term/ansicolor"
|
27
26
|
require "syslog"
|
28
27
|
# Load EventMachine-LE here to avoid som EM based gem in server.rb to be loaded first
|
29
28
|
# (and load eventmachine instead of eventmachine-le).
|
30
|
-
gem "eventmachine-le", "
|
29
|
+
gem "eventmachine-le", "= 1.1.7"
|
31
30
|
require "eventmachine-le"
|
32
|
-
gem "iobuffer", "
|
31
|
+
gem "iobuffer", "= 1.1.2"
|
33
32
|
require "iobuffer"
|
34
|
-
gem "em-udns", "
|
33
|
+
gem "em-udns", "= 0.3.6"
|
35
34
|
require "em-udns"
|
36
|
-
gem "escape_utils", "
|
35
|
+
gem "escape_utils", "= 1.0.1"
|
37
36
|
require "escape_utils"
|
38
|
-
gem "
|
37
|
+
gem "term-ansicolor", "= 1.3.0"
|
38
|
+
require "term/ansicolor"
|
39
|
+
gem "posix-spawn", "= 0.3.9"
|
39
40
|
require "posix-spawn"
|
40
|
-
gem "em-synchrony", "
|
41
|
+
gem "em-synchrony", "= 1.0.3"
|
41
42
|
require "em-synchrony"
|
42
43
|
|
43
44
|
|
@@ -115,6 +115,8 @@ module OverSIP::SIP
|
|
115
115
|
@outgoing_request_str = @request.to_s
|
116
116
|
|
117
117
|
@request.delete_header_top "Via"
|
118
|
+
# TODO: I think this should be removed
|
119
|
+
# https://github.com/versatica/OverSIP/issues/76
|
118
120
|
if @out_rr == :rr
|
119
121
|
@request.delete_header_top "Record-Route"
|
120
122
|
end
|
@@ -441,6 +443,8 @@ module OverSIP::SIP
|
|
441
443
|
@outgoing_request_str = @request.to_s
|
442
444
|
|
443
445
|
@request.delete_header_top "Via"
|
446
|
+
# TODO: I think this should be removed
|
447
|
+
# https://github.com/versatica/OverSIP/issues/76
|
444
448
|
case @out_rr
|
445
449
|
when :rr
|
446
450
|
@request.delete_header_top "Record-Route"
|
@@ -579,4 +583,4 @@ module OverSIP::SIP
|
|
579
583
|
|
580
584
|
end # class Ack2xxForwarder
|
581
585
|
|
582
|
-
end
|
586
|
+
end
|
@@ -39,6 +39,7 @@ module OverSIP::SIP
|
|
39
39
|
421 => "Extension Required",
|
40
40
|
422 => "Session Interval Too Small", # RFC 4028
|
41
41
|
423 => "Interval Too Brief",
|
42
|
+
424 => "Bad Location Information", # RFC 6442
|
42
43
|
428 => "Use Identity Header", # RFC 4474
|
43
44
|
429 => "Provide Referrer Identity", # RFC 3892
|
44
45
|
430 => "Flow Failed", # RFC 5626
|
data/lib/oversip/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oversip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Inaki Baz Castillo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine-le
|