Seven Du
a845755ea8
http 1.1 keepalive support
2014-09-07 12:21:42 +08:00
Seven Du
4e07845f2d
fix incorrect string termination
...
if read multi times when waiting for a slow client, then bytes is much shorter than datalen
so it could incorrectly terminate the string and data could be lost
2014-09-07 11:45:12 +08:00
Seven Du
c02b2427e8
refactor http parsing and prevent read body more than content-length
2014-09-06 19:35:05 +08:00
Seven Du
7be60474ab
respond to OPTIONS and only allows GET and HEAD on static resources
2014-09-06 17:21:58 +08:00
Seven Du
f3616557b6
parse x-www-form-urlencoded post body
2014-09-06 17:21:58 +08:00
Seven Du
a9b91550e9
add HTTP Basic auth
2014-09-06 17:21:57 +08:00
Seven Du
7f8cc54cfb
add basic http virtual host support and fix some leaks
2014-09-06 17:21:57 +08:00
Alexander Haugg
388e9638de
F-5946 add the patches. if in the sofia gateway config the param pin-monitoring is true, then every ping result raise an sofia::gateway-state event
2014-09-05 10:57:01 +02:00
Travis Cross
5c29d8d4fa
Show gateway uptime in seconds
...
In `sofia status gateway ...` let's show the uptime in seconds rather
than in microseconds. We'll output the uptime in microseconds in
`xmlstatus` and we'll label it as such.
2014-09-04 05:39:26 +00:00
Steven Ayre
93bd5833c2
Add uptime property to mod_sofia gateways
...
The 'UP' status indicates a gateway is online as determined by
registration and/or SIP OPTIONS pinging.
The time the gateway has been in the 'UP' status is recorded,
and can be monitored using 'sofia status' and 'sofia xmlstatus'.
This can be used to detect and graph when there are outages.
ref: FS-6772
Reviewed-by: Travis Cross <tc@traviscross.com>
2014-09-04 03:43:36 +00:00
Seven Du
a8522ff3c2
remove debug
2014-09-04 10:38:37 +08:00
Seven Du
b2554848a1
initial support of http handing in mod_verto
2014-09-04 10:25:27 +08:00
Seven Du
602e82d483
add param to let the socket stay open even if not websockt, thanks Anthony
2014-09-04 10:21:22 +08:00
Travis Cross
acb439ca03
Avoid leaking memory while iterating hash tables
...
`switch_core_hash_first` allocates an iterator on each call that is
never freed except when the hash table is empty.
By using `switch_core_hash_first_iter` we allocate only one iterator,
and that iterator is freed after the last item is processed.
2014-08-30 03:49:51 +00:00
Travis Cross
5a209a9680
Remove misleading tport
example from configs
...
As an example of using mod_sofia's gateway parameter `contact-params`
we'd used the value `tport=tcp`. Looking around, it's clear this has
misled people into believing you can specify `tport=tcp` to make the
gateway use TCP or `tport=tls` to make the gateway use TLS. This does
not work.
The actual contact parameter is named `transport` rather than `tport`,
and you shouldn't use `transport` in `contact-params` because we
automatically add a `transport` to the Contact: based on the value of
`register-transport` (even if the gateway is set to not register).
It's clear why this would be confusing, so we'll just remove this as
an example.
2014-08-27 23:15:45 +00:00
Brian West
1dc44067cd
FS-6770 #resolve
2014-08-27 13:28:15 -05:00
Nathan Neulinger
2db039bc5f
mod_skinny: FS-6720 - fix issue with SLA - had to do with answering in wrong state
2014-08-27 10:38:16 -05:00
Brian West
6e4cea308d
Merge pull request #28 in FS/freeswitch from ~STANGOR/freeswitch:master to master
...
* commit 'c736cf2f22e4f0a5d490db995ebaed69b9963daa':
Add sofia gateway parameter "destination-prefix"
FS-5497 add sofia gateway parameter destination-prefix in case you need to send Invites with prefix only to this gateway
2014-08-21 13:59:37 -05:00
Giovanni Maruzzelli
2ada8286f3
skypopen: new skype client in install/install.pl
2014-08-21 20:52:14 +02:00
Nathan Neulinger
5f6db1db3e
mod_skinny: roll back, these are not expected to be null terminated, they are fixed length
2014-08-20 14:50:46 -05:00
Nathan Neulinger
84bc50e4ad
mod_skinny: fix potential buffer size issue CID: 1214145 1214146
2014-08-20 14:32:02 -05:00
Stan Gor
64060c7dbd
Add sofia gateway parameter "destination-prefix"
...
FS-5497 add sofia gateway parameter destination-prefix in case you need to send Invites to your provider with prefix only to this gateway
2014-08-19 11:54:09 -07:00
Anthony Minessale
7bbdbadb42
tweak some cid display issues
2014-08-19 03:25:28 +05:00
Giovanni Maruzzelli
eccf505a3b
testing new hook FS-6677 #Waiting #comment this is a test
2014-08-18 21:55:03 +02:00
Giovanni Maruzzelli
c086f9647b
testing new hook TKT-6677 #Waiting #comment this is a test
2014-08-18 21:46:40 +02:00
Giovanni Maruzzelli
733db22f1d
testing new hook FS-6677 #new_state #comment this is a test
2014-08-18 21:39:56 +02:00
Seven Du
ecbf662ce7
FS-6738 #comment fix mac build introduced by 0ee48c2
2014-08-16 10:08:39 +08:00
Anthony Minessale
0ee48c2210
FS-6738 #comment can you test this patch and see if the tcp keepalive can detect the timeout
2014-08-16 00:43:25 +05:00
Anthony Minessale
e3e84a7820
FS-6679 #resolve
2014-08-09 02:13:00 +05:00
Anthony Minessale
1e9505d853
FS-6692 #resolve
2014-08-06 21:35:53 +05:00
Anthony Minessale
8135509803
fix early media vs answer race
2014-08-06 21:09:03 +05:00
Brian West
3691279e8a
FS-6727 allow 1.1 and 1.2, They should probably fix that soon
2014-08-06 08:52:21 -05:00
Nathan Neulinger
92b95c2d05
mod_skinny: fix calloc argument ordering CID: 1214236 1214235
2014-08-05 11:52:52 -05:00
Nathan Neulinger
d0b49f95de
mod_skinny: calloc param ordering 1214234
2014-08-05 11:45:38 -05:00
Nathan Neulinger
bca7520ad2
mod_skinny: fix potential NPE CID: 1223252
2014-08-05 11:39:17 -05:00
Nathan Neulinger
e84c964fb9
mod_skinny: pointless check CID 1060963
2014-08-05 11:30:15 -05:00
Nathan Neulinger
bea603b7fa
mod_skinny: fix potential overflow CID: 1060947
2014-08-05 11:26:20 -05:00
Nathan Neulinger
5e1e3565db
mod_skinny: start using switch_copy_string so it uses apy_cpystrn - CID: 1214145 1214146 1214131 1214132 1214133 1214134 1214135
...
1214147 1214148 1214149 1214150 1214151 1214152 1214153 1214154 1214155 1214138 1214139 1214143 1214144
Forces null termination of the destination string.
2014-08-05 11:18:24 -05:00
Nathan Neulinger
bb52587b81
mod_skinny: CID:1060950 remove some dead debugging code
2014-08-05 11:10:47 -05:00
Anthony Minessale
82330aa5d0
save remote caller id
2014-08-04 23:08:29 +05:00
Anthony Minessale
c5cd98195b
FS-6690 #resolve
2014-08-01 23:07:13 +05:00
Anthony Minessale
8aa3763986
FS-6718 #message adding the patch
2014-08-01 22:57:40 +05:00
Anthony Minessale
16a70d7f94
FS-6712 #resolve
2014-07-31 23:04:10 +05:00
Anthony Minessale
f45443629b
FS-6711 #resolve
2014-07-31 22:59:21 +05:00
Anthony Minessale
5075d4af0d
fix typo that can lead to seg
2014-07-30 22:17:47 +05:00
Anthony Minessale
49700ecf0f
fix extraneous < in sip url parser
2014-07-30 22:13:57 +05:00
Anthony Minessale
502ddd312a
FS-6702 #resolve
2014-07-29 22:17:02 +05:00
Anthony Minessale
c411f8c7a9
queue more messages
2014-07-26 02:24:15 +05:00
Anthony Minessale
4f1b09a3ca
add switch_socket_waitlist for waiting on multiple sockets and abstract it to poll and select so windows can use it too
2014-07-25 00:23:08 +05:00
Anthony Minessale
004c5ab2b0
fix some issues with duplicate chat events and some cleanup
2014-07-24 22:58:12 +05:00