oversip 1.3.8 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/etc/oversip.conf +28 -0
- data/ext/sip_parser/{sip_parser.c → sip_message_parser.c} +119 -119
- data/ext/sip_parser/sip_parser.h +24 -2
- data/ext/sip_parser/sip_parser_ruby.c +84 -27
- data/ext/sip_parser/sip_uri_parser.c +39699 -0
- data/lib/oversip/config.rb +14 -0
- data/lib/oversip/errors.rb +3 -0
- data/lib/oversip/modules/outbound_mangling.rb +20 -24
- data/lib/oversip/sip/client.rb +135 -11
- data/lib/oversip/sip/launcher.rb +82 -38
- data/lib/oversip/sip/name_addr.rb +8 -0
- data/lib/oversip/sip/proxy.rb +22 -13
- data/lib/oversip/sip/request.rb +31 -1
- data/lib/oversip/sip/uac.rb +9 -13
- data/lib/oversip/sip/uac_request.rb +11 -10
- data/lib/oversip/sip/uri.rb +24 -0
- data/lib/oversip/version.rb +3 -3
- data/lib/oversip/websocket/launcher.rb +64 -30
- data/lib/oversip.rb +6 -0
- data/test/test_name_addr_parser.rb +24 -0
- data/test/{test_sip_parser.rb → test_sip_message_parser.rb} +15 -1
- data/test/test_sip_uri_parser.rb +56 -0
- data/test/test_uri.rb +11 -0
- data/thirdparty/stud/stud.tar.gz +0 -0
- metadata +10 -5
data/LICENSE
CHANGED
data/etc/oversip.conf
CHANGED
@@ -57,6 +57,13 @@ sip:
|
|
57
57
|
# Default value is _null_.
|
58
58
|
#
|
59
59
|
listen_ipv4: null
|
60
|
+
|
61
|
+
# Advertised IPv4 for Via, Record-Route and Path headers.
|
62
|
+
# Useful when OverSIP runs behind a NAT and must expose the router public
|
63
|
+
# IPv4 to the outside.
|
64
|
+
# Default value is _null_ which means that the local IPv4 is used.
|
65
|
+
#
|
66
|
+
advertised_ipv4: null
|
60
67
|
|
61
68
|
# Enable or disable IPv6. By default _yes_.
|
62
69
|
#
|
@@ -69,6 +76,13 @@ sip:
|
|
69
76
|
# Default value is _null_.
|
70
77
|
#
|
71
78
|
listen_ipv6: null
|
79
|
+
|
80
|
+
# Advertised IPv6 for Via, Record-Route and Path headers.
|
81
|
+
# Useful when OverSIP runs behind a NAT and must expose the router public
|
82
|
+
# IPv4 to the outside.
|
83
|
+
# Default value is _null_ which means that the local IPv6 is used.
|
84
|
+
#
|
85
|
+
advertised_ipv6: null
|
72
86
|
|
73
87
|
# Listening port for SIP over UDP and TCP.
|
74
88
|
# By default 5060.
|
@@ -155,6 +169,13 @@ websocket:
|
|
155
169
|
# Default value is _null_.
|
156
170
|
#
|
157
171
|
listen_ipv4: null
|
172
|
+
|
173
|
+
# Advertised IPv4 for Via, Record-Route and Path headers.
|
174
|
+
# Useful when OverSIP runs behind a NAT and must expose the router public
|
175
|
+
# IPv4 to the outside.
|
176
|
+
# Default value is _null_ which means that the local IPv4 is used.
|
177
|
+
#
|
178
|
+
advertised_ipv4: null
|
158
179
|
|
159
180
|
# Enable or disable IPv6. By default _yes_.
|
160
181
|
#
|
@@ -167,6 +188,13 @@ websocket:
|
|
167
188
|
# Default value is _null_.
|
168
189
|
#
|
169
190
|
listen_ipv6: null
|
191
|
+
|
192
|
+
# Advertised IPv6 for Via, Record-Route and Path headers.
|
193
|
+
# Useful when OverSIP runs behind a NAT and must expose the router public
|
194
|
+
# IPv4 to the outside.
|
195
|
+
# Default value is _null_ which means that the local IPv6 is used.
|
196
|
+
#
|
197
|
+
advertised_ipv6: null
|
170
198
|
|
171
199
|
# Listening port for WebSocket over HTTP.
|
172
200
|
# By default 10080.
|