Commit Graph

19340 Commits

Author SHA1 Message Date
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
Mike Jerris aefba211ca Merge pull request #1106 in FS/freeswitch from ~J0SH/freeswitch:echofix to master
* commit '2a32e016ddb11d2a72eaf349e166e95a9bcac0b7':
  FS-9725: Fix echo if blank image is disabled.
2016-12-19 16:05:56 -06:00
Brian West e634e538ac swigall 2016-12-14 14:09:11 -06:00
Brian West 48fab6f6db FS-9851: [freeswitch-core] Add abstimeout to CoreSession:getDigits in switch_cpp #resolve 2016-12-14 14:06:20 -06:00
Brian West 3387b90705 FS-9829 #resolve [FreeSWITCH 200ok to second reINVITE on a dialog doesn't contain an SDP.] 2016-12-13 16:39:57 -06:00
Brian West 452257e793 Merge pull request #1108 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9843-avmd-remove-not-used-defines to master
* commit 'df80234f0713c512374352e31044a54517b5f981':
  FS-9843 [mod_avmd] Remove unused defines
2016-12-13 10:37:08 -06:00
Brian West 4d71ed84db FS-9808 #resolve [mod_png issue when used with ivr as video input] 2016-12-13 09:32:02 -06:00
Piotr Gregor df80234f07 FS-9843 [mod_avmd] Remove unused defines 2016-12-13 10:13:37 +00:00
Josh Allmann 2a32e016dd FS-9725: Fix echo if blank image is disabled. 2016-12-12 11:16:53 -05:00
Brian West 6522572104 FS-9836 #resolve [t38_gateway doesn't function properly after FS-9638 merge] 2016-12-09 16:53:21 -06:00
Italo Rossi 2ab3b14c1f FS-9835 [mod_callcenter] Fix segfault when passing freed pointer to cc_send_presence due to queue unload/reload 2016-12-09 16:34:05 -03:00
Seven Du 50e0f0195e FS-9832 start a single gateway or _all_ gateways 2016-12-08 20:47:22 +08:00
Chris Rienzo 8ab65c8c34 FS-9827 [mod_hiredis] handle NIL reply 2016-12-07 14:53:29 -05:00
Mike Jerris a38b246a6e Merge pull request #1101 in FS/freeswitch from ~MOTEUS/freeswitch:mod_lua_leak to master
* commit '672b5d8309b57f4f6996bded4fa365b90a8516ac':
  FS-9821 [mod_lua] Fix. memory/resource leak in mod_lua
2016-12-07 13:31:57 -06:00
Brian West ce7b2301be Merge pull request #1102 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-9824-fix-tone2wav-segfault to master
* commit '4ed1433cc6dd6936c1f1e474e653cbb45593c937':
  FS-9824 [tone2wav.c] Fix segfault on tone2wav
2016-12-07 13:31:32 -06:00
Alexey Melnichuk 672b5d8309 FS-9821 [mod_lua] Fix. memory/resource leak in mod_lua 2016-12-07 21:56:22 +03:00
Chris Rienzo 74ecc8882f FS-9826 reset jitter buffer if SSRC changes regardless of jitter buffer paused state 2016-12-07 13:44:31 -05:00
Brian West c0e3224f6e Merge pull request #1103 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:amrwb_encode_decode to master
* commit '3ccf1704c16ef32ae8d2469f2da960021310dfd5':
  FS-9825: Added AMR-WB transcoding capabilities (in both Bandwidth Efficient and Octet Aligned modes)
2016-12-07 11:20:49 -06:00
Dragos Oancea 3ccf1704c1 FS-9825: Added AMR-WB transcoding capabilities (in both Bandwidth Efficient and Octet Aligned modes) 2016-12-07 12:06:01 -05:00
Sebastian Kemper 4ed1433cc6 FS-9824 [tone2wav.c] Fix segfault on tone2wav
I checked fs_encode and saw that it terminates itself a bit differently, so I applied the same to tone2wav and the segfaults went away

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-07 17:02:35 +01:00
Brian West df8f7f4639 FS-9823 free subclass properly 2016-12-07 08:41:45 -06:00
Marc Olivier Chouinard 8c1ed38d5e FS-9792: Set channel variable based on the sip phone Accept Language SIP message 2016-12-06 17:17:39 -05:00
Seven Du 6528ae00b5 FS-9817 #resolve fix regression from 828d6eaf01 2016-12-06 11:33:01 +08:00
Anthony Minessale II dc63b63ec0 Merge pull request #1095 in FS/freeswitch from bugfix/FS-9810-ws-write-fail-on-slow-network to master
* commit 'b26fa6e17ce40f5ad982b41142389bca0d420427':
  FS-9810 fix ws write fail on slow network
2016-12-05 15:09:39 -06:00
Mike Jerris a9c13d3fc6 Merge pull request #1098 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9813 to master
* commit '01decbf434ea323c155fec5e863f5e51e55bad97':
  FS-9813 [mod_kazoo] add kz_http_put
2016-12-05 12:02:13 -06:00
Brian West d28138ea4a FS-9812 fix label that is only used when zrtp or srtp are enabled 2016-12-05 06:38:44 -06:00
Luis Azedo 01decbf434 FS-9813 [mod_kazoo] add kz_http_put 2016-12-05 08:09:35 +00:00
Brian West 2af53f5a30 Merge pull request #1080 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9788 to master
* commit '347c93f1c1360d7f03d337d4b428cd24ad6d7b16':
  FS-9788: Add close() option to FileIO implementation
2016-12-04 06:53:51 -06:00
Brian West 8853873d68 Merge pull request #1090 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-9798-implement-native-postgresql-in-javascript to master
* commit 'fff5b939b58d47aed98b5f26b21282e82e25ee14':
  FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class
2016-12-04 06:53:07 -06:00
Seven Du b26fa6e17c FS-9810 fix ws write fail on slow network 2016-12-04 12:49:46 +08:00
Brian West 89063a1a4c FS-9765 one tweak from submitted patch to use switch_channel_var_true instead of switch_channel_get_variable no need to allocate on every hold/unhold just to check if this is enabled. 2016-12-02 11:51:49 -06:00
Brian West c9a05d7e60 Merge pull request #1077 in FS/freeswitch from ~STEPHALNET/freeswitch:FS-9777 to master
* commit '86bcee03518ff5ecbb7bae8e78f3821b4027ad09':
  remove redundant `if (rep)` statement
2016-12-02 11:44:04 -06:00
Brian West 5ec6248dff Merge pull request #1086 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9794 to master
* commit 'ac14496c73c8f15e1b433189fe6bf78e31b772ec':
  FS-9794: Set the result cause of an originate failed cause to variable originate_failed_cause
2016-12-02 11:36:33 -06:00
Brian West dac1b67c20 Merge pull request #888 in FS/freeswitch from ~MZAKA/freeswitch:bugfix/FS-9277-sip-info-record to master
* commit 'addf7555bff15889d73e48bf70445d6d27d79fce':
  FS-9277: sip info with record: on and off doesn't start and stop call recording sessions
2016-12-01 20:22:57 -06:00
Mike Jerris d2b41b6b61 FS-9800: [core] add new accessor functions to core statistics for use in modules 2016-12-01 13:12:04 -05:00
Brian West 9120a3f534 FS-9779 fix compiler issue 2016-12-01 09:38:31 -06:00
Andrey Volk fff5b939b5 FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class 2016-12-01 15:45:18 +03:00
Brian West 7f1ee9adf6 Merge pull request #1088 in FS/freeswitch from ~ROMANAT/freeswitch:feature/FS-9734-add-channel-vars-att_xfer to master
* commit 'c20fa5e8f7cef34086c26ef6e0bbd81b2be7df4b':
  FS-9734: updated keys to be set in memory on att_xfer execution
2016-11-30 17:28:38 -06:00
romana c20fa5e8f7 FS-9734: updated keys to be set in memory on att_xfer execution 2016-11-30 17:37:59 -05:00
Mike Jerris b338bb559b FS-9782: [mod_sofia] on recovery, flip the order of the record route on inbound calls only, use the record route in the same order on inbound calls and in reverse order on outbound calls as the initial route set when doing the recover invite. Account for the call direction based on how sip considers it, not based on freeswitch direction so inbound calls after recovery are treated as outbound in this logic 2016-11-30 15:32:03 -07:00
Brian West a39b862e1d FS-9734: fix this so we don't allocate memory using switch_channel_get_variable on every digit, Only do it once. 2016-11-30 15:20:29 -06:00
Marc Olivier Chouinard ac14496c73 FS-9794: Set the result cause of an originate failed cause to variable originate_failed_cause 2016-11-30 15:19:43 -05:00
Marc Olivier Chouinard 347c93f1c1 FS-9788: Add close() option to FileIO implementation 2016-11-30 14:28:39 -05:00
Brian West 9d249a66ff Merge pull request #1057 in FS/freeswitch from ~ROMANAT/freeswitch:feature/FS-9734-add-channel-vars-att_xfer to master
* commit 'aadd81d6d33dc6402d10ae452394aa8ddd3d1176':
  FS-9734: added new channel vars in att_xfer which allow cancel, hangup and conf keys to be changed
2016-11-30 10:37:46 -06:00
Seven Du c2141c98b2 FS-9787 #resolve remove duplicated headers in conference del-member events 2016-12-01 00:15:12 +08:00
Seven Du 49d730e7f9 FS-9736 #resolve add conference json_list 2016-11-30 23:54:18 +08:00
Mike Jerris d498e8a8b3 FS-9782: [mod_sofia] on recovery, don't flip the order of the record route ever, on outbound calls use the record route in the reverse order as the initial route set when doing the recover invite 2016-11-29 15:04:17 -07:00
Stephane Alnet 86bcee0351 remove redundant `if (rep)` statement 2016-11-29 12:02:26 +01:00
Tamas Cseke 330f60964d Remove arg limit
Allocate dynamically
FS-9762 --resolve
2016-11-23 18:04:41 +01:00
Mike Jerris 6398ed91bb Merge pull request #1065 in FS/freeswitch from ~ARON45/freeswitch:bugfix/FS-9758-freeswitch-segfaults-when-reloading to master
* commit '9619bff6858d3d94e9375841925ca5072abc5dca':
  FS-9758: switch_sql_queue_manager_destroy() avoid null pointer deref
2016-11-22 11:42:43 -06:00
Tamas Cseke c06287da5b Add raven logger module
FS-9744 --resolve
2016-11-22 16:18:53 +01:00
Aron Podrigal 9619bff685 FS-9758: switch_sql_queue_manager_destroy() avoid null pointer deref
If passed in *qmp is a null pointer return `SWITCH_STATUS_NOOP`
2016-11-21 23:08:16 +00:00
romana aadd81d6d3 FS-9734: added new channel vars in att_xfer which allow cancel, hangup and conf keys to be changed 2016-11-21 17:39:27 -05:00
William Henry 46b63a4bb6 FS-9760 Removed the un-needed whitespace from the file 2016-11-21 17:32:22 -05:00
Mike Jerris 916ec2c68c Merge pull request #1064 in FS/freeswitch from ~ARON45/freeswitch:feature/FS-9741-lua-freeswitch.dbh-enhancement to master
* commit 'd3201c633571d511ee308cb27d618941a42bcdd2':
  FS-9741: lua expose db err str in freeeswitch.dbh
2016-11-21 15:15:20 -06:00
Mike Jerris cf0308b4e1 Merge pull request #1058 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9735 to master
* commit '498ce4fc83953ed53c74f054163c829a439737df':
  FS-9735 - send unknown headers to switch_ivr_set_user
2016-11-21 15:12:20 -06:00
Aron Podrigal d3201c6335 FS-9741: lua expose db err str in freeeswitch.dbh
Added 2 methods to lua freeswitch.Dbh
`last_error()` Returns the error string from the last query or nil.
`clear_error()` clears the error string.
2016-11-21 21:11:03 +00:00
Brian West 5bed1b0c2d FS-9755 conference cdr is required for 4579 support in mod_conference 2016-11-17 14:18:47 -06:00
Anthony Minessale 60d8551f2c FS-9748 fix commit snafu 2016-11-17 10:53:09 -06:00