oversip 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d95faab7dbe1fdd53e1b9f70a74e0329ca21d61f
4
- data.tar.gz: e72a1c512dd167521db5464a7b3708d1b82a0326
3
+ metadata.gz: 32284730297212ad359f49b42a0a459dc9937a04
4
+ data.tar.gz: b1ceb201d78fc1cb4097db8ff084e02fdd483269
5
5
  SHA512:
6
- metadata.gz: 49b7c5cdaa8e988e45381ced5eed89d66d3ec69ece2b440f58f100432bb370ee429fe1dca93d9516df91067e2bc1995cb7fc566c41b65fb88c4adab2ea42df6d
7
- data.tar.gz: 41b73e2c62697de5c77c7ad013d0e2ea7bee343485d366ffa8f5d1a27cc81c738d3db9152005495f269eca6c841dac7dbe668ebddabafd0a2d6c3e187afd2d80
6
+ metadata.gz: 30df6dd50f9054c621afa9133e0f09acd453823f3a9ce8f9fd655dfec6f0c4c63141c47fa27378e2035df8cdb5d5d15d8ea54c59a0decde369a7c6a8dd92362c
7
+ data.tar.gz: 8b3480873f2990830461234df1077154cca79524ff334b59f9b32d6531e8946b981c3346034800de0ef1e2e9f158054125eb627151cda012db02eb2816a10cdf
@@ -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.
@@ -15,7 +15,7 @@
15
15
 
16
16
 
17
17
  /*
18
- * my_rb_str_hex_unescape: Unexcapes hexadecimal encoded symbols (%NN).
18
+ * my_rb_str_hex_unescape: Unescapes hexadecimal encoded symbols (%NN).
19
19
  */
20
20
  static VALUE my_rb_str_hex_unescape(const char *str, size_t len)
21
21
  {
@@ -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", ">= 1.1.4"
29
+ gem "eventmachine-le", "= 1.1.7"
31
30
  require "eventmachine-le"
32
- gem "iobuffer", ">= 1.1.2"
31
+ gem "iobuffer", "= 1.1.2"
33
32
  require "iobuffer"
34
- gem "em-udns", ">= 0.3.6"
33
+ gem "em-udns", "= 0.3.6"
35
34
  require "em-udns"
36
- gem "escape_utils", ">= 0.2.4"
35
+ gem "escape_utils", "= 1.0.1"
37
36
  require "escape_utils"
38
- gem "posix-spawn", ">= 0.3.6"
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", ">=1.0.2"
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
@@ -5,7 +5,7 @@ module OverSIP
5
5
  module Version
6
6
  MAJOR = 2
7
7
  MINOR = 0
8
- TINY = 3
8
+ TINY = 4
9
9
  DEVEL = nil # Set to nil for stable releases.
10
10
  end
11
11
 
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.3
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-01-29 00:00:00.000000000 Z
11
+ date: 2016-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine-le