Commit Graph

19399 Commits

Author SHA1 Message Date
Mike Jerris c8256837b2 FS-9975: [mod_sofia] add contact params to request uri of outbound recovery reinvite for originally inbound calls 2017-01-27 17:02:01 -06:00
Mike Jerris 722feefd56 FS-9970: [mod_sofia] don't detect nat in cases when the contact is in the acl, but the packet actually came from a proxy. We need to check where we got the packet from as being a natted address instead of the contact in order to properly handle nat to our next hop 2017-01-27 15:13:18 -06:00
Chris Young 7e85fafc0e FS-9984 [mod_enum] Fix for handle leak in Windows 2017-01-27 10:01:42 +00:00
Brian West 8b01c8cc1a FS-9981: [mod_spandsp] add api_on_fax_success api_on_fax_failure #resolve 2017-01-26 16:19:34 -06:00
Anthony Minessale 0c3ba1e378 FS-9978: [mod_expr] mod_expr random seed function not working for Windows #resolve 2017-01-25 12:48:07 -06:00
Antonio 8673e0177c [mod_sofia] FS-9966 fix private ip in contact header when invite w/ nosdp 2017-01-24 15:11:01 +01:00
Chris Rienzo 99e60c290a FS-9965 [mod_hiredis] release context after getting alternate connection 2017-01-23 15:37:13 -05:00
Chris Rienzo 5db04d7d0f FS-9965 [mod_hiredis] Improvements for performance, memory utilization, and resiliency.
Pipelining of requests to improve throughput
     -- new parameter max-pipelined-requests (default 20) for maximum number of requests to batch at one time

   Deletion of counter keys when zero
     -- new parameter delete-when-zero (default false) to enable.  This will cause a redis eval to execute to decrement counters instead of DECR.

   Detection of negative limit counters
     -- Self healing of negative counters (due to key eviction, etc)
2017-01-23 14:39:05 -05:00
Andrey Volk b2d9cd9e72 FS-9953 [mod_av] Add mod_av to windows build 2017-01-20 14:05:38 +03:00
Chris Rienzo 9c8d9cf120 FS-9959 [mod_spandsp] Add two new channel variables
fax_t38_tx_reinvite_packet_count - overrides t38-tx-reinvite-packet-count param in spandsp.conf
   fax_t38_rx_reinvite_packet_count - overrides t38-rx-reinvite-packet-count param in spandsp.conf
2017-01-19 14:50:51 -05:00
Anthony Minessale 1918f29671 FS-9958 2017-01-19 10:51:24 -06:00
Anthony Minessale 16c0bc115e FS-9958 2017-01-18 15:12:08 -06:00
Anthony Minessale 96a8267305 FS-9958: [freeswitch-core,mod_local_stream] Add agc object and use it in mod_local_stream #resolve 2017-01-18 13:19:47 -06:00
Mike Jerris f16a71e6ff Merge pull request #1157 in FS/freeswitch from ~LAZEDO/freeswitch:feature/fs-9955 to master
* commit '606d5354788c2c78e5e87f772e0069cbefe6ba93':
  FS-9955 [mod_kazoo] set profile var when setting channel var
2017-01-18 10:41:28 -06:00
Anthony Minessale cba5623911 FS-9954: [freeswitch-core] Crash on switch_ivr_intercept_session due null pointer for buuid #resolve 2017-01-18 10:40:39 -06:00
Mike Jerris e3b5c9aeba Merge pull request #1154 in FS/freeswitch from ~DEDWARDS/freeswitch:feature/FS-9162-add-ability-to-include-the-external to master
* commit '15fd3f1353a8f08c2dba6a5d9a3560ec8717be12':
  FS-9162 Include external IP address in SDP if include_external_ip is set
2017-01-18 10:27:02 -06:00
lazedo 606d535478 FS-9955 [mod_kazoo] set profile var when setting channel var 2017-01-18 04:56:52 +00:00
Anthony Minessale b7578ecd98 FS-9654 introduce origination_aleg_uuid 2017-01-17 16:45:22 -06:00
Dan Edwards 15fd3f1353 FS-9162 Include external IP address in SDP if include_external_ip is set 2017-01-17 15:21:27 -05:00
Mike Jerris 5ef273b4b3 Merge pull request #1146 in FS/freeswitch from bugfix/FS-9206-proxy-media-with-enable-3pcc-proxy to master
* commit 'a597e216bc699567ddb77d1765cf095c3bb31183':
  FS-9206: [core] endable proxy media auto-adjust on re-invite for text and video every time as the streams may be being added on re-invite
2017-01-17 13:11:30 -06:00
Mike Jerris a597e216bc FS-9206: [core] endable proxy media auto-adjust on re-invite for text and video every time as the streams may be being added on re-invite 2017-01-17 13:10:06 -06:00
Anthony Minessale 99a0d74847 FS-9654 2017-01-16 19:13:24 -06:00
Anthony Minessale 52af4a3278 FS-9654 regression 2017-01-16 15:15:05 -06:00
Anthony Minessale 596bd59001 FS-9654 additional changes 2017-01-16 14:10:39 -06:00
Andrey Volk 7dce1172ac FS-9948 [mod_png] Add mod_png to windows build 2017-01-13 23:51:34 +03:00
Andrey Volk 1f11deb023 FS-9944 [core] Add core video support to windows build 2017-01-12 23:52:06 +03:00
Brian West 6ff51458e2 FS-9943: [core] Default 488 handling for t.38 re-invite switches to udptl mode when it should not. #resolve 2017-01-12 11:47:31 -06:00
Luis Azedo 52e1785d94 [mod_sofia] FS-9940 fix finding a-leg parameter 2017-01-12 08:37:18 -06:00
Mike Jerris 1ec5e87468 FS-9934: [mod_redis] fix segfault on windows on close or connect failure 2017-01-10 18:17:09 -06:00
Mike Jerris 9b9408bc9e Merge pull request #1147 in FS/freeswitch from bugfix/FS-9931-display-updates-are-sent-to-endpoints to master
* commit '5d5b815e426fa87392a6dd9657106664cb4caa42':
  FS-9931: [mod_sofia] don't send display updates to endpoints who don't have UPDATE in their Allow header
2017-01-10 17:07:41 -06:00
Anthony Minessale 794a6f4aa1 FS-9933: [freeswitch-core] Fallback from native file failure to alternate ext #resolve 2017-01-10 17:00:18 -06:00
Mike Jerris 5d5b815e42 FS-9931: [mod_sofia] don't send display updates to endpoints who don't have UPDATE in their Allow header 2017-01-10 16:26:43 -06:00
Anthony Minessale 0db3a2febe FS-9932: [freeswitch-core] Error with group confirm feature combined with enterprise originate #resolve 2017-01-10 16:06:33 -06:00
Anthony Minessale 5d3ff00368 FS-9929: [core,mod_spandsp] Assert in switch_frame_buffer_dup when receiving a fax using t.38 #resolve 2017-01-10 11:20:20 -06:00
Anthony Minessale 6fe1deda45 swigall 2017-01-09 16:57:52 -06:00
Tihomir Culjaga 4f3a5ebe07 FS-9874 - implement use of translate:<profile> - squashed 2017-01-09 16:03:38 -06:00
Mike Jerris f2f89f28f5 Merge pull request #1142 in FS/freeswitch from bugfix/FS-9844-sip_full_route-variable-doesnt-show to master
* commit 'f418baf7c85c91b79ecb1cd593b570f99a7c0e2d':
  FS-9844: [mod_sofia] populate sip_full_route var with all of the route headers, not just the first one
2017-01-09 10:44:08 -06:00
Mike Jerris f2792c9ea5 swigall 2017-01-06 17:13:39 -06:00
Mike Jerris ad183fdea4 FS-9809: [mod_sofia] url encode caller id number before sticking it in the from header in case we have non url safe chars in the cid number in the caller profile 2017-01-06 16:16:16 -06:00
Andrey Volk 7e6ba429e7 FS-9928 [mod_v8] Implement Event Hooks in JavaScript 2017-01-06 21:57:20 +03:00
Brian West c0423c5877 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 16:34:11 -06:00
Mike Jerris f418baf7c8 FS-9844: [mod_sofia] populate sip_full_route var with all of the route headers, not just the first one 2017-01-05 16:02:17 -06:00
Brian West f54c7f9f34 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 15:51:52 -06:00
Mike Jerris 62e2928889 FS-9915: [mod_sofia] fix non null terminated parsed sip body being passed in when sending to sip messages in a row on tcp in a single packet 2017-01-05 15:06:42 -06:00
Anthony Minessale f0a0bbd728 FS-9906: [mod_conference] Member join/part in conference shows webcam briefly during slide transition #resolve 2017-01-04 17:08:16 -06:00
Brian West 4ead2fcffc FS-9916: [mod_spandsp] OB fax calls go zombie #resolve 2017-01-04 16:14:59 -06:00
chapman 879c04b339 FS-9917 [switch_rtp/core] Fix in do_flush to handle the current packet (if RFC2833) rather than discard it.
only print flushed if we flushed something
2017-01-04 13:56:48 -05:00
Mike Jerris dbd1c8684d Merge pull request #1124 in FS/freeswitch from ~TCULJAGA/freeswitch_tc:bugfix/FS-9873-a1-hash_for_mod_verto to master
* commit '1f7a7e336f0d2d0d4c67ee45478bf9b759e0dda8':
  FS-9873 mod_verto a1-hash - squashed
2017-01-04 11:37:32 -06:00
Anthony Minessale 8d8e324e00 FS-9881 accidentally removed -1 for forever support 2017-01-04 11:00:28 -06:00
Tihomir Culjaga 1f7a7e336f FS-9873 mod_verto a1-hash - squashed 2017-01-04 06:48:35 -06:00
Anthony Minessale e313b6ea3f FS-9206: [mod_sofia] proxy media with enable-3pcc=proxy does not properly pass audio after 3pcc re-invite #resolve 2017-01-03 18:32:32 -06:00
Mike Jerris 565e7cde45 Merge pull request #1128 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-9896-mod_v8-implement-serving-configuration to master
* commit 'a3a8d7e6b3a2d48c49196be0d578c023588a006c':
  FS-9896 [mod_v8] Implement Serving Configuration with JavaScript
2017-01-03 17:08:29 -06:00
Mike Jerris d97f6028d7 Merge pull request #1134 in FS/freeswitch from ~J0SH/freeswitch:byereason to master
* commit '7248a4f3eb0c956e17dc59ab2544e2ed4f0fa689':
  FS-9910 [mod_sofia]: Set SIP reason header for BYE events.
2017-01-03 16:58:11 -06:00
Anthony Minessale 3bb9cefcf1 FS-9912: [mod_conference] floor-only and file-only not working properly in canvas-layouts #resolve 2017-01-03 15:30:04 -06:00
Anthony Minessale 15278f6ea0 FS-9911: [mod_conference] Canvas not clearing when video playback of file is done #resolve 2017-01-03 15:30:04 -06:00
Anthony Minessale 6dc2d9feca FS-9881: [core] FS crashing when playing png file #resolve 2017-01-03 15:30:04 -06:00
Josh Allmann 7248a4f3eb FS-9910 [mod_sofia]: Set SIP reason header for BYE events. 2017-01-03 16:21:43 -05:00
Mike Jerris 20697cf0bd Merge pull request #1118 in FS/freeswitch from ~ANTONIO/freeswitch:bugfix/FS-9877-mod_loopback-no-audio to master
* commit '5dfc63c126f664cff09ddc6d2a67e05c2426f940':
  FS-9877 [mod_loopback] fix no audio
2017-01-03 14:39:40 -06:00
Mike Jerris f273ecda3f FS-9903: [msrp] fix namespacing and visibility of some structs 2017-01-03 13:51:30 -06:00
Anthony Minessale bb199aabde FS-9860 2017-01-03 13:15:03 -06:00
Anthony Minessale 697be5d515 FS-9860 2017-01-03 13:06:20 -06:00
Mike Jerris 19c29ee362 FS-9903: [msrp] fix namespacing and visibility of some structs and defines for ssl private header 2017-01-03 12:46:07 -06:00
Anthony Minessale ded506f611 FS-9898: [mod_sofia] Call hanging in FS if HOLD not successful #resolve 2017-01-03 12:01:48 -06:00
Seven Du c1abfaf4f8 FS-9903 #resolve #comment fix server side TLS and add client TLS support 2017-01-02 18:09:47 -06:00
Seven Du 7e24a79580 FS-9903 WIP MSRP client mode support 2017-01-02 10:34:41 +08:00
Seven Du 0248d38a28 FS-7933 #comment fix incompatible time pointer 2016-12-31 08:53:27 +08:00
Anthony Minessale 57f5932f01 FS-9206: [mod_sofia] proxy media with enable-3pcc=proxy does not properly pass audio after 3pcc re-invite #resolve 2016-12-30 17:36:29 -06:00
Italo Rossi 594b36022e [mod_callcenter] FS-9894: Removing reference to call_timeout, use leg_timeout instead 2016-12-29 13:19:02 -03:00
Italo Rossi 72927b994c [mod_callcenter] FS-9891: Checking if we got a valid pointer for a queue 2016-12-29 12:59:24 -03:00
Andrey Volk a3a8d7e6b3 FS-9896 [mod_v8] Implement Serving Configuration with JavaScript 2016-12-29 03:58:22 +03:00
Brian West d28f29594f FS-9776: [mod_sofia] SIP Transfer generates high CPU #resolve 2016-12-28 12:40:06 -06:00
Mike Jerris aa01a265e4 FS-9569: [mod_shout] close file handle when recording mp3 files that never get written to 2016-12-28 12:21:45 -06:00
Italo Rossi 50714ec5e4 [mod_callcenter] FS-9891: Get queue again to increase calls answered and abandoned 2016-12-27 21:35:17 -03:00
Italo Rossi 717dea47fb [mod_callcenter] FS-9347: Do not log as error when the member is gone just before we assigned an agent, now logging as DEBUG 2016-12-27 21:19:57 -03:00
Italo Rossi e614f8da24 [mod_callcenter] FS-9689 Fixed issue when agent rejects the call while hearing cc_outbound_announce making member (caller) waiting on queue forever 2016-12-27 21:14:57 -03:00
Italo Rossi 5ac10aaf32 [mod_callcenter] FS-9723: Fixing cc_warning_tone, using switch_ivr_play_file instead of queue private event 2016-12-27 20:49:59 -03:00
Mike Jerris bd6f03443f Merge pull request #1125 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-7933-v8-allow-non-blocking-socket-access to master
* commit '3f3cd7343ba3a9beecc9b6a074c9955e7c504afd':
  FS-7933 [mod_v8] Implement timeout property for Socket() class in javascript.
2016-12-27 13:33:00 -06:00
Mike Jerris 15632a0bd8 Merge pull request #1084 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9792 to master
* commit '8c1ed38d5eef031e4f471fe5f69ad052a9711997':
  FS-9792: Set channel variable based on the sip phone Accept Language SIP message
2016-12-27 13:30:40 -06:00
Mike Jerris 6e2764776f Merge pull request #1110 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-9840-fix-some-warnings-V2 to master
* commit '8c94e6f57fd9adee5e6a12535811fff8e4d9ae46':
  FS-9840 mod_avmd: Fix implicit declaration warning
  FS-9840 sofia-sip: fix implicit declaration warning
  FS-9840 mod-verto: fix implicit declaration warning
  FS-9840 mod_sofia: fix redefine warning
2016-12-27 12:36:58 -06:00
Andrey Volk 3f3cd7343b FS-7933 [mod_v8] Implement timeout property for Socket() class in javascript. 2016-12-27 04:18:14 +03:00
Sebastian Kemper 8c94e6f57f FS-9840 mod_avmd: Fix implicit declaration warning
Fix the following compile-time warning:

making all mod_avmd
make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/applications/mod_avmd'
  CC       mod_avmd_la-mod_avmd.lo
mod_avmd.c: In function 'avmd_process_sample':
mod_avmd.c:49:19: error: implicit declaration of function '__isinf' [-Werror=implicit-function-declaration]
 #define ISINF(x) (__isinf(x))
                   ^
mod_avmd.c:2038:33: note: in expansion of macro 'ISINF'
         if (ISNAN(amplitude) || ISINF(amplitude)) {
                                 ^
cc1: all warnings being treated as errors
Makefile:682: recipe for target 'mod_avmd_la-mod_avmd.lo' failed

Fix this by adding the declaration for __isinf(), the same is done for
__isnan() already

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-23 21:44:30 +01:00
Sebastian Kemper 8063ad658b FS-9840 mod-verto: fix implicit declaration warning
This fixes the following compile-time warning:

making all mod_verto
make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/endpoints/mod_verto'
  CC       mod_verto_la-mod_verto.lo
  CC       mod_verto_la-ws.lo
ws.c: In function 'hton64':
ws.c:730:14: error: implicit declaration of function '__bswap_64' [-Werror=implicit-function-declaration]
  else return __bswap_64(val);
              ^
cc1: all warnings being treated as errors

Fix by including byteswap.h, which is available on Linux and also
everywhere glibc is used (wpa_supplicant includes this header the same
way).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-23 21:44:25 +01:00
Mike Jerris ddf48b8602 Merge pull request #1105 in FS/freeswitch from bugfix/FS-9832-start-a-single-gateway to master
* commit '50e0f0195e67208889f15a439ea6ccb567b862e7':
  FS-9832 start a single gateway or _all_ gateways
2016-12-23 14:15:53 -06:00
Mike Jerris 35fd25c4f3 Merge pull request #1117 in FS/freeswitch from ~ANTONIO/freeswitch:feature/FS-6893-mod_conference-auto-record-create to master
* commit '38c3f5f66e775d814b5e3d5581aed5b2f41b6fd1':
  FS-6893 [mod_conference] recording auto creates file path if not exists
2016-12-23 14:11:17 -06:00
Anthony Minessale cf506d2f02 FS-9880: [freeswitch-core] Code to check for text-only is too soon in app processing #resolve 2016-12-22 13:03:54 -06:00
Mike Jerris afff6b0c87 Merge pull request #1121 in FS/freeswitch from ~SHAILESHPLIVO/freeswitch:bugfix/FS-9876-incoming-rtp-packet-loss-calculation to master
* commit 'a8351e001c726e0fc741a4d43adffa56f109eb65':
  FS-9876 switch_rtp this fix issue of rtcp lost packet count
2016-12-22 11:28:33 -06:00
shaileshplivo a8351e001c FS-9876 switch_rtp this fix issue of rtcp lost packet count 2016-12-22 17:07:51 +00:00
Mike Jerris d1ccc77d4f FS-9854: [mod_sofia] SDP O/A fails to put sdp in messages after certain kinds of sip traffic 2016-12-22 11:32:13 -05:00
Antonio 5dfc63c126 FS-9877 [mod_loopback] fix no audio 2016-12-22 14:55:51 +01:00
Anthony Minessale 68c0451589 FS-9871: [freeswitch-core] DTMF not delivered on B leg of a bridge when A leg has no media #resolve 2016-12-21 16:09:54 -06:00
Anthony Minessale a788715bb3 FS-9870: [freeswitch-core] playback_timeout_sec does not stop a delimited playback #resolve 2016-12-21 15:36:03 -06:00
Italo Rossi b02df24504 FS-9869 [mod_callcenter] Exporting cc_queue_joined_epoch when originating agent outbound leg 2016-12-21 12:14:04 -03:00
Antonio 38c3f5f66e FS-6893 [mod_conference] recording auto creates file path if not exists 2016-12-21 13:53:18 +01:00
Mike Jerris 1e0b827c08 Merge pull request #1067 in FS/freeswitch from ~WHENRY/freeswitch:improvement/FS-9760_remove_whitespace to master
* commit '46b63a4bb6f67d8066a354e55ea6bbd10d7d53fa':
  FS-9760 Removed the un-needed whitespace from the file
2016-12-20 18:45:35 -06:00
Anthony Minessale 914a6e764f FS-9866: [freeswitch-core] 3pcc=proxy for FS client and local SDP #resolve 2016-12-20 18:28:15 -06:00
Brian West eef2313a40 FS-9846: [mod_sofia] Bugs related with Hold and Proxy Hold option added in FS-9192 after merges in 1.6.11 #resolve 2016-12-20 16:19:30 -06:00
Anthony Minessale ade6e856a2 FS-9745: [mod_sofia] Call to FS WebRTC Gateway fails when no SDP on invite #resolve 2016-12-20 12:20:41 -06:00
Anthony Minessale 5fa4374451 FS-9206: [mod_sofia] FS not update proxy media RTP stream params when SDP is changed #resolve 2016-12-20 11:22:18 -06:00
Anthony Minessale 634490495f FS-9806: [mod_loopback] mod_loopback: bowout is always done even if set to false loopback_bowout_on_execute=false,loopback_bowout=false #resolve 2016-12-20 11:08:17 -06:00
Anthony Minessale fae3d9693d FS-9863: [] video_width/video_height unset with playback application #resolve 2016-12-19 17:53:50 -06:00