89 Commits

Author SHA1 Message Date
Anthony Minessale
61e250a49b FS-7312 #resolve #comment added feature NEEDS_DOC 2015-02-21 18:15:04 -06:00
Michael Jerris
d17edb59dc FS-7264: fix signed/unsigned warnings on windows building ws.c 2015-02-11 12:40:04 -05:00
Seven Du
193e584efc tweak log level 2015-01-27 23:18:53 +08:00
Seven Du
b87d42c41e fix read of 0 bytes problem and make buffer null terminated before using strstr
on debian 7, ws_raw_read returns 0 when client side disconnect the socket,
no HUP is detected and it resulted in an infinite loop.
2015-01-27 23:18:52 +08:00
Anthony Minessale
1710214025 enable nat mode for verto when ext-rtp-ip is set 2015-01-23 20:53:00 +00:00
Anthony Minessale
dc00863d5e fix parsing error in verto 2015-01-16 15:47:27 -06:00
Seven Du
1ed290e930 follow commit 0bec209a, we should still allow NULL arg 2015-01-08 11:40:22 +08:00
Anthony Minessale
5187aaed79 FS-7117 #comment revert bf5210bf72d6c4b0d9b599a5a07ee59a9c947436 and implement it in ws.c please be sure to learn to use git commit hooks to properly associate commits with jiras 2015-01-07 17:17:28 -06:00
Anthony Minessale
f48ec61d54 FS-7132 #resolve 2015-01-06 03:19:16 -06:00
Seven Du
0bec209a9b fix fsapi in verto, the json_api_function expects cmd & arg in the data object 2015-01-03 16:06:35 +08:00
Seven Du
bf5210bf72 retry send when the socket sent less than we want 2014-12-30 13:16:28 +08:00
Seven Du
a961b0e90b fix type, send returns ssize_t 2014-12-30 13:13:52 +08:00
Michael Jerris
a067a49b39 FS-7046 fix warning introduced from b341ff7 properly 2014-12-29 13:49:42 -05:00
Seven Du
763e6aa962 FS-7046 fix warning introduced from b341ff7 2014-12-24 08:08:04 +08:00
Jeff Lenk
af6b23a124 FS-7046 fix some additional warnings 2014-12-22 15:12:22 -06:00
Mike Jerris
8cd6a570ca Merge pull request #129 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-6766:master to master
* commit '35ba6a33b17036cf7ab3693d3e28d224ce68af55':
  FS-6766, fix verto caller ringback missing on conference bridge
2014-12-05 13:20:06 -06:00
Brian West
7ce5171250 FS-7046 follow up on type change 2014-12-03 15:44:27 -06:00
Brian West
170fb1715a FS-7046: fix some unreachable code warnings 2014-12-03 15:24:37 -06:00
Brian West
b341ff7c1f FS-7046: fix data types and casting on some vars to silence windows build warnings 2014-12-03 15:07:29 -06:00
François
35ba6a33b1 FS-6766, fix verto caller ringback missing on conference bridge 2014-12-03 10:16:22 +01:00
Brian West
91bc09525f Fix copy and paste error CID 1250786 2014-11-03 14:15:04 -06:00
Anthony Minessale
43e6146ece translate dtmf directly to b leg in bypass call in verto 2014-10-29 13:14:55 -05:00
Peter Olsson
7faf9f4c25 FS-6767 #comment Add initial support for mod_verto on Windows 2014-10-18 09:53:57 +02:00
Anthony Minessale
8258180735 start jb at one frame since it now has better adaptation 2014-10-01 18:21:50 -05:00
Anthony Minessale
24084adf77 %FEATURE Add new feature to filter the SDP on bypass_media calls to remove or limit codecs.
VARIABLE: bypass_media_sdp_filter

Can be set globally or per leg on the inbound side of a bypass_media bridge.

VALID FILTERS:

remove(): Removes the specified codec if it exists in the SDP.
only():   Removes all codecs besides the one specified (providing that it exists in the sdp) (will not remove telephone-event))

EXAMPLE 1 (remove everything leaving only g729):

  <action application="set" data="bypass_media_sdp_filter=only(g729)"/>
  <action application="set" data="bypass_media=true"/>
  <action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>

EXAMPLE 2 (remove everything leaving only g729 and also remove dtmf):

  <action application="set" data="bypass_media_sdp_filter=only(g729)|remove(telephone-event)"/>
  <action application="set" data="bypass_media=true"/>
  <action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>

EXAMPLE 3 (remove alaw and speex):

  <action application="set" data="bypass_media_sdp_filter=remove(pcma)|remove(speex)"/>
  <action application="set" data="bypass_media=true"/>
  <action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>
2014-10-01 01:28:10 +05:00
Anthony Minessale
0150c862a2 FS-6854 #comment try this patch 2014-09-30 20:35:19 +05:00
Brian West
7c89c21153 FS-6860 #resolve this was fixed once but was lost in the last sync 2014-09-26 09:00:09 -05:00
Anthony Minessale
f7de058acd FS-6854 #resolve 2014-09-25 21:44:02 +05:00
Anthony Minessale
9e72c8477f fix possible buffer overrun in websocket uri and sync the ws.c between sofia and verto (missing code from last commit) 2014-09-24 01:09:44 +05:00
Anthony Minessale
b2917e06db improve ssl errors 2014-09-17 02:14:43 +05:00
Seven Du
36addd5b61 bytes is signed 2014-09-16 19:15:12 +08:00
Anthony Minessale
efe0ebd318 FS-6818 #resolve 2014-09-12 18:49:58 +05:00
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
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
Anthony Minessale
7bbdbadb42 tweak some cid display issues 2014-08-19 03:25:28 +05: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
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
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