Commit Graph

19530 Commits

Author SHA1 Message Date
Sergey Safarov 808978ec76 FS-9594: Has been adjusted string vars size to fit IPv6 address 2016-10-07 05:37:23 -04:00
Seven Du 241bbd1529 FS-9622 #resolve fix buffer size calculation in http interface in mod_verto 2016-10-07 10:16:35 +08:00
Josh Allmann b8d6c4a805 FS-8075 [mod_hiredis]: Reduce log level of a message. 2016-10-06 18:49:36 -04:00
Mike Jerris ed3aeba135 FS-9581: [windows] don't define symbols before pch include 2016-10-06 17:24:34 -04:00
Mike Jerris f54f33d62d Merge pull request #991 in FS/freeswitch from ~DINGDING/freeswitch:FS-9602-ring_consumer_count-error to master
* commit '6cf77759a8de613f1520035c83444bb31610e41b':
  FS-9602 [mod_fifo] fix outbound_ringall_thread_run ring_consumer_count
2016-10-06 14:02:09 -05:00
Piotr Gregor 1fd2e91a08 FS-9620 [avmd][windows]: #fix windows build after FS-9605 2016-10-06 17:35:25 +01:00
dingding a4080cc4be FS-9583 [mod_fifo] fix node_thread_run blocking outbound_ringall_thread_run and outbound_enterprise_thread_run 2016-10-06 11:47:25 +08:00
dingding 6cf77759a8 FS-9602 [mod_fifo] fix outbound_ringall_thread_run ring_consumer_count 2016-10-06 09:43:09 +08:00
Mike Jerris 743b77c901 FS-9617: fix build error on rpi 2016-10-05 15:58:33 -04:00
Mike Jerris 75d4b5607f Merge pull request #993 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_amr_mode-set_fmtp to master
* commit 'bc8518858e38488d3e6a08aeb8b01f0f223033a8':
  FS-9613: mod_amr: fix AMR mode bitmap ("mode-set" param in remote fmtp)
2016-10-05 14:41:24 -05:00
Mike Jerris 111b163949 Merge pull request #994 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_amrwb_mode-set_fmtp to master
* commit 'a88332ebfa89adc45949fe5fd1055ffef68b3989':
  FS-9614: mod_amrwb: fix AMR-WB mode bitmap ("mode-set" in fmtp)
2016-10-05 14:39:22 -05:00
Mike Jerris 5cd52b5c0f Merge pull request #992 in FS/freeswitch from ~DINGDING/freeswitch:FS-9611-mod_odbc_cdr-Sql-insert-failed-do-not-write-csv-file to master
* commit 'b17b0a5db0f9186feb33b0d2f9a191e3c2d86869':
  FS-9611 [mod_odbc_cdr] fix sql insert failed do not write csv file and csv Duplicate file name will be overwritten
2016-10-05 14:26:01 -05:00
Mike Jerris e5ba6daf8d Merge pull request #987 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9590:master to master
* commit '6681610d0a0b9d41d7693c95b74357d8cc532433':
  FS-9590 dtmf_type variable checking should be done after the media_handle is created
2016-10-05 11:30:14 -05:00
Mike Jerris 7d6c66ad48 FS-9581: [windows] DEBUG_ESTIMATORS symbol conflict in windows 2016-10-05 11:08:45 -04:00
Mike Jerris 0d56945f71 FS-9581: [windows] CF_TEXT is a reserved constant on windows 2016-10-05 11:06:44 -04:00
Anthony Minessale 3bed73c4b2 FS-9612 2016-10-05 10:08:57 -05:00
Mike Jerris 4814cb1e34 FS-9581: [windows] CF_TEXT is a reserved constant on windows 2016-10-05 09:57:31 -04:00
Piotr Gregor 4583ac8c98 FS-9605: [avmd] Add number of detection threads setting to config
Now the number of dectors and lagged detectors is set in avmd config
and can be dynamically adjusted per each session.
2016-10-05 11:59:54 +01:00
Dragos Oancea a88332ebfa FS-9614: mod_amrwb: fix AMR-WB mode bitmap ("mode-set" in fmtp) 2016-10-05 06:46:20 -04:00
Dragos Oancea bc8518858e FS-9613: mod_amr: fix AMR mode bitmap ("mode-set" param in remote fmtp) 2016-10-05 06:31:49 -04:00
Anthony Minessale 9a990add75 FS-9612 #resolve [RTCP-MUX wrongly enabled in cases where answer contains rtcp but offer didn't / remote addr not obtained in UDPTL mode] %backport=1.6 2016-10-05 01:22:46 -05:00
dingding b17b0a5db0 FS-9611 [mod_odbc_cdr] fix sql insert failed do not write csv file and csv Duplicate file name will be overwritten 2016-10-05 12:36:44 +08:00
Anthony Minessale 2a3b8a230c FS-9610 #resolve [Video keyframe requests not being propagated properly] %backport=1.6 2016-10-04 22:34:47 -05:00
Italo Rossi 15a232b5bb FS-9609 - [mod_callcenter] BLF for Queues, callcenter_track app, EXIT_WITH_KEY reason and xml_curl improvements
This change implements a few new features, there's no behavior change at all.

1 - BLF for queues

You can now use BLF for knowing when there are callers waiting on a queue,
the pattern to be subscribed is callcenter+queuename@default or @domain name.

2 - callcenter_track app

Now every agent has an external_calls_count column that will be read upon
selecting agent to offer new calls.
If you start an external call (inbound or outbound) and don't wan't
mod_callcenter to offer new calls for this agent just call this app
passing the agent name as argument:

<action application="callcenter_track" data="agent1"/>

This will increment the external calls count, and to make mod_callcenter look to this variable you need to set this queue parameter:

<param name="skip-agents-with-external-calls" value="true"/>

3 - EXIT_WITH_KEY reason

If the member press a key to exit the queue the cc_cancel_reason will be this now.

4 - xml_curl config loading improvements

Prior to this mod_callcenter query your web server a LOT of times,
this will make it only query once per queue, just watch for CC-Queue
request param and build your xml with everything related to that queue,
including tiers (tiers wasn't loaded before this).
2016-10-04 23:07:42 -03:00
Mike Jerris 1870d148ed FS-9603: include ssl headers locally so modules don't need ssl include path 2016-10-04 14:56:05 -04:00
Anthony Minessale II 121bf83909 Merge pull request #989 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-improve-adjustable-bitrate to master
* commit 'f47bbecec9175179c13d1006524510f1fc159754':
  FS-9601: mod_opus:  make adjustable bitrate mutually exclusive with FEC enforcing on the decreasing trend, add step calculation for bitrate adjustment, fix bug on context settings
2016-10-03 10:59:09 -05:00
Piotr Gregor 184368d8f4 FS-9568 [avmd] Fail session creation if can't be started properly 2016-10-03 15:05:28 +01:00
Anthony Minessale 17ab107ed7 FS-9596 #resolve [rtp-timeout triggered for on-hold calls with a=inactive] 2016-10-02 17:43:55 +01:00
Anthony Minessale c7e983d896 FS-9597 #resolve [host_lookup does not resolve v6 addrs] %backport=1.6 2016-10-02 17:43:54 +01:00
Dragos Oancea f47bbecec9 FS-9601: mod_opus: make adjustable bitrate mutually exclusive with FEC enforcing on the decreasing trend,
add step calculation for bitrate adjustment, fix bug on context settings
2016-10-01 19:05:33 -04:00
Piotr Gregor b24c2ac945 FS-9595 [avmd] Extend avmd show api
Add number of sessions currently running to output of avmd show api.
2016-10-01 21:41:54 +01:00
Anthony Minessale c6ece47314 FS-9596 #resolve [rtp-timeout triggered for on-hold calls with a=inactive] 2016-09-30 12:57:54 -05:00
Anthony Minessale 707502ff24 FS-9597 #resolve [host_lookup does not resolve v6 addrs] %backport=1.6 2016-09-30 12:12:04 -05:00
Anthony Minessale de223ea2c6 FS-9593 #resolve [Video syncs too much on video muted channels] %backport=1.6 2016-09-29 17:13:14 -05:00
Anthony Minessale d429cc2f5a FS-9552 2016-09-29 12:58:09 -05:00
Anthony Minessale 64d5da354e FS-9552 2016-09-29 12:26:40 -05:00
François 6681610d0a FS-9590 dtmf_type variable checking should be done after the media_handle is created 2016-09-29 18:59:13 +02:00
Mike Jerris 9698187cb8 Merge pull request #983 in FS/freeswitch from ~GIAVAC/fs:master to master
* commit '293f2fda9a300d878a671dc4b2e2c029d0ec3509':
  FS-9584 Separate initial bitrate negotiation from sample rates
2016-09-29 11:08:23 -05:00
Mike Jerris a15dcbe351 Merge pull request #973 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9564-add-lagged-detectors to master
* commit 'b44b6e5b20d93e1fdc7330385c56fa5c37c3eaec':
  FS-9564 [avmd]: add lagged detectors
2016-09-29 11:06:29 -05:00
Mike Jerris 58f12394cc Merge pull request #972 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9542-process-audio-samples-in-threads to master
* commit '8e189ed2337efd5f10b292476ffabaa8ae750a44':
  FS-9542 [avmd]: multithreaded
2016-09-29 11:05:06 -05:00
Piotr Gregor b44b6e5b20 FS-9564 [avmd]: add lagged detectors
Addition of detectors which skip first few frames
of audio before they start to process it helps
to properly handle some Verizon voicemails.
The result of avmd test using this commit is
OK. All PASS [100]

Thi scommit also resolves:
FS-9588 Add script for outbound avmdy
FS-9589 Add resolution info to events
2016-09-29 16:53:32 +01:00
Anthony Minessale 4002bda23d FS-9355 2016-09-28 17:07:19 -05:00
Anthony Minessale 0c730d208d FS-9587 #resolve [CV can crash if image is null] 2016-09-28 16:13:35 -05:00
Anthony Minessale 024602ae2c FS-9586 #resolve [local_stream video queue stuck when not being read from] %backport=1.6 2016-09-28 10:38:28 -05:00
Giacomo Vacca 293f2fda9a FS-9584 Separate initial bitrate negotiation from sample rates 2016-09-28 11:22:40 -04:00
Seven Du ad03c5c354 FS-9575 use switch_ssl.h 2016-09-28 15:09:00 +08:00
Anthony Minessale 628242fd52 FS-9580 #resolve [RTCP Auto-adjust] %backport=1.6 2016-09-27 23:12:20 -05:00
Brian West 090408993a fix build 2016-09-27 20:06:33 -05:00
Anthony Minessale 11d5fe23ce swig 2016-09-27 18:03:16 -05:00
Anthony Minessale 6ef4df96da Merge branch 'staging-1.9' 2016-09-27 17:32:53 -05:00
Michael Mavroudis ba99263a74 column update with negative nibble rate -- FS-9577 2016-09-27 14:47:09 -07:00
Anthony Minessale f38dde9fec fix merge 2016-09-27 16:44:25 -05:00
Seven Du 7dd872e9b8 FS-9575 #resolve [Add MRCP] 2016-09-27 16:41:04 -05:00
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Anthony Minessale 6d6bd1efa5 FS-9242 convert to adapter.js 2016-09-27 16:07:00 -05:00
Dragos Oancea 0e6e53f15c FS-8644: OPUS_SET_BITRATE(), codec control and estimators for packet loss and RTT (with Kalman filters) to detect a slow or congested link.
Feature enabled with "adjust-bitrate" in opus.conf.xml - it's a feedback loop with incoming RTCP.
2016-09-27 16:06:17 -05:00
Brian West bbe5ee0856 Merge pull request #969 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_config_rtpip to master
* commit '3d2f3c96db2d496dc349c1e6786f958a7681a4eb':
  FS-9548: return with error on wrong rtp ip given from config
2016-09-27 15:54:08 -05:00
Brian West 09d8f47478 FS-9548 #resolve [crash on Invite due to bad config for sip profile ] 2016-09-27 15:53:38 -05:00
Brian West 39738b32ca FS-9574 #resolve [We shouldn't print data sent on the buffer.] 2016-09-27 15:52:25 -05:00
Anthony Minessale c70f06aa2f FS-9553 #resolve [Refactor video-on-hold] 2016-09-27 14:10:41 -05:00
Anthony Minessale d6bf6705de FS-9522 2016-09-26 20:12:50 -05:00
Anthony Minessale 9edcbfe036 FS-9522 more regression 2016-09-26 20:06:30 -05:00
Piotr Gregor 8e189ed233 FS-9542 [avmd]: multithreaded
Now avmd detection is done in detector threads
processing audio frames with different resolution
and/or offsets. Detection decision is based on relative
standard deviation which dynamically adjusts to the signal.
Detection of amplitude, frequency and both simultaneously
is enabled and corresponding setting added to the configuration.
Frequency estimates are filtered with median filter.

This commit also resolves:
FS-9539 - Get estimates with different resolution
FS-9513 - Use adjustable thresholds
FS-9502 - Add detection mode setting
FS-9501 - Enable three modes of detection
FS-9407 - Add check of amplitude for NaN before appending to SMA buffer
FS-9139 - Unit test framework
2016-09-26 10:48:44 +01:00
Anthony Minessale 2b1f0da5c4 FS-9525 part 2 2016-09-23 16:50:47 -04:00
Mike Jerris ca28fdc8f3 Merge pull request #968 in FS/freeswitch from ~DINGDING/freeswitch:bugfix/FS-9536-fix-switch_core_hash_delete-return-invalid to master
* commit '9f01830d6048933c0d7b33381d7bd02e120927cb':
  FS-9536 [core] fix return value
2016-09-23 10:26:20 -05:00
Anthony Minessale 25732c82d2 FS-9557 2016-09-22 19:52:05 -05:00
Anthony Minessale eb09fb36eb FS-9557 #resolve [Eating AV in proxy media mode] 2016-09-22 18:52:48 -05:00
Anthony Minessale 4aaaf76190 FS-9525 #resolve [Client initiated REINVITE with different audio codec into conference causes choppy audio] 2016-09-22 14:00:12 -05:00
Anthony Minessale f410ac3403 FS-9522 fix regression 2016-09-21 12:51:15 -05:00
Anthony Minessale 188318e2d9 FS-9498 fix regession with 100% cpu 2016-09-21 10:35:06 -05:00
dingding 9f01830d60 FS-9536 [core] fix return value 2016-09-21 09:43:04 +08:00
Anthony Minessale d34b501758 FS-9435 #resolve [PLI requests once per second] 2016-09-20 17:18:10 -05:00
Mike Jerris 96e96a8099 FS-9552: [mod_conference] added 'deaf' to the json status per member 2016-09-20 17:25:47 -04:00
Italo Rossi 1b441a7a8e FS-9551 [switch_ivr - json cdr] Adding app-stamp to app_log 2016-09-20 16:32:16 -03:00
Anthony Minessale 56a129a854 FS-9550 #resolve [Set user on outbound verto calls to sync with user directory] 2016-09-20 14:06:05 -05:00
Anthony Minessale ccadea219a FS-9524 #resolve [Enable whitelisting of Verto connections by IP using FS ACL] 2016-09-20 14:03:35 -05:00
Anthony Minessale eb4d24b68c FS-9549 #resolve [Add userVariables to DMTF and INFO messages] 2016-09-20 13:57:34 -05:00
Anthony Minessale II 9b76bc2fd1 Merge pull request #970 in FS/freeswitch from feature/FS-9543-add-pre-exec-state-change-hooks-to to master
* commit '6a064a953c8b7f58023b5d7388348341017d5e4d':
  FS-9543 #resolve [Add pre-exec state change hooks to core]
2016-09-20 10:58:36 -05:00
Anthony Minessale 6a064a953c FS-9543 #resolve [Add pre-exec state change hooks to core] 2016-09-20 10:57:45 -05:00
Dragos Oancea 3d2f3c96db FS-9548: return with error on wrong rtp ip given from config 2016-09-20 11:05:55 -04:00
Mike Jerris fca259d13c Merge pull request #961 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9526 to master
* commit 'e76350df42bd31180147180bebcf72f2dd588b9a':
  FS-9526 [mod_conference] add deaf sounds
2016-09-19 17:53:13 -05:00
Piotr Gregor 0247c92cb5 FS-9527 [avmd]: Fix MAP_POPULATE on FreeBSD
Remove unsupported flag.
2016-09-19 22:47:14 +01:00
Luis Azedo e76350df42 FS-9526 [mod_conference] add deaf sounds 2016-09-19 19:41:45 +01:00
Anthony Minessale c591a212e8 FS-9538 #resolve [segfault while reading local ringback file] 2016-09-19 13:11:11 -05:00
Luis Azedo 1c00e64a9a FS-9533 [mod_conference] add member-enter-sound 2016-09-19 09:11:29 +01:00
Anthony Minessale 2bd7cfdf9a FS-9522 #resolve [Add rtp_assume_rtcp to always use rtcp when needed] 2016-09-16 12:01:43 -05:00
Spencer Thomason 0c9ab17c60 FS-9424: Make big endian ifdefs more specific 2016-09-15 20:25:18 -07:00
Mike Jerris 7aa97b76a5 Merge pull request #958 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9518 to master
* commit '03e87faac125dca0acd5a15fdb3d7cd6a084e8f9':
  FS-9518 [mod_conference] allow deaf only command in caller-controls
2016-09-15 17:28:04 -05:00
Mike Jerris 9c28b71115 Merge pull request #959 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9519-avmd-test-script to master
* commit '8f4956725cedec07dd789f4d6520fd6ec7797bbb':
  FS-9519: [avmd] Add unit test
2016-09-15 17:12:07 -05:00
Piotr Gregor 8f4956725c FS-9519: [avmd] Add unit test
Add perl script for testing of voicemail detection.
2016-09-15 22:55:28 +01:00
Anthony Minessale 0af2659691 FS-9511 up the max size a tad 2016-09-15 15:49:47 -05:00
Luis Azedo 03e87faac1 FS-9518 [mod_conference] allow deaf only command in caller-controls 2016-09-15 14:12:59 +00:00
Anthony Minessale 66a8b5bfac FS-9511 #resolve [Sync issues on inbound video calls] 2016-09-14 15:51:04 -05:00
Mike Jerris f39bad0b32 Merge pull request #950 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-6954-freeswitch-adds-additional-m-audio to master
* commit 'd5b5e8c23bf78508f5296b188265496e6f4a6a5d':
  FS-6954: Use channel flags to check for proxy media or bypass media
2016-09-14 12:49:12 -05:00
Mike Jerris 3d3a1e3721 Merge pull request #953 in FS/freeswitch from ~LAZEDO/freeswitch:bugfix/FS-9505 to master
* commit '0fddb6b08fa86e83295506369faf932c9646be7d':
  FS-9505 [mod_conference] honor verbose-events in conference-create event
2016-09-14 12:35:05 -05:00
Mike Jerris 480bf40c1a Merge pull request #954 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9509-subscribe-to-avmd-messages-script to master
* commit '194a248522ba55164847a15c39e8ede94b1147a8':
  FS-9509: [avmd] Add perl script subscribing to avmd events
2016-09-14 10:12:05 -05:00
Anthony Minessale 92644dbb4d FS-9506 code was too over-zealous about taking control when it should not, pass 2 2016-09-13 15:54:55 -05:00
Piotr Gregor 194a248522 FS-9509: [avmd] Add perl script subscribing to avmd events
The script will subscribe to avmd events and output them to the console.
2016-09-13 21:46:13 +01:00
Anthony Minessale aee02a3041 FS-9506 code was too over-zealous about taking control when it should not, pass 1 2016-09-13 15:23:46 -05:00
Brian West 7258a2484b FS-9506 #resolve [Proxy-Hold improvement, Support a=inactive] 2016-09-13 13:17:51 -05:00
Luis Azedo 0fddb6b08f FS-9505 [mod_conference] honor verbose-events in conference-create event 2016-09-13 17:45:15 +01:00
Anthony Minessale II b6446d5276 Merge pull request #937 in FS/freeswitch from ~LAZEDO/freeswitch:bugfix/FS-9451 to master
* commit 'ebdf980eb03b7c604b10f45310cf4d4d7dc7313b':
  FS-9551 [mod_sofia] compare also session before setting TFLAG_SKIP_EARLY
2016-09-12 12:23:41 -05:00
Anthony Minessale 06368ebfef FS-9503 messed up case 2016-09-12 12:23:23 -05:00
Anthony Minessale 8eda172aab FS-9503 #resolve [Add flaws and consecutive_flaws to error_log in rtp] 2016-09-12 12:21:21 -05:00
Anthony Minessale f3b22f6142 FS-9496 2016-09-12 12:04:21 -05:00
Anthony Minessale 5c43a17a04 FS-8761 2016-09-12 11:24:41 -05:00
Anthony Minessale 43c10074fb FS-9498 #resolve [Try to make video writing thread more efficient] 2016-09-09 19:01:55 -05:00
Anthony Minessale fd724a7b97 FS-9497 #resolve [AV sync record issue] 2016-09-09 16:48:43 -05:00
Spencer Thomason d5b5e8c23b FS-6954: Use channel flags to check for proxy media or bypass media
Use channel flags CF_PROXY_MODE or CF_PROXY_MEDIA to determine if to disable
SOA when passing a T38 ReINVITE across legs when in proxy media or bypass media.
These channel flags are set when the sofia profile params inbound-bypass-media or
inbound-proxy-media are enabled as well as when the channel variables bypass_media or
proxy_media are set which should handle a few edge cases better.

FS-6954 #resolve.
2016-09-09 11:06:35 -07:00
Piotr Gregor 849918fd99 FS-9458: [avmd] Set channel variable before BEEP event is fired
Now channel variable is properly set when event is delivered.
2016-09-09 01:12:40 +01:00
Anthony Minessale 71c54d6f3a FS-9495 #resolve [add conference_join_energy_level variable] 2016-09-08 17:33:21 -05:00
Anthony Minessale baccbea1f1 FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit] 2016-09-08 15:10:14 -05:00
Anthony Minessale 34bff55ffd FS-9494 #resolve [Issues with video avatar switching when video starts/stops] 2016-09-08 14:52:42 -05:00
Anthony Minessale 55e41a8ea3 FS-9493 #resolve [Possible crash when changing from normal to personal canvas on the fly] 2016-09-08 13:00:49 -05:00
Mike Jerris 7c75cf7300 FS-9484: fix var type format spec 2016-09-08 04:03:18 -04:00
Anthony Minessale 8101b337ec FS-9488 #resolve [Compile error mod_http_cache] 2016-09-07 16:55:44 -05:00
Anthony Minessale d3ee9adfd1 FS-9487 #resolve [Add CBR param to video file recording params] 2016-09-07 16:49:04 -05:00
Mike Jerris 1e867a85f8 FS-9457: fix code after decl error 2016-09-07 14:45:57 -04:00
Mike Jerris dbb447fb69 FS-9457: fix code after decl error 2016-09-07 14:12:33 -04:00
Mike Jerris 4503dee9ad FS-9457: fix code after decl error 2016-09-07 13:35:28 -04:00
Mike Jerris d7c77ba96d FS-9457: fix code after decl error 2016-09-07 12:44:44 -04:00
Mike Jerris 7bee958a51 FS-9457: fix code after decl error 2016-09-07 10:27:03 -04:00
Christopher Rienzo 6263f260f0 Merge pull request #941 in FS/freeswitch from ~RICHARD.SCREENE/freeswitch:feature/FS-9457-mod_http_cache-work-with-azure-blob to master
* commit '55978ba076a744af75595d245410fca815d9f74d':
  FS-9457 [mod_http_cache] Allow GET and PUT from Azure Blob Service
2016-09-07 08:54:52 -05:00
Richard Screene 55978ba076 FS-9457 [mod_http_cache] Allow GET and PUT from Azure Blob Service
Only send final PUT on Azure profiles

Fix core dump when reading Azure key from environment variable

Improve interface between mod_http_cache and storage providers

Remove debug

Remove out-of-date TODO

Add new configuration to example

Changes arising from Christopher Rienzo's comments

Add function to pointers to the profile to allow for better integration with the storage providers.

Add function to pointers to the profile to allow for better integration with the storage providers

Remove old header file inclusion
2016-09-07 09:57:03 +01:00
Luis Azedo ebdf980eb0 FS-9551 [mod_sofia] compare also session before setting TFLAG_SKIP_EARLY 2016-09-07 00:14:47 +01:00
Mike Jerris 962908aa5a Merge pull request #944 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9472-originate-retry-timeout to master
* commit '4620f1070c34a20b5b38a35538a3423832bdc0c3':
  FS-9472 [core] Add originate_retry_timeout and originate_retry_min_period_ms
2016-09-06 12:50:52 -05:00
Anthony Minessale 5a4058df8a FS-9483 #resolve [mod_conference missing keyframe after reinvite] 2016-09-06 11:03:08 -05:00
Anthony Minessale 5ecde9478a FS-9482 #resolve [uuid_media_3p - seg fault on 2nd attempt] 2016-09-06 10:45:50 -05:00
Mike Jerris f48fbf1666 Merge pull request #945 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9480 to master
* commit 'eb08eef0eaac6e292e475952b23e1c35ac5683bf':
  FS-9480 [mod_kazoo] add api enhancements
2016-09-05 15:09:09 -05:00
Luis Azedo eb08eef0ea FS-9480 [mod_kazoo] add api enhancements 2016-09-05 10:52:39 +00:00
Mike Jerris 346a60ed3d Merge pull request #928 in FS/freeswitch from ~ANTONIO/freeswitch-fs-9398:master to master
* commit '9cd2dbbddb9afb59037704739e206e30b4ac1cb6':
  FS-9398 solve missing variables in sofia events expire and unregister
2016-09-02 13:11:53 -05:00
Mike Jerris a34abbc02c Merge pull request #942 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9466-use-system-md5-if-available to master
* commit '5a2f9d7a789c8a78f43cd7014b4980f747bd4ca2':
  FS-9466: Use system MD5 if available
2016-09-02 12:20:05 -05:00
Mike Jerris d9bd695e95 Merge pull request #894 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9143-avmd-fix-custom-headers-in-events to master
* commit '9e0ade83b88113e4a50aacee440a97ddde0a2c1c':
  FS-9143 [avmd] #fix event headers
2016-09-02 12:13:46 -05:00
Anthony Minessale 47cbd2f628 FS-9475 #resolve [Video bandwidth not conveyed in SDP for verto] 2016-09-01 17:18:33 -05:00
Anthony Minessale 9e931ab941 remove debug 2016-09-01 16:44:10 -05:00
Anthony Minessale 1f1e372826 FS-9474 #resolve [Add variables to set initial volume on mod_conference] 2016-09-01 13:30:55 -05:00
Chris Rienzo 4620f1070c FS-9472 [core] Add originate_retry_timeout and originate_retry_min_period_ms
originate_retry_timeout : maximum duration in seconds to allow retry attempts to occur.
        On expiration, this will not stop an in progress attempt, it will only prevent a
        retry attempt from starting. This value works together with originate_retries.

  originate_retry_min_period_ms : minimum spacing between retry attempts.  This prevents
        retries from flooding an enpoint when it rejects quickly.
2016-09-01 10:59:06 -04:00
Spencer Thomason 5a2f9d7a78 FS-9466: Use system MD5 if available
- Use system MD5 on BSD and Solaris based platforms
- Use OpenSSL if system library is not available
- Fallback to included APR
- Optimize switch_md5_string()
- replace libsofia MD5 routines in mod_sofia with switch_md5() ones

FS-9466 #resolve
2016-08-31 15:00:48 -07:00
Mike Jerris 803464ca23 Merge pull request #940 in FS/freeswitch from ~J0SH/freeswitch:fs9404 to master
* commit '16162fd74797222c7a73a866fdd96e732b6f02d2':
  FS-9404 Handle sequence rollovers in mod_av handling of inbound H.263.
2016-08-29 16:27:42 -05:00
Josh Allmann 16162fd747 FS-9404 Handle sequence rollovers in mod_av handling of inbound H.263. 2016-08-26 22:22:42 +00:00
Italo Rossi 1080016986 FS-7706 [mod_callcenter] Hangup agent channel if we failed to bridge it with member channel.
The member can hangup the call while we are playing the outbound announce audio to the agent, this
patch detects this and properly hangup the agent channel to avoid keeping it up with
just a silence call since there's no active bridge.

The agent-bridge-end event now has CC-Agent-Bridged: true if the bridge successfully happens,
variable cc_agent_bridged was added so we can track this in the agent and member CDRs.

If you want to play an audio to the agent to indicate the member hangup the call before the bridge
set the variable cc_bridge_failed_outbound_announce, for example:
<action application="set" data="cc_bridge_failed_outbound_announce=tone_stream://%(250,250,425);loops=3"/>
or
<action application="set" data="cc_bridge_failed_outbound_announce=your-caller-has-gone-away-audio"/>
prior to calling callcenter application.

These variables are documented at https://freeswitch.org/confluence/display/FREESWITCH/mod_callcenter
2016-08-24 00:03:16 -03:00
Brian West 3c3c6ba512 FS-8608 remove nonexistant option, found during config audit 2016-08-22 15:28:02 -05:00
Brian West 7cc2653edc FS-8608 found while doing config audit, params should have dashes 2016-08-22 15:20:04 -05:00
Piotr Gregor 9e0ade83b8 FS-9143 [avmd] #fix event headers
Make all headers starting from capital letter.
2016-08-22 09:32:09 +01:00
William King c8e0eaace7 Merge pull request #923 in FS/freeswitch from ~J0SH/freeswitch:fs9409 to master
* commit '5f5346491943417c7609b834712ee4e5846d3605':
  FS-9409: Wait for avformat reader thread before reading.
2016-08-21 18:46:05 -05:00
Mike Jerris 3f9a234821 Merge pull request #936 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9447-fix-build-on-windows to master
* commit 'e5fc843c41860bbebf9eb187ef96c57def64c34b':
  FS-9447: [mod_avmd] #fix PRId64 on windows
2016-08-20 14:14:36 -05:00
Piotr Gregor e5fc843c41 FS-9447: [mod_avmd] #fix PRId64 on windows
We need to include inttypes.h header on Windows
for this to work.
2016-08-20 15:12:43 +01:00
Anthony Minessale c3728d99d0 FS-9443 #resolve [SDP in a verto.invite with missing ICE candidates can segfault] 2016-08-20 09:11:06 -05:00
Mike Jerris 3a93305045 Merge pull request #935 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9449-enable-clock-calibration-and-clock_nanosleep to master
* commit 'c5eb29d74d5ac727eb2a08c1e653e3f7e33aaacf':
  FS-9449: Enable clock calibration and clock_realtime on Solaris
2016-08-19 22:59:29 -05:00
Mike Jerris f92bb5aeff Merge pull request #930 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9439 to master
* commit '676419a2619dda579d2bca9e6aaaecfa9a86e200':
  FS-9439 check chained loopback for loopback_bowout
2016-08-19 22:56:14 -05:00
Spencer Thomason c5eb29d74d FS-9449: Enable clock calibration and clock_realtime on Solaris 2016-08-19 18:24:23 -07:00
Luis Azedo 676419a261 FS-9439 check chained loopback for loopback_bowout 2016-08-20 02:12:30 +01:00
Mike Jerris f21a38270d Merge pull request #934 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9447-avmd-increase-default-number-of-samples to master
* commit '169f1c0b5044b94e43533cb04e34d88e5be63006':
  FS-9447: [mod_avmd] increase factory default value of samples to skip
2016-08-19 14:41:22 -05:00
Mike Jerris 26a502061f Merge pull request #931 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9440 to master
* commit 'ea5b39365af78be85b73673699040727ec9952c9':
  FS-9440 add transfer_destination
2016-08-19 14:33:22 -05:00
Mike Jerris 6f2f87699c Merge pull request #932 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9441 to master
* commit 'f8c2abc189f27ca13b2ddd6dc334ef7738ccb37d':
  FS-9441 optional skip member outcall beep
2016-08-19 14:26:06 -05:00
Piotr Gregor 169f1c0b50 FS-9447: [mod_avmd] increase factory default value of samples to skip
Increase the value of parameter for factory settings (used when
config can't be loaded or on 'set default' command).
2016-08-19 20:20:24 +01:00
Piotr Gregor fb065a148a FS-9447: [mod_avmd] increase default value of samples to skip
Increase value of samples to skip at the beginning of new frame.
This increases the robustness against false detections observed
on German voicemail from Switzerland (see wav audio attached
to case FS-9447).
2016-08-19 19:44:31 +01:00
Brian West 2636141c32 Revert FS-8565, its getting a few blames for 3cx interop issues, we need to revisit the original reason and make sure this was the right fix. 2016-08-18 15:12:28 -05:00
Luis Azedo f8c2abc189 FS-9441 optional skip member outcall beep 2016-08-18 11:04:08 -05:00
Luis Azedo ea5b39365a FS-9440 add transfer_destination 2016-08-18 10:23:55 -05:00
Anthony Minessale bfb9e96f84 FS-9437 #resolve [Delete avatar if video is enabled mid-call] 2016-08-17 18:22:20 -05:00
Anthony Minessale b9733c577c FS-9436 #resolve [RTCP PLI Media Source SSRC wrong after re-INVITE] 2016-08-17 18:22:20 -05:00
Brian West 3c92bad18e FS-9425 fix copy and paste error where we were not setting the height properly. 2016-08-17 12:52:40 -05:00
Brian West ffb93653ab Merge pull request #859 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9183-call-with-t.38-reinvite-fails-after to master
* commit '5b71dffb8004c6e7045afeaf42c6a785c7496975':
  FS-9183: [mod_sofia] Handle 415 Unsupported Media Type as 488
2016-08-17 10:59:17 -05:00
Antonio 9cd2dbbddb FS-9398 solve missing variables in sofia events expire and unregister 2016-08-17 09:50:08 +02:00
Mike Jerris f8bcc9d126 Merge pull request #883 in FS/freeswitch from ~LORNI/freeswitch:feature/FS-9256-add-db.finalize-in-order-to-close to master
* commit '36ffb292983b11702a90be48d9054ffbbd87dcd8':
  FS-9256: mod_v8: Add DB.Finalize() in order to close statements.
2016-08-16 14:00:31 -05:00
Mike Jerris dc4ae1f700 Merge pull request #926 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9424-__byte_order-macro-not-defined-correctly to master
* commit '2febb55761a83d5b295e784056f59238dc4e4754':
  FS-9424 #resolve Define byte order correctly on Solaris/SPARC
2016-08-16 13:19:36 -05:00
Mike Jerris 42936d2187 Merge pull request #927 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9423-segfault-if-sofia-profile-param-local-network-acl to master
* commit '8928852d66c5f1c00c52bf8cf0c56372bd36540f':
  FS-9423 #resolve Handle null value in ACL list name
2016-08-16 13:16:28 -05:00
Mike Jerris 69bf551c0e Merge pull request #924 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9069-avmd-add-total-time-to-beep-event to master
* commit '9fbf9d02e34066c6d7dd19d9fb080df1b6f02089':
  FS-9069: [mod_avmd] add detection time to beep event
2016-08-16 13:15:23 -05:00
Anthony Minessale c278c9f63f FS-9375 #resolve [DTMF not working on OPUS after Call Transfer ] #comment Can we try to reproduce with this version on all 3 boxes (not just the patch but the whole rev as-is) 2016-08-15 17:10:42 -05:00
Spencer Thomason 8928852d66 FS-9423 #resolve Handle null value in ACL list name 2016-08-12 13:38:10 -07:00
Anthony Minessale eeba18394d FS-9410 #resolve [PLI Missing Media Source SSRC] 2016-08-12 14:28:45 -05:00
Anthony Minessale 2e3227b50f FS-9422 #resolve [Freeswitch Exit/Crash on SDP Negotiation] #comment renegotiate-codec-on-hold renegotiate-codec-on-reinvite are both removed in this commit 2016-08-12 14:10:23 -05:00
Spencer Thomason 2febb55761 FS-9424 #resolve Define byte order correctly on Solaris/SPARC 2016-08-11 18:42:23 -07:00
Spencer Thomason 5b71dffb80 FS-9183: [mod_sofia] Handle 415 Unsupported Media Type as 488
Handle 415 Unsupported Media Type the same as 488 Not Acceptable Here
after t.38 ReINVITE. This resolves an issue where the call would fail and
translates the response code to the more standard 488 Not Acceptable Here
allowing the call to continue in audio mode.

FS-9183 #resolve
2016-08-11 15:13:48 -07:00
Mike Jerris 35eae5c9cb Merge pull request #887 in FS/freeswitch from ~MZAKA/freeswitch:feature/FS-9276-proxy-notify-info to master
* commit '589a0e682e67054bd1b2f351629b0af0e5ec3035':
  FS-9276 new feature proxy in-dialog calls sip notify and info similar to proxy hold
2016-08-11 14:31:31 -05:00
Anthony Minessale 48cec71c76 FS-9419 #resolve [Add event_channel_broadcast api] 2016-08-11 10:41:42 -05:00
Anthony Minessale a3648f244f tweak on yesterday's commit 2016-08-11 10:04:01 -05:00
Anthony Minessale c79441d84e try to deliver locally to verto too 2016-08-10 21:57:42 -05:00
Italo Rossi 79689c4109 FS-9415 [mod_spy] - Increasing loop so we can also look for variable_verto_user and variable_verto_host 2016-08-09 16:17:30 -05:00
Piotr Gregor 9fbf9d02e3 FS-9069: [mod_avmd] add detection time to beep event
Add detection time to BEEP event and total session running
time to STOP event.
2016-08-08 17:23:57 +01:00
Josh Allmann 5f53464919 FS-9409: Wait for avformat reader thread before reading.
Attempting to read before the reader thread is ready causes a
spurious EOF and skipped playback.
2016-08-08 15:16:39 +00:00
Anthony Minessale 61c487c3e8 Revert "FS-8761 #resolve [Memory leak in FreeSWITCH]"
This reverts commit 341e94b28d.
2016-08-06 11:47:07 -05:00
William Henry 1ba5f06947 FS-9403 #resolve [add timestamp for when user was pushed into queue that lives with the channel] 2016-08-04 09:44:19 -04:00
Anthony Minessale 341e94b28d FS-8761 #resolve [Memory leak in FreeSWITCH] 2016-08-03 23:57:00 -05:00
Michael Jerris 9030e13589 FS-9401: [core,mod_amqp] fix leak in usage of hash itterator 2016-08-03 18:41:18 -05:00
Giovanni Maruzzelli f5e8257da6 FS-9380: switch_core_media.c , cleaned from logging 2016-08-03 16:55:34 -04:00
Giovanni Maruzzelli 4a520d4a1e FS-9380: switch_core_media.c , fix_ext-rtip-ip_not_used_when_originating 2016-08-03 16:44:38 -04:00
Muhammad Zaka 589a0e682e FS-9276 new feature proxy in-dialog calls sip notify and info similar to proxy hold 2016-08-01 11:44:12 +01:00
Seven Du e2928b8a75 FS-9394 #resolve fix h263 leak 2016-07-30 10:28:25 +08:00
Mike Jerris ac2734e90c FS-9369: [core_media] add_ice_candidates=true var to enable inserting ice candidates in outgoing sdp 2016-07-29 13:36:29 -04:00
Anthony Minessale 9fe7c48df7 FS-9390 #resolve ['Segmentation fault' during call setup] 2016-07-28 16:27:17 -05:00
Anthony Minessale f34dac749e revert FS-9368 2016-07-28 14:13:37 -05:00
Spencer Thomason a2fd327fa7 FS-9386: [mod_snmp] Use net-snmp-config for SNMP libs if available
FS-9386 #resolve
2016-07-26 21:18:10 -07:00
Anthony Minessale 0dc59995c6 FS-9382 2016-07-26 21:33:14 -05:00
John Briscoe 3227b02194 do not destroy conference if ghost(s) are present, add ghost count check before setting flag 2016-07-26 13:18:41 -07:00
Mike Jerris 2c86910092 FS-9381: [mod_sofia] fix leak in sofia_presence_chat_send 2016-07-25 14:01:52 -04:00
Seven Du 7df07d30e0 FS-9357 handle packet loss, reset decoder on mem err 2016-07-24 20:44:39 +08:00
Seven Du 18f1d56891 FS-9357 cleanup and tweak debug 2016-07-24 12:35:30 +08:00
Anthony Minessale e42997ef08 FS-9376 #comment please try this 2016-07-22 22:43:55 -05:00
Brian West 9879731f8f FS-9334 2016-07-21 22:11:29 -05:00
Anthony Minessale c556e5269b FS-9368 2016-07-21 14:32:04 -05:00
Anthony Minessale ec2734c10c FS-9334 revert 2016-07-21 03:22:37 -05:00
Brian West 9ff1a506d0 FS-9357 #resolve [VP9 codec screenshare on mod_conference (mux/transcode) does not work] 2016-07-19 16:25:33 -05:00
nneul at mst.edu 0fd6667fd2 [FS-9367] log session counts at channel state change 2016-07-19 13:03:12 -05:00
Mike Jerris 8e1fb95251 Merge pull request #911 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-9230-customize-video-muted-banner to master
* commit '14f9b576f165a86957ec552b92bca42e6abc87e0':
  FS-9230: Customize video muted banner
2016-07-19 12:41:32 -05:00
Chad Phillips 14f9b576f1 FS-9230: Customize video muted banner
Allows customizing the banner displayed when video is muted, via conference
param 'video-mute-banner' per conference, or channel var 'video_mute_banner'
per user.

Foreground/background colors, font face/size, and text can all be customized.
2016-07-19 10:16:41 -07:00
Anthony Minessale 35ee4ee593 FS-9365 #resolve [SDP Format on reply to RE-INVITE does not appear to be RFC-4566 compliant] 2016-07-18 15:41:19 -05:00
Anthony Minessale 5cbe57841e FS-9289 #resolve [MOH issue] 2016-07-18 14:15:27 -05:00
Anthony Minessale d9700b36a3 FS-9259 #resolve [Missing "m=image 0" when replying to INVITE with disable image line] 2016-07-18 13:00:00 -05:00
Anthony Minessale 6bc535fd65 FS-9353 #resolve [clear-vid-floor produces error, while working] 2016-07-18 12:39:37 -05:00
Anthony Minessale f43522877c FS-9356 #resolve [DTMF not recognized when coming from a Cisco SIP trunk] 2016-07-18 11:11:32 -05:00
François 0df7e787ce FS-9355: fix segfault in case of null frame 2016-07-18 11:22:01 +02:00
Anthony Minessale b353922488 FS-9352 #resolve [ptime adjust issues on opus] 2016-07-14 17:54:59 -05:00
Anthony Minessale 0b3f776d7d FS-9343 #resolve [Sending a Message using the mod_smpp module via Nexmo Fails] 2016-07-12 15:47:08 -05:00
Anthony Minessale 328146c2fd FS-9345 #resolve [HTTAPI truncates string when response spans multiple packets] 2016-07-12 10:54:08 -05:00
Muhammad Zaka addf7555bf FS-9277: sip info with record: on and off doesn't start and stop call recording sessions 2016-07-11 14:27:49 +01:00
Michael Jerris 9e89639c4d Revert "Fix for FS-9313"
This reverts commit cf6107963c.
2016-07-08 17:00:22 -04:00
Michael Jerris aae7f06d7a FS-9337: fix invalid sdp generated with soa disabled 2016-07-08 15:59:02 -04:00
Mike Jerris eaf1eb0d2d Merge pull request #901 in FS/freeswitch from ~HOENE/opus-stereo-2-mono:master to master
* commit 'cf6107963ca997f5ef25527d16f98626213047a9':
  Fix for FS-9313
2016-07-08 14:28:09 -05:00
Mike Jerris e21e6065d2 Merge pull request #886 in FS/freeswitch from ~MGROOMS/freeswitch-matthew:bugfix/detect_audio_silence to master
* commit '6c3710df4dc14751b60ba8f8ed4780e0f6288ec8':
  FS-9264: Introduce two new api calls named detect_audio and detect_audio_silence. The existing wait_for_silence call never actually waits for silence until it first detects non-silence. There is also no way to set an independent timeout for detecting both the non-silence and then silence. This causes problems when wait_for_silence is called on an already quiet channel. Splitting the function up into two separate calls with separate timeouts offers more flexibility.
2016-07-08 14:26:51 -05:00
Piotr Gregor d49b66c922 FS-9009 [mod_avmd] #fix warning on Windows
Initialize variance of amplitude - avoid (incorrect) warning
2016-07-08 17:46:28 +01:00
Piotr Gregor 6d614ac1a7 FS-9009 [mod_avmd] #fix build on Windows
Windows VC doesn't accept function __attribute__(s)
2016-07-08 17:07:23 +01:00
Anthony Minessale 0379c2a60f FS-9334 #resolve [Jitterbuffer mods] 2016-07-07 22:50:20 -05:00
William King 5d39170ccd FS-9310 Part two. Properly destroy the timeout struct after the message has sent, or timed out. 2016-07-07 15:35:24 -07:00
William King e5f46faea2 Merge pull request #900 in FS/freeswitch from feature/FS-9310-native-support-for-flowroute-sms to master
* commit '35b816bb2758d0b73661b8e12091bdbe0165efc5':
  FS-9310 Native support for Flowroute SMS API over HTTP(S)
2016-07-07 17:23:44 -05:00
William King 35b816bb27 FS-9310 Native support for Flowroute SMS API over HTTP(S) 2016-07-07 15:22:36 -07:00
Anthony Minessale f893f2486a FS-9333 #resolve [Disable video refresh by sip INFO by default] 2016-07-07 13:39:02 -05:00
Anthony Minessale 8c6b2657bf FS-9328 #resolve [switch_jb_peek_frame uses wrong len] 2016-07-06 13:19:46 -05:00
Anthony Minessale 3a3f456e88 FS-9316 #resolve [INVITE with empty SDP from Cisco VCS cannot setup video] 2016-07-06 11:36:54 -05:00
François f6192c7949 FS-9241: follow-up patch to fix a mistake in fetching profile url 2016-07-06 17:29:15 +02:00
Brian West 2c3c6b9b68 Merge pull request #880 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9241:master to master
* commit '78c2ed0526e25c10241ceb918e73aef02446ffd2':
  FS-9241 Use tls_public_url instead of tls_url in INVITE Contact when NAT is detected
2016-07-05 15:01:08 -05:00
Mike Jerris ecaa3968f4 Merge pull request #904 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9009-avmd-amplitude-estimation to master
* commit 'a77387456d9a4fe7334ab9c7ff4c9f5f66686d3b':
  FS-9009 [mod_avmd] Amplitude estimation
2016-07-05 14:38:43 -05:00
Brian West 0ab9f5156e FS-9267 fix regression 2016-07-05 13:27:36 -05:00
François 78c2ed0526 FS-9241 Use tls_public_url instead of tls_url in INVITE Contact when NAT is detected 2016-07-05 17:15:04 +02:00
Piotr Gregor a77387456d FS-9009 [mod_avmd] Amplitude estimation
Add DESA-2 estimation of signal amplitude
2016-07-04 16:33:58 +01:00
Mike Jerris 7f623fc0c8 Merge pull request #902 in FS/freeswitch from ~MZAKA/freeswitch:bugfix/FS-9278-zoip-hold to master
* commit '9988d8d9059c65194d536824db95546081d292b2':
  FS-9278: sending sendonly instead of sendrecv media attribute in SDP when unholding call when Zoiper softphone had responded with inactive
2016-07-01 12:31:14 -05:00
Chris Rienzo f0a36960c7 FS-9315 [mod_http_cache] add support for video file formats 2016-07-01 13:09:51 -04:00
Muhammad Zaka 9988d8d905 FS-9278: sending sendonly instead of sendrecv media attribute in SDP when unholding call when Zoiper softphone had responded with inactive 2016-07-01 16:36:22 +01:00
Anthony Minessale fb49d73e1c FS-9320 #resolve [Adjust buffering based on frame rate differential] 2016-07-01 09:14:19 -05:00
Michael Jerris a6b4934ea8 FS-9314: [mod_conference] fix crash when starting conference in mux mode while specifying or defaulting to a layout group that does not exist. We will now fall back to transcode mode in this case. 2016-06-30 12:27:53 -05:00
Anthony Minessale e3d3daef6a FS-9312 #resolve [unreachable code block in switch_core_media] 2016-06-30 10:50:57 -05:00
Christian Hoene cf6107963c Fix for FS-9313 2016-06-30 14:04:25 +02:00
Michael Jerris 1448ada505 FS-9307: [mod_conference] don't close files until after video threads are done to avoid race condition trying to use closed file handle when playing a video file 2016-06-28 14:02:02 -05:00
Michael Jerris 78ebfff8e3 FS-9305: [mod_conference] return the logo image path from video-logo-img api and handle passing no image path 2016-06-28 12:11:12 -05:00
Brian West a954550c82 FS-9303 these checks are no longer needed as the video flag is not sent to file open unless we are in transcode mode, you can record mp4 but it will only contain the audio if in passthru mode. 2016-06-28 11:28:53 -05:00
Brian West 9508370de8 Revert "FS-9303 add CONF_VIDEO_MODE_NONE so we don't default to CONF_VIDEO_MODE_PASSTHROUGH"
This reverts commit 7150cede34.
2016-06-28 11:04:24 -05:00
Brian West 7150cede34 FS-9303 add CONF_VIDEO_MODE_NONE so we don't default to CONF_VIDEO_MODE_PASSTHROUGH 2016-06-28 10:59:24 -05:00
Anthony Minessale bf34d03469 FS-9221 Add inactive support 2016-06-27 17:25:59 -05:00
Chris Rienzo 4f2c4124d1 FS-9302 [mod_mongo] mongo_find_one and mongo_find_n corrected to return -ERR when connection to database fails. 2016-06-27 17:23:40 -04:00
Michael Jerris 21bfc317f1 FS-9301: [mod_sofia] handle race condition on startup of mod_sofia in error conditons causing segfault 2016-06-27 15:56:47 -05:00
Michael Jerris 5c9f98b016 FS-9297: [mod_sofia] fix multiple crashes from passing invalid null values in sofia.conf 2016-06-24 16:45:29 -05:00
Anthony Minessale ce087fcea6 FS-9296 #resolve [Video support for mod_httapi] 2016-06-23 16:07:31 -05:00
Anthony Minessale 459a696eba FS-9292 #resolve [Core dump playing videos or show images] 2016-06-22 17:10:59 -05:00
Anthony Minessale c4ebb8485a FS-9292 #resolve [Core dump playing videos or show images] 2016-06-22 16:39:43 -05:00
Chris Rienzo 841e2025a8 FS-9287 Add channel variable to make spandsp_start_tone_detect easier to use from dialplan / embedded scripts.
The following variables are added:

execute_on_spandsp_tone_detect_<TONE NAME> : executes APP when tone is detected.  For example, if you have a tone
    named "SIT" defined in spandsp.conf.xml, the variable would be "execute_on_spandsp_tone_detect_SIT"

api_on_spandsp_tone_detect_<TONE NAME> : similar to execute_on except that it executes an API.

spandsp_tone_detect_stop_on_tone : default is false.  If true, detector will stop once the first matching tone is detected.
2016-06-21 09:48:55 -04:00
William King dc13f59ee8 FS-9283 --resolve 2016-06-20 08:59:04 -07:00
Matthew Grooms 6c3710df4d FS-9264: Introduce two new api calls named detect_audio and detect_audio_silence. The existing wait_for_silence call never actually waits for silence until it first detects non-silence. There is also no way to set an independent timeout for detecting both the non-silence and then silence. This causes problems when wait_for_silence is called on an already quiet channel. Splitting the function up into two separate calls with separate timeouts offers more flexibility. 2016-06-16 15:34:37 -05:00
Anthony Minessale b0be5d6737 FS-9267 #resolve [Raw decoded image from vpx codec is corrupted by video media bugs that modify the image] 2016-06-15 21:09:02 -05:00
Mike Jerris dd5c4a539c Merge pull request #865 in FS/freeswitch from ~MZAKA/freeswitch:feature/FS-9192-proxy-hold to master
* commit '05cc7708188fa040dcb903cdcdae28990fa177a8':
  FS-9192-proxy-hold: proxy hold when proxy media and proxy mode are disabled; its similiar to proxy-refer
2016-06-15 18:38:07 -05:00
Michael Jerris 2475c2686f FS-9271: [mod_conference] fix segfault trying to record a canvas that does not exist 2016-06-15 18:36:12 -04:00
Muhammad Zaka 05cc770818 FS-9192-proxy-hold: proxy hold when proxy media and proxy mode are disabled; its similiar to proxy-refer 2016-06-15 10:10:47 +01:00
Seven Du c0499fbb22 FS-9266 #resolve 2016-06-15 09:34:26 +08:00
Anthony Minessale 5fea56286e FS-9265 #resolve [INCOMPATIBLE_DESTINATION when there is no rtcp] 2016-06-14 15:29:27 -05:00
Anthony Minessale 8fe1a584c8 FS-9244 fix debug lines 2016-06-14 13:27:17 -05:00
Anthony Minessale 18dbefa6da FS-9214 regression 2016-06-13 12:46:42 -04:00
Andrey Volk 36ffb29298 FS-9256: mod_v8: Add DB.Finalize() in order to close statements. 2016-06-13 12:25:22 +03:00
Piotr Gregor ee4c01b05e FS-9254: [avmd] fix windows build
Fix int-to-uint8_t conversion warnings
due to usage of switch_true when parsing config
2016-06-10 23:32:21 +02:00
Anthony Minessale 27e4615c8c FS-9244 #resolve [RFC2833 payload_type offered is ignored] 2016-06-10 15:48:01 -05:00
Anthony Minessale d4daa8a051 FS-9246 #resolve [No Audio after Call transfer ] 2016-06-10 15:01:37 -05:00
Mike Jerris 047731584b Merge pull request #874 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9142-avmd-dynamic-settings-reopened to master
* commit '54d7c13a11f8bb49298bf30b89b0f59e99ed9320':
  FS-9142 [avmd] Dynamic settings
2016-06-09 17:01:58 -05:00
Italo Rossi 0f3204feb3 FS-9248 [mod_callcenter] Adding truncate-tiers-on-load and truncate-agents-on-load options. 2016-06-09 16:53:21 -03:00
Anthony Minessale e7758cb724 FS-9247 #resolve [Table with message type names not updated when enum was updated by sangoma patch] 2016-06-09 13:33:38 -05:00
Anthony Minessale 718142bb12 FS-9144 #resolve [Implement video-mute-exit-canvas and recording in personal-canvas mode.] 2016-06-09 13:02:52 -04:00
Seven Du 3910dab95a FS-8979 #comment fire event when done 2016-06-09 06:58:40 +08:00
Di-Shi Sun dd8695457d FS-9238: [mod_osp] Updated for OSP Toolkit 4.11.3.
Updated for OSP Toolkit API.
Updated sample configuration file.
Updated documentation.
2016-06-07 23:37:14 -04:00
Anthony Minessale 18331dd241 FS-9219 #resolve [Re-INVITE with no SDP ] #comment use bypass_media_after_bridge_oldschool=true to enable back-compat bypass media after bridge 2016-06-07 17:39:35 -05:00
Michael Jerris 2409c20c73 FS-7397: fix segfault due to memory corruption on using mod_translate app. The session pool was being freed incorrectly after using the app instead of when the session pool was destroyed 2016-06-07 12:25:30 -05:00
Anthony Minessale b9d31dc9b7 FS-9214: fix 3pcc behavior
Fix callflow issues with  3pcc=true and 3pcc=proxy and interactions with sip_wait_for_aleg_ack
removes passthrough of 183 on 3pcc=proxy (that was previously not functioning)
2016-06-07 11:43:08 -05:00
Giacomo Vacca 79b214a1e5 FS-9235: Fix sending RTCP in switch_core_media 2016-06-07 17:04:33 +02:00
Michael Jerris 9d7fe2430e swigall 2016-06-06 10:09:02 -05:00
Piotr Gregor 54d7c13a11 FS-9142 [avmd] Dynamic settings
Add check of per session settings
in avmd_callback and init_avmd_session
2016-06-05 15:56:06 +01:00
Michael Jerris 15d250ed7c FS-9136: update other modules to match api change 2016-06-03 18:21:08 -05:00
Michael Jerris 4a536dd23c FS-9136: remove unused vars 2016-06-03 17:00:50 -05:00
Anthony Minessale 50d7a80fa3 FS-9136: allow multiple instances of same video codec with different fmtp 2016-06-03 16:16:32 -05:00
Sergey Khripchenko 2766eaf49e FS-9225: [mod_sofia] Allow to force SIP REGISTER Expires: to be within configured range.
Allow to force SIP REGISTER Expires: to be within MIN and MAX values.
Not just to force it to one specific value using "sip-force-expires".

New profile parameters:
  "sip-force-expires-min"
  "sip-force-expires-max"
2016-06-03 05:30:01 -07:00
Anthony Minessale 46b9ace417 FS-9197 2016-06-02 19:13:22 -05:00
Anthony Minessale 79229cdb8a FS-9197 2016-06-02 15:53:38 -05:00
Mike Jerris cfd2931782 Merge pull request #866 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9142-avmd-dynamic-settings to master
* commit 'eb369130d97802e3e739cebace38d76887cdf450':
  FS-9142 [avmd] Dynamic settings
2016-06-02 15:34:45 -05:00
Anthony Minessale 885fe3b25c FS-9197 2016-06-02 13:14:26 -05:00
Ken Rice 9ca13303f4 FS-9222 small tweak to freeswitch console to strip leading spaces from commands 2016-06-02 12:21:11 -05:00
William King d5e390aba5 Merge pull request #852 in FS/freeswitch from ~MZAKA/freeswitch:bugfix/FS-9156-increments-when-call-limit-reached-improve to master
* commit 'f8b3140fed1650828d13349a7f9a63a73b29542e':
  FS-9156: Code Improvement for the non-interval increment when limit reached
2016-06-02 11:44:51 -05:00
Muhammad Zaka f8b3140fed FS-9156: Code Improvement for the non-interval increment when limit reached 2016-06-02 09:57:17 +01:00
Jose Fco. Irles b36cef731c FS-9216: [mod_sofia] Add Cisco SPA30X and Grandstream GXP user agents to send UPDATE 2016-06-01 16:58:40 +02:00
Anthony Minessale c0d9901b8b FS-9150 #resolve ["video-mute-exit-canvas" param combined with "video-bridge-first-two" causes video feed to flip back and forth between feeds when users video-mute] 2016-05-31 20:35:00 -05:00
Mike Jerris e4b141c5f8 Merge pull request #860 in FS/freeswitch from ~SJTHOMASON/freeswitch:feature/FS-9184-allow-show-calls-to-be-filtered-by to master
* commit '800655f774f12d76883f3a07ee35782006fb4c03':
  FS-9184: Allow show calls to be filtered by accountcode
2016-05-31 13:43:09 -05:00
Michael Jerris 0421052b14 FS-9212: [mod_conference] fix conference recording api when using default canvas number 2016-05-31 12:37:58 -04:00
Piotr Gregor eb369130d9 FS-9142 [avmd] Dynamic settings
Add checking of per session settings
with locking synced on avmd session mutex
2016-05-30 23:23:16 +02:00
Anthony Minessale 57aa22638c FS-9207 #resolve [Add ignore_sdp_ice=true to ignore ICE when parsing an SDP] 2016-05-27 14:52:51 -05:00
Mike Jerris a838c29e41 Merge pull request #862 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9188 to master
* commit '08199210c1f548a1aa9a302c32eb89fabbf90301':
  [mod_sofia] [FS-9188] added channel var to suppress auto-answer notify
2016-05-26 16:28:07 -05:00
nneul at mst.edu 68892535ca FS-9199 easier memory allocation debugging and analysis 2016-05-26 16:08:21 -05:00
Anthony Minessale 67e1db09d3 FS-9198 #resolve [Small memory leaks in mod_skinny] 2016-05-26 10:10:05 -05:00
nneul at mst.edu ae8e5cb118 FS-9202 [mod_skinny] fix leak in speed dial 2016-05-25 14:14:03 -05:00
nneul at mst.edu 8339c1f980 FS-9201 [mod_skinny] fix leak in api call to list devices 2016-05-25 13:57:46 -05:00
Anthony Minessale 0151b8eddd FS-9106 followup and tweaks on this patch after some testing 2016-05-25 10:59:15 -05:00
nneul at mst.edu e26dbafa6a FS-9198 [mod_skinny] fix small memory leaks 2016-05-25 10:40:28 -05:00
Seven Du 93e401e78b FS-8979 #resolve #comment please test 2016-05-24 17:36:39 +08:00
Mike Jerris d8164a95f2 Merge pull request #633 in FS/freeswitch from ~LAZEDO/freeswitch:FS-8652 to master
* commit 'dc7753f51667e235ec7171a697f14989c9759e6f':
  FS-8652 handle early-only param in replaces header
2016-05-23 14:27:27 -05:00
Luis Azedo dc7753f516 FS-8652 handle early-only param in replaces header 2016-05-23 18:59:42 +01:00
Spencer Thomason 800655f774 FS-9184: Allow show calls to be filtered by accountcode 2016-05-20 11:32:24 -07:00
karl anderson 08199210c1 [mod_sofia] [FS-9188] added channel var to suppress auto-answer notify 2016-05-20 10:49:40 +01:00
Spencer Thomason 585cccd940 FS-9185: fix format ifdefs for Solaris SPARC
Fix SWITCH_INT64_T_FMT and SWITCH_TIME_T_FMT definitions for Solaris/SPARC

FS-9185 #resolve
2016-05-19 18:43:05 -07:00
Michael Jerris 46f4fda018 remove extra condition code that can never be called 2016-05-19 15:31:03 -05:00
Ken Rice 2b10500231 FS-9160 #resolve tweak sip_invite_failure_* chan vars for properly reporting last outbound call failure when there are multiple bridge attempts on a single call 2016-05-18 15:29:59 -05:00
Anthony Minessale 969904bf46 FS-9153 #resolve [uuid_bridge issue on ESL] 2016-05-18 12:47:39 -05:00
Mike Jerris ae486fc7f7 Merge pull request #856 in FS/freeswitch from ~ANTONIO/fs-9034:master to master
* commit '465a0b6f1d3f229b4067c3db418b8f86c9fa2e47':
  FS-9034 revert commit in sofia.c that prevents register in new thread
2016-05-18 12:34:26 -05:00
Anthony Minessale 6300cd0773 FS-9167 #resolve [Playing file when all video feeds are vmuted does not show file] 2016-05-17 13:41:19 -05:00
Antonio 465a0b6f1d FS-9034 revert commit in sofia.c that prevents register in new thread 2016-05-17 18:40:27 +02:00
Michael Jerris 2c03025479 FS-9164: [core] add Session-Per-Sec-Last to heartbeat event 2016-05-16 14:48:46 -04:00
Anthony Minessale 1c9f6cc301 FS-9153 #resolve [uuid_bridge issue on ESL] 2016-05-16 12:23:11 -05:00
Mike Jerris 00a64734ed Merge pull request #850 in FS/freeswitch from ~VIPKILLA/fs-9148:bugfix/FS-9148 to master
* commit 'df4490a7dfcaa6a087ea436979292b38dc7a5072':
  FS-9148: add new voicemail.conf.xml param `send-full-vm-header`
2016-05-16 11:04:13 -05:00
Italo Rossi 8b6f40f967 FS-8584 - [mod_callcenter] Requesting agents and tiers when reloading queue
Before this callcenter_config queue reload [queuename] only reloads the queue
parameters and now it'll include a CC-Queue header with the queuename when using
mod_xml_curl and request a new config for updating agents and tiers related to the
queue.

If you are using mod_xml_curl please make sure to return the raw xml config file
with all the settings, queues, agents and tiers tags when we request the config
without a CC-Queue specified. If this header is present you can build the xml with
items only related to the queue requested.
2016-05-13 22:21:04 -03:00
Emmanuel Schmidbauer df4490a7df FS-9148: add new voicemail.conf.xml param `send-full-vm-header` 2016-05-12 15:44:39 -04:00
Michael Jerris 8a4ad0da03 Revert "FS-9148: add new voicemail.conf.xml param `send-full-vm-header`"
This reverts commit 98cb363f18.

This commit does not compile
2016-05-12 15:05:56 -04:00
Mike Jerris cafe1872e7 Merge pull request #845 in FS/freeswitch from ~VIPKILLA/fs-9148:bugfix/FS-9148 to master
* commit '98cb363f187a8ba5ad21b5a722a4f6dcaac21243':
  FS-9148: add new voicemail.conf.xml param `send-full-vm-header`  - if enabled, `Voice-Message` header sends urgent new and urgent saved
2016-05-12 13:22:28 -05:00
Emmanuel Schmidbauer 98cb363f18 FS-9148: add new voicemail.conf.xml param `send-full-vm-header`
- if enabled, `Voice-Message` header sends urgent new and urgent saved
2016-05-12 14:14:10 -04:00
Piotr Gregor 1ea32d4009 FS-9010 [avmd] Dynamic passing of parameters
Add dynamic passing of parameters, initialize
session to dynamically passed arguments
or to default global config if dynamic init fails
2016-05-12 18:07:26 +01:00
Piotr Gregor 0a5145133b FS-9152 [avmd] #fix warnings on FreeBSD
Use function __isnan to avoid __Generic
type extension on FreeBSD. Clang 3.4.1 complains
about -Wc++11-extensions even when it has them
defined.
2016-05-12 02:24:14 +01:00
Seven Du ce1b7c5857 FS-9151 #resolve 2016-05-11 14:49:21 +08:00
Hesaam Farhang 8153b6fdee FS-9132: [mod_kazoo] remove whitespaces 2016-05-06 10:47:51 -07:00
Hesaam Farhang b5169e770c FS-9132: [mod_kazoo] Add more vars to default filter 2016-05-06 10:46:55 -07:00
Peter Wu 69d643b53f Properly handle NULL var_name for switch_play_and_get_digits
Do not set "_invalid" in case var_name is empty or unset. While at it,
clear the "foo_invalid" variable before doing anything else when a regex
is passed, this ensures that the variable really reflects the current
run.

Fixes an issue in original FS-7783 feature.
2016-05-06 18:33:32 +02:00
Michael Jerris a8288ec1a9 FS-9135: handle null sdp sent to switch_core_media_set_sdp_codec_string 2016-05-05 11:33:09 -04:00
Michael Jerris 002079d0e7 FS-9135: handle null sdp sent to switch_core_media_set_sdp_codec_string 2016-05-05 11:30:41 -04:00
Michael Jerris 23a1d37ae7 FS-9131: improve validation of ice candidates 2016-05-04 13:34:40 -04:00
Mike Jerris d9af043dde Merge pull request #836 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9124-avmd-extend-xml-config to master
* commit '9415487ae97bca42a3829a96459ded681560db16':
  FS-9124 [avmd] Extend XML config
2016-05-03 11:47:09 -05:00
Piotr Gregor 9415487ae9 FS-9124 [avmd] Extend XML config
Add number of continuous streak samples.
2016-05-03 16:55:02 +01:00
Moishe Grunstein 3779c7d571 FS-9070 Update config.sub and config.guess
Older versions of automake created files that were unaware of newer system architectures, tested with Debian 8.4 and Centos 7
2016-05-03 11:12:11 -04:00
Seven Du 6fc6efa0fd FS-8795 #resolve #comment trying support audio only call in mod_png, please test 2016-05-03 10:03:34 +08:00
Seven Du 5a45c863b5 FS-9115 #resolve #comment trying to support audio only mp4 recording, please test 2016-05-03 09:23:36 +08:00
Italo Rossi 8e112294bf Merge pull request #816 in FS/freeswitch from ~FLOKR/freeswitch:feature/FS-9079-adding-new-strategy-to-mod_callcenter to master
* commit '8b42c77c3b63abd0f75819cc183150663cc58a1d':
  FS-9079: [mod_callcenter] Add ring-progressively strategy
2016-05-02 12:42:10 -05:00
Florent Krieg 8b42c77c3b FS-9079: [mod_callcenter] Add ring-progressively strategy
A new strategy is now available through mod_callcenter, which aim
is to provide a mix between top-down and ring-all strategies.

If set to ring-progressively, the strategy will call an agent, and
then a second agent, and then a third agent, without cancelling
previous calls.

The delay between each call is 10 sec by default, but it can be
changed using the queue variable ring-progressively-delay.
2016-05-02 10:26:20 +02:00
Italo Rossi 96e963d3eb Merge pull request #691 in FS/freeswitch from ~RAJESH.VAYA/freeswitch:feature/mod_callcenter-json-api to master
* commit '23e53df7211aaaa8168b185411c85d0a35be2d33':
  FS-8799 [mod_callcenter] Add JSON API interface for mod_callcenter
2016-05-01 20:40:35 -05:00
Piotr Gregor f476e23c00 FS-9117 [avmd] #fix build on Windows 2016-04-29 19:27:55 +01:00
Anthony Minessale db4693b570 FS-9100 #resolve [Recording Fails if There Are Zero Webcams] 2016-04-28 14:32:24 -05:00
Mike Jerris 94d3f62aef Merge pull request #824 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9011-avmd-add-configuration-file to master
* commit 'bf140e9b68a68ff1da2546012524350a5e504ae5':
  FS-9011 [avmd] Add XML config
2016-04-28 13:11:40 -05:00
Piotr Gregor bf140e9b68 FS-9011 [avmd] Add XML config
Add XML configuration file.
Bind reloadxml callback.
Add safe parsers of user's input.
Add show/set/load/reload API commands.
2016-04-28 14:22:51 +01:00
Anthony Minessale 8bd56deb4e FS-9086 #resolve [Video files playing in mod_conference do not count in totals for calculating layout] 2016-04-27 12:23:10 -05:00
Brian West ff169d8133 Revert "FS-8704: Add min-members, wait-min-members-timeout, wait-mod-timeout, wait-min-members-timeout-message, wait-mod-timeout-message, endconf-mod-exit-message, and endconf-message parameters and functionality to mod_conference."
This reverts commit c39fbb295f.
2016-04-27 11:00:29 -05:00
Anthony Minessale 0685a073ed FS-9106 up default FPS to 30 2016-04-26 23:19:25 -05:00
Anthony Minessale 8ad3d5cb24 FS-9106 #resolve [vpx performance tweaks] 2016-04-26 23:05:14 -05:00
Brian West be8440b0b0 FS-9076 #resolve 2016-04-26 09:51:39 -05:00
Anthony Minessale 2477740700 FS-9062 #resolve [OPUS - Mid Call change from 20ms to 40 ms causes jittery voice ] 2016-04-25 17:39:03 -05:00
Anthony Minessale 18db50c46a FS-9099 #resolve [Websocket raw frame read timeout is too short] 2016-04-25 17:29:50 -05:00
Mike Jerris 1e06ec1339 Merge pull request #822 in FS/freeswitch from bugfix/FS-9060-re-invite-with-bypass_media_after_bridge to master
* commit '0a8e115b980d4fdea41f1da4c5b715348760a4f3':
  FS-9060: [mod_sofia] correct issues with hold and broken soa negotiations after performing a bypass media reinvite
2016-04-22 13:14:03 -05:00
Bernd Kuhls b024c752fb FS-9093: mod_cv: remove unneeded includes
OpenCV contains various modules which have inter-module dependencies.
While including freeswitch into buildroot we stumbled over the fact
that mod_cv.cpp includes more headers than needed[1].
hese OpenCV headers are generic headers which require more OpenCV
modules enabled than really used by Freeswitch.
This patch fixes the problem.

[1] http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/146662

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
2016-04-22 19:55:29 +02:00
Anthony Minessale 0a8e115b98 FS-9060: [mod_sofia] correct issues with hold and broken soa negotiations after performing a bypass media reinvite 2016-04-22 12:26:13 -05:00
Mike Jerris 6796bff80e Merge pull request #819 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9085-avmd-add-avmd_fire_event-method to master
* commit 'bfd8ef08b345fba926909b9e9638bb758029c90a':
  FS-9085, FS-9024: [avmd] Add events
  FS-9024: [avmd] Add events
2016-04-21 08:30:56 -05:00
Piotr Gregor bfd8ef08b3 FS-9085, FS-9024: [avmd] Add events
Add start/stop events. Add registration
method, add fire events method.
2016-04-21 00:16:40 +01:00
Anthony Minessale d95d87ca07 FS-9057 #resolve [Screen Share feed no longer takes floor when someone mutes and unmutes their webcam] 2016-04-20 15:50:35 -05:00
Piotr Gregor a54a5797b7 FS-9024: [avmd] Add events
Add sesion start/stop events.
2016-04-20 14:59:39 +01:00
Michael Jerris fbc4c6e325 FS-9082: [mod_java] coreectly reference the modules dir so mod_java can load what it needs when modules are not placed in prefix/mod directory 2016-04-19 13:47:47 -04:00
Mike Jerris 312df1fbed Merge pull request #812 in FS/freeswitch from ~GIAVAC/freeswitch:FS-9083 to master
* commit '252f0e2618493aeba3b29bccfd0ecb9d04ff3473':
  FS-9083 [mod-sofia] Pass On SIP headers from leg A to B
2016-04-19 12:15:01 -05:00
Thomas Weber 346e044daf Buffer overflow in switch_channel_expand_variables_check and switch_event_expand_headers_check fixed (FS-8757) 2016-04-19 11:44:35 -05:00
Giacomo Vacca 252f0e2618 FS-9083 [mod-sofia] Pass On SIP headers from leg A to B 2016-04-19 10:28:12 +02:00
Mike Jerris 96e207ff4f Merge pull request #806 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9030-avmd-sync-avmd_start_function to master
* commit 'bcddd3da158565c70224838a210662de6cba47ad':
  FS-9030, FS-9050: [avmd] Fix APP interface
2016-04-18 13:24:30 -05:00
Italo Rossi 6ed9f5e736 FS-9080 - [mod_spy] Making mod_spy work with Verto channels 2016-04-18 14:58:52 -03:00
Anthony Minessale aadf89620a FS-8949 #resolve [switch_rtp.c Send end packet for [X] not recognised] 2016-04-15 19:36:47 -05:00
Italo Rossi e3263680c1 FS-9077 [mod_verto] Adding verto_hangup_disposition variable to indicate who hangup 2016-04-15 16:54:38 -03:00
Nathan Neulinger 44258634e1 FS-9074: [mod_skinny] Fix incorrect location of free causing memory leak of xml when certain errors occur 2016-04-15 08:24:28 -05:00
Artem Karukov 50bf8dcddd FS-9072: [mod_syslog] Allow logging of messages with tab character
mod_syslog silently drop messages containing tabs character 0x09 and thus does not log (f.e.) exceptions from lua code.
2016-04-14 07:43:31 -07:00
Piotr Gregor bcddd3da15 FS-9030, FS-9050: [avmd] Fix APP interface
Now avmd can be properly called from dialplan.
Application interface to start/stop avmd
session consists of start/stop app methods.
Backward compatible, old APP syntax left
but will be described in docs as deprecated.
2016-04-13 18:21:13 +01:00
Anthony Minessale 0462026b39 FS-9056 #resolve [Mobile H.264 video is black] 2016-04-12 20:01:59 -05:00
Mike Jerris 71cd9887c1 Merge pull request #802 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9039-avmd-change-return-type-of-session to master
* commit '68c2c5d485346ad6d1a7914a3ee78870953abb1d':
  FS-9039: [avmd] Use FS enumeration
2016-04-12 17:11:37 -05:00
Chris Rienzo 49f1d31290 FS-9058 [mod_hiredis] fix rate counters so the keys expire after interval completes. Do not auto decrement rate counters. Do not log null responses. 2016-04-12 15:23:49 -04:00
Chris Rienzo 7a369b57f1 FS-9059 [mod_hiredis] add session logging 2016-04-12 11:18:11 -04:00
Chris Rienzo f69fef88b7 FS-9058 [mod_hiredis] allow auto decrement of non-interval limits on channel hangup. 2016-04-12 10:39:09 -04:00
Chris Rienzo a0f347fca9 FS-9054 [mod_hiredis] add ignore-connect-fail profile param so that calls do not get killed if limit fails due to lost connection 2016-04-12 09:44:17 -04:00
Kyle King 4c1e7f24bc FS-7394 adding mod_fail2ban into freeswitch repo 2016-04-11 20:06:28 -04:00
Mike Jerris beada9b0cb Merge pull request #656 in FS/freeswitch from mod_conf_enhancements to master
* commit 'c39fbb295f6b9bc01baa5dbfc578e12022c088ae':
  FS-8704: Add min-members, wait-min-members-timeout, wait-mod-timeout, wait-min-members-timeout-message, wait-mod-timeout-message, endconf-mod-exit-message, and endconf-message parameters and functionality to mod_conference.
2016-04-11 12:00:37 -05:00
Chris Rienzo a7465e6cbf FS-9052 [mod_hiredis] add connection pooling, improve dropped connection resiliency, and allow 0.10.0 of hiredis for CentOS 6. 2016-04-11 11:54:46 -04:00
Anthony Minessale 93d45b3bce FS-9049 2016-04-10 11:39:28 -05:00
Anthony Minessale 4430d8a443 FS-7317 2016-04-10 11:22:00 -05:00
Piotr Gregor 68c2c5d485 FS-9039: [avmd] Use FS enumeration
Now initialization function returns switch_status_t.
2016-04-09 20:05:52 +01:00
Mike Jerris 07b200cdd4 Merge pull request #801 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9043 to master
* commit '68e0aded0dd0c5ac652e14764a63a04782deb851':
  FS-9043 [mod_kazoo] add kz_export
2016-04-08 13:29:09 -05:00
Luis Azedo 68e0aded0d FS-9043 [mod_kazoo] add kz_export 2016-04-08 19:17:28 +01:00
Michael Jerris 9a63a9731e FS-9042: [core] fix assert when recording native file 2016-04-08 12:40:15 -05:00
Mike Jerris f8ba116b71 Merge pull request #800 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9036-avmd-cast-to-unsigned-integer to master
* commit 'c442be0f40a93f58d55b535084b4387b6b75852b':
  FS-9036: [avmd] Cast to unsigned
  FS-9031: [avmd] Check session initialization
2016-04-08 11:06:20 -05:00
Michael Jerris e4add83915 swigall 2016-04-07 18:40:42 -05:00
Italo Rossi 3f5af35fd3 FS-9025 - [mod_callcenter] bypass_media_after_bridge working for member channel 2016-04-07 17:54:28 -03:00
Michael Jerris 29263bf7b9 FS-8623: fix sun studio error trying to compile char[] with c++ compiler 2016-04-07 15:11:42 -04:00
Piotr Gregor c442be0f40 FS-9036: [avmd] Cast to unsigned
Should fix warnings on Windoze.
2016-04-07 20:08:25 +01:00
Piotr Gregor 8baf10d266 FS-9031: [avmd] Check session initialization
Now avmd session's initialization is checked
for errors. Error reporting is improved.
2016-04-07 18:08:41 +01:00
Piotr Gregor 2197794e55 FS-9031: [avmd] Check session initialization
Now avmd session's initialization is checked
for errors. Error reporting is improved.
2016-04-07 17:14:56 +01:00
Piotr Gregor 7dd77c781e FS-9028: [avmd] Check SMA buffer
Now SMA buffer is checked for successful memory
allocation dynamically with assertion omitted.
2016-04-07 16:10:34 +01:00
Piotr Gregor cc05abc0d4 FS-9027: [avmd] Check buffer
Now buffer is checked for successful memory
allocation dynamically with assertion omitted.
2016-04-06 23:08:21 +01:00
Piotr Gregor 73cc5ae3c1 FS-9020 Avmd internal/external channel
Implement checking of proper configuration
of avmd session being started on internal/external
channels. Check for read/write codec, CF_MEDIA_SET.
2016-04-06 17:57:15 +01:00
Piotr Gregor 4fa43a2442 [avmd] FS-9023 Add console auto completion
Now auto completion is enabled.
2016-04-05 17:09:17 +01:00
Piotr Gregor 439be5d122 [avmd] FS-9019 Extend syntax description
Add commands to syntax description.
2016-04-05 15:48:48 +01:00
William King 1aa2bf8d77 FS-8978 part two 2016-04-04 22:04:22 -05:00
William King e33c7df9c0 Merge pull request #768 in FS/freeswitch from ~PHIL.LAVIN/freeswitch:bugfix/FS-8978-mod-hiredis-fix-decr to master
* commit 'a1ee1a03bf0b9ff045e3a1b94f479e86c37f1274':
  FS-8978: [mod_redis] Fix limit counter not decrementing on hangup
2016-04-04 21:59:49 -05:00
Mike Jerris f32edbb936 FS-8875: [mod_avmd] fix windows build from this change 2016-04-04 17:00:25 -04:00
Michael Jerris f71ed897f8 FS-8562: [mod_sofia] add update support for Mitel user agents 2016-04-04 15:42:53 -04:00
Mike Jerris a74fc71b67 Merge pull request #687 in FS/freeswitch from freetdm_patch to master
* commit '320d5f2015976fed9ca282dfeeb2bd3e977e6f76':
  Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
2016-04-04 13:51:09 -05:00
Michael Jerris 2ae2af2020 FS-8779: fix the include for Windows builds that point to in tree lib 2016-04-04 14:41:13 -04:00
Mike Jerris e2718b1111 Merge pull request #658 in FS/freeswitch from xml_rpc_segfault_fix to master
* commit '23e333a9fc3dad4b227659f2a31fb65321970f1e':
  FS-8706: Fix a segfault where no response status was set previously, and try to prevent future ones by setting default response status of 500.
2016-04-04 13:15:43 -05:00
Mike Jerris 61fda5727d Merge pull request #790 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9016-avmd-segfault-on-null-read_codec to master
* commit '0a893bac2f26a66b18ebb2e08ee05eafc3db47c5':
  FS-9016 Avmd segfaults on NULL read codec
2016-04-04 11:45:57 -05:00
Piotr Gregor 0a893bac2f FS-9016 Avmd segfaults on NULL read codec
Now it will simply exit. Also added more
descriptive and clear error reporting.
2016-04-04 17:03:30 +01:00
Michael Jerris 4e96a9e6bb FS-9000: fix compile on bsd and with libyuv disabled 2016-04-02 16:57:39 -04:00
Anthony Minessale 48dcab82d7 FS-9000 tweaks 2016-04-01 10:49:52 -05:00
Chris Rienzo 86965a363d FS-9004 [mod_http_cache] set http get timeout on thread that is actively downloading with the value from the download-timeout configuration. 2016-04-01 11:08:00 -04:00
Chris Rienzo ff0cec80f1 FS-9004 [mod_http_cache] added download-timeout param to prevent http_get from waiting unbounded time for downloading to finish. Prevented prefetch threads from blocking if another thread is already downloading the same URL. 2016-04-01 10:38:16 -04:00
Anthony Minessale fe6182260b FS-9013 #resolve [Add vad talk time logging channel vars] 2016-03-31 19:25:56 -05:00
Anthony Minessale II 6f2050cbd9 Merge pull request #788 in FS/freeswitch from feature/FS-8913-problem-with-transfer-when-using to master
* commit '647cc257fdb76268019d22c2f813f7bb291d16e2':
  FS-8913 #resolve [Problem with transfer when using bypass_media + SRTP + Inbound late negotiation]
2016-03-31 16:44:13 -05:00
Anthony Minessale 647cc257fd FS-8913 #resolve [Problem with transfer when using bypass_media + SRTP + Inbound late negotiation] 2016-03-31 16:45:34 -05:00
Mike Jerris 9d67ce4c03 Merge pull request #787 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-8999 to master
* commit '5e912b04a6ab5a3e5643c27c68dc399821072cb1':
  FS-8999: Fixed broken Erlang outbound connection
2016-03-31 16:38:30 -05:00
Mike Jerris fdd81dcc82 FS-8977: tweak nvenc params 2016-03-31 20:21:30 +00:00
Sergey Safarov 5e912b04a6 FS-8999: Fixed broken Erlang outbound connection 2016-03-31 19:45:21 +03:00
Anthony Minessale ad5e6aff1e FS-9002 #resolve [rtp timeout code is parsed on video but its designed for audio] 2016-03-30 15:43:55 -05:00
Anthony Minessale II 94d2018991 Merge pull request #774 in FS/freeswitch from ~O_EMILIANO/freeswitch:feature/mod_av-h264-tweak to master
* commit '2b189d9079e55fd7fdf4f913e37513e8cb37f537':
  FS-XXXX: [mod_av] tweak of parameters in h264 encoding
2016-03-30 14:10:52 -05:00
Anthony Minessale ab21623bc5 FS-9000 #resolve [Set conference flags or conference member flags with individual variables per flag] 2016-03-30 14:11:07 -05:00
Flavio Grossi 3623e2747d FS-8990 add verto_client_address to verto and presence events 2016-03-30 11:42:43 +02:00
Anthony Minessale cc0a062204 FS-8993 #resolve [Sync issues on conference playback of video that is faster frame rate than the conference] 2016-03-29 18:41:49 -05:00
Mike Jerris bbd597aa49 Merge pull request #775 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-8875-enable-faster-beep-detection to master
* commit 'c9d027ea91a536f8909377e78727f1642140e4c4':
  FS-8875 Enable faster beep detection
2016-03-29 17:53:48 -05:00
Anthony Minessale 039ff4a599 FS-8992 #resolve [Indicate end of candidates in SDP] 2016-03-29 17:44:48 -05:00
Piotr Gregor c9d027ea91 FS-8875 Enable faster beep detection
Unnecessary computation of arc cosine is omitted
and convergence is checked on partial results.
Original frequency is easily retrieved when needed.
2016-03-29 23:41:13 +01:00
William King b6a6587c95 FS-8971 build fix. There are two different status variables with two different meanings. This splits them back apart. 2016-03-29 14:55:31 -07:00
Italo Rossi ce3f10a702 FS-8990 - [mod_verto] - Adding verto_login header to verto::client_disconnect event 2016-03-29 17:39:40 -03:00
Piotr Gregor 906e844010 FS-8988 Rename files 2016-03-29 20:53:31 +01:00
Mike Jerris 9ec3253563 Merge pull request #771 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-7125 to master
* commit 'ff1c384e13f07afaac98334532667ebf8093a1f1':
  FS-7125 Added sofia event "wrong_calls_state". This is for fail2ban logging
2016-03-29 14:06:54 -05:00
Sergey Safarov ff1c384e13 FS-7125 Added sofia event "wrong_calls_state". This is for fail2ban logging 2016-03-29 21:21:38 +03:00
emiliano 2b189d9079 FS-XXXX: [mod_av] tweak of parameters in h264 encoding 2016-03-29 15:55:34 +02:00
Anthony Minessale 0335cc3291 FS-8918 #resolve [10 Second timeout after Notify during Proxy refer.] 2016-03-28 13:14:38 -05:00
Mike Jerris a4c79a22a6 Merge pull request #772 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-8983-avmd-enable-avmd-on-outgoing-channel to master
* commit '6658f61ccdd61fa0638d452bab0356c58a9ce74a':
  FS-8983 [avmd] Enable avmd on outbound channel
2016-03-28 06:43:00 -05:00
Seven Du a5bc7e72ce FS-8688 #improve vp9 processing to avoid chrome hang 2016-03-28 14:09:07 +08:00
Piotr Gregor 6658f61ccd FS-8983 [avmd] Enable avmd on outbound channel
It is possible now to do avmd on outgoing channel
which is very handy while debugging.
2016-03-28 02:51:07 +01:00
Seven Du 0fa449d573 FS-8749 #resolve #comment please test 2016-03-27 16:08:40 +08:00
Seven Du 22d2d3ac97 FS-8982 #resolve 2016-03-27 11:45:19 +08:00
Michael Jerris bb25828880 FS-8977: fix typo 2016-03-25 15:45:45 -04:00
Mike Jerris c690ae67ca FS-8977: default to enable hw encoder on conference too 2016-03-25 18:37:25 +00:00
Mike Jerris 5ebb3ea4c1 FS-8750: fix variable set but not used warning 2016-03-25 16:38:08 +00:00
Michael Jerris dc7a049c08 remove temporary warnings silence 2016-03-25 12:07:22 -04:00
Seven Du 1641fccdc5 FS-8836 fix deprecated warning on newer ffmpeg 2016-03-25 23:51:26 +08:00
Mike Jerris fdedaadd23 Merge pull request #770 in FS/freeswitch from FS-8750-1 to master
* commit 'bdeacb1d29d78626474bf53cf8969bf3ea20c751':
  FS-8751 [Conference Play Video Total Time and Current Time]
  FS-8748 FS-8751 check current play_status
  FS-8748 track pdf total pages and current page
  FS-8754 add ability to read high quality PDF
  FS-8750 implement file_seek for video files
2016-03-25 10:36:40 -05:00
Anthony Minessale 77f70e002e FS-8977: Add support for NVENC H264 2016-03-25 11:23:48 -04:00
Phil Lavin a1ee1a03bf FS-8978: [mod_redis] Fix limit counter not decrementing on hangup
The limit counter value is not automatically decremented in Redis when
the call is hung up. This results in it only ever counting up and the
limit being eventually hit.

The linked list is moved on too early. When `limit_pvt` is checked, it
is `NULL`. This means the `decr` command is never sent to Redis.
2016-03-24 18:38:07 +00:00
Michael Jerris 4e8c2249f3 FS-8959, FS-8186: fix build with --disable-libyuv 2016-03-24 12:15:23 -04:00
Michael Jerris 674d40ef40 FS-8959: a bit more refactor of avcodec 2016-03-24 11:28:56 -04:00
Michael Jerris b8a82c5bd8 FS-8959: fix var types to match the prototype 2016-03-24 11:02:17 -04:00
William King eec93d87fa FS-8971 Resolve globals struct handling. Thanks to Ben Hood for reporting the issue. 2016-03-24 07:50:23 -07:00
Seven Du a42ab11022 FS-8959 #resolve refactor code 2016-03-24 06:53:37 +08:00
Mike Jerris 0929d7d7a9 Merge pull request #766 in FS/freeswitch from ~O_EMILIANO/freeswitch:bugfix/FS-8959-memory-leak to master
* commit 'f683c78a0e1e661fc6ae07ab30da361aa2cd10aa':
  FS-8959: [mod_av] fixed memory leak problem in encoding h264
2016-03-23 17:19:22 -05:00
Michael Jerris 21ee27fe24 temp silence warnings until we can resolve deprecation warnings on newer lib versions 2016-03-23 13:38:50 -04:00
emiliano f683c78a0e FS-8959: [mod_av] fixed memory leak problem in encoding h264
FS-8959: [mod_av] fixed memory leak problem in encoding h264, fixed

FS-8959: [mod_av] fixed memory leak problem in encoding h264
2016-03-23 18:09:35 +01:00
Anthony Minessale ddd7fa3c03 FS-8975 #resolve [DTMF variables not functioning] 2016-03-23 09:55:43 -05:00
Anthony Minessale 72e3462118 FS-7800 disable video floor changes on multi canvas 2016-03-23 08:45:30 -05:00
Seven Du c11c2832e4 FS-8973 #resolve 2016-03-23 20:13:39 +08:00
Seven Du a1c0062fef FS-8914 feed NULL to flush encoder at the end of recording, this fixes possible infinite loop 2016-03-23 20:13:39 +08:00
Seven Du fa702f2710 FS-8959 refactor improve memory processing 2016-03-22 11:18:04 +08:00
Mike Jerris 9e6593aa73 Merge pull request #762 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8961-avmd-increase-robustness-of-variance to master
* commit '63a30499dbb8d280dbf4d18b393aa68ac3ce8c15':
  FS-8961 Increase robustness of estimation
2016-03-21 15:36:41 -05:00
Mike Jerris 4ff1a6d2cc Merge pull request #761 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8960-avmd-set-buffer-position-to-beginning to master
* commit 'fce7cfee35468decc8246c410cfd100dc6df7d5a':
  FS-8960 Set buffer position to beginning on reset
2016-03-21 15:35:42 -05:00
Anthony Minessale e3ccb0385a FS-8964 #resolve [Make it possible to disable picture_fast_update INFO requests] 2016-03-21 12:58:34 -05:00
Moises Silva 35259cf36c Reset the whole transcoding session memory on destroy
Again, this shouldn't fix anything, but should make debugging easier.

FS-8312
2016-03-20 20:12:50 -04:00
Piotr Gregor 63a30499db FS-8961 Increase robustness of estimation
Add optional requirement of consecutive streak
of estimations in SMA buffer. Fix definitions.
Add options to control debugging/printing.
2016-03-21 00:10:36 +00:00
Moises Silva f3ac24bb66 Small adjustment to mod_sangoma_codec
* Remove unnecessary memset
* Narrow the scope of the global lock on session initialization
* Assert for couple of expected pointers

This won't fix anything, it's just maintenance clean up done
while investigating FS-8312.
2016-03-20 20:03:34 -04:00
Piotr Gregor fce7cfee35 FS-8960 Set buffer position to beginning on reset
Now buffer position is reset to 0.
2016-03-19 23:43:50 +00:00
Anthony Minessale f93668e3fd FS-7800 fix some stuff in multi-canvas 2016-03-18 18:21:25 -05:00
Anthony Minessale 3eff2d553d FS-7800 should be able to call extra screens with same extension as the original and place the param conferenceCanvasID with the desired canvas id into the call params in the same place bandwidth prefs are added 2016-03-18 14:54:31 -05:00
Anthony Minessale 4c0998659f FS-8957 #resolve [Video image sometimes blips on personal canvas mode when 1 participant is watching voh] 2016-03-18 14:13:18 -05:00
Flavio Grossi d1680d7b3b FS-7915 parse and store multiple path fields 2016-03-18 09:52:43 +01:00
Anthony Minessale 29447feadf FS-8663 cont 2016-03-17 21:09:30 -05:00
Seven Du a70eb4be4e fix typo from 8e7cfce564 2016-03-18 09:19:54 +08:00
Seven Du 3d90d752fc FS-8406 #resolve #comment improvement to drop video packets on slow rtmp link 2016-03-18 09:05:45 +08:00
Seven Du 13c99e938b FS-8406 #comment add options to scale down cavas size, fps and bandwidth 2016-03-18 09:05:10 +08:00
Anthony Minessale 8e7cfce564 FS-8663 add saftey checks for this command 2016-03-17 19:31:35 -05:00
Anthony Minessale 8423f28d43 FS-8841 #resolve [Debian - FS Hang ] 2016-03-17 18:48:59 -05:00
Seven Du 0311e4b516 FS-8168: use copy image functions from libyuv instead of our home rolled versions as the libyuv versions have optimizations 2016-03-17 14:05:48 -05:00
Mike Jerris ba403891ac Merge pull request #714 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8855-avmd-bug-in-calculation-of-tone-s to master
* commit 'f561f1cdd6e724a092bb47ad0de301ddcf290976':
  FS-8855 fix calc of variance of tone's freq estimator
2016-03-17 12:58:15 -05:00
Michael Jerris 94d28e0fd6 FS-8928: flag a bidning error when using EventConsumer::bind with invalid event name instead of blindly using custom 2016-03-17 12:51:35 -05:00
Michael Jerris f5050b1c40 FS-8952: fix unreachable code and simplify conditions 2016-03-17 12:10:26 -05:00
Ken Rice e18c12b609 FS-8953 [core] white space clean up. 2016-03-17 08:55:00 -05:00
Piotr Gregor f561f1cdd6 FS-8855 fix calc of variance of tone's freq estimator
Change SMA buffer APPEND_SMA_VAL macro so now the variance
of tone's frequency estimation is correctly calculated.
Change frequency advertised in log on beep detection from
most recently computed value to average of all values used
in DESA computation.
2016-03-17 12:39:03 +00:00
Seven Du bdeacb1d29 FS-8751 [Conference Play Video Total Time and Current Time] 2016-03-17 09:34:58 +08:00
Seven Du 648ec5db84 FS-8748 FS-8751 check current play_status 2016-03-17 09:34:57 +08:00
Seven Du 8b7f0766f1 FS-8748 track pdf total pages and current page 2016-03-17 09:34:57 +08:00
Seven Du 1204abf87a FS-8754 add ability to read high quality PDF 2016-03-17 09:34:57 +08:00
Seven Du 5ca9dea684 FS-8750 implement file_seek for video files 2016-03-17 09:34:43 +08:00
Anthony Minessale 10b46424f3 FS-8951 #resolve [Video lockup in conference due to race condition] 2016-03-16 17:38:33 -05:00
Mike Jerris 0850f96971 Merge pull request #753 in FS/freeswitch from ~ZSOMKOVACS/freeswitch:feature/FS-8870-log-call-quality-statistics to master
* commit '73c309992dbbce5d7f1550e24867c009dea064ed':
  FS-8870: add human-readable call quality statistics logs on call hangup
2016-03-16 16:41:00 -05:00
Michael Jerris 973e203191 FS-8937: [mod_easyroute] handle segfault when using bad customer query or on query error 2016-03-16 16:10:57 -05:00
Michael Jerris c422cddb77 FS-8946: [mod_xml_cdr] fix segfault on call after loading with no config file or event bind failure causing module load failure 2016-03-16 11:56:43 -05:00
Nathan Neulinger da91717b8e FS-8950 fix a few memory leaks in mod_skinny 2016-03-16 10:48:30 -05:00
Zsombor Kovács 73c309992d FS-8870: add human-readable call quality statistics logs on call hangup 2016-03-16 12:18:12 +01:00
Mike Jerris 000fdbd2d8 Merge pull request #742 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8853-enable-change-of-resolution-and-size-2 to master
* commit 'da7be641bac16dbe5575c0f266a10d1819ab0026':
  FS-8853 enable change of resolution of fast arc cos table
2016-03-15 16:13:22 -05:00
Mike Jerris 02e83c91d9 Merge pull request #712 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8810-avmd-cosinus-table-creation-fails to master
* commit '1c39305fad68b03bf578a77e91d0c20ba8b8145e':
  FS-8810 fix crash on FS startup
2016-03-15 16:11:11 -05:00
Mike Jerris 17476675de Merge pull request #180 in FS/freeswitch from ~CXREG/freeswitch-memcache-file:file_interface_for_mod_memcache to master
* commit 'a2cecbcca42f9e8252936c94152f4fce73e4eb91':
  FS-7286 add file_interface support to mod_memcache
2016-03-15 15:57:04 -05:00
Mike Jerris 6c63fd2ddd Merge pull request #748 in FS/freeswitch from ~RAVENOX/freeswitch:FS-8936 to master
* commit '73684796e6229836d7fae82ad114c3f163a087de':
  FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig
2016-03-15 10:36:30 -05:00
Anthony Minessale a916a12ddf FS-8938 #resolve [Clear res id when setting same res id to another member] 2016-03-14 16:24:31 -05:00
Artur Kraev 73684796e6 FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig 2016-03-14 23:36:33 +03:00
Michael Giagnocavo c96d0098cc FS-8932 - Add in process loading via LoadEmbeddedPlugins 2016-03-13 18:29:03 -06:00
Dave Olszewski a2cecbcca4 FS-7286 add file_interface support to mod_memcache
This allows you to play files directly from memcached.
Currently only 8000hz 16 bit raw audio is supported.

Usage: playback(memcache://key)
2016-03-11 17:08:31 -08:00
Piotr Gregor 1c39305fad FS-8810 fix crash on FS startup
The float-int-float fast arc cosine
mapping is now properly constructed (reused).
2016-03-12 00:20:17 +00:00
Piotr Gregor da7be641ba FS-8853 enable change of resolution of fast arc cos table
It is possible now to apply lower resolution to mapping
of float-integer-float and decrease size of mapped file.
2016-03-11 19:27:21 +00:00
Seven Du 566cc41908 FS-8836 2016-03-10 17:05:55 -06:00
Mike Jerris 9f9078b6f6 Merge pull request #713 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8854-initialize-circular-buffer to master
* commit '3af3e54a6f287b9b045cbe62249b5eecde2b4f80':
  FS-8854 initialize circular buffer
2016-03-10 14:09:06 -06:00
Mike Jerris 226eb6accf Merge pull request #711 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8852-avmd-change-stop-condition-in-loop to master
* commit '1e8d315178b66cc97f9afffb4168678b25431e2b':
  FS-8852 change stop condition in for loop
2016-03-10 14:06:49 -06:00
Anthony Minessale 69dfcb9f63 FS-8752 #resolve [When recording a conference, the first 2 seconds are pixelated] 2016-03-10 13:59:55 -06:00
Anthony Minessale bf30ad3194 FS-8909 FS-8914 2016-03-10 13:58:42 -06:00
William King c90bed79f3 FS-8915 event header name shortened. 2016-03-10 08:56:49 -08:00
Seven Du 8c21dcf28e FS-8836 #comment WIP codec should working now 2016-03-10 15:38:30 +08:00
Anthony Minessale a3e316157f FS-8921 #resolve [Tweak banner code in mod conference] 2016-03-10 01:25:52 -06:00
Brian West 49b9d7f9ff FS-8898 log setVariable at debug, so you can tell what variables are being set with ease from scripts 2016-03-09 20:33:52 -06:00
Brian West 56332c92c8 swigall 2016-03-09 19:11:16 -06:00
Anthony Minessale bdf84bb58b FS-8909 FS-8914 refactoring 2016-03-09 18:01:13 -06:00
Anthony Minessale f39c9e009b FS-8909 FS-8914 2016-03-09 18:01:13 -06:00
Mike Jerris a5a5cc47b4 Merge pull request #733 in FS/freeswitch from ~TCSEKE/freeswitch:bugfix/FS-8866-mod_erlang_event-memleak to master
* commit '0914a501cd315fc2b397cf7dd4a296e36eb7a051':
  Fix memory leaks
2016-03-09 11:26:36 -06:00
Anthony Minessale 98c8e73d57 FS-8761 #resolve [Memory leak in FreeSWITCH] 2016-03-09 11:05:22 -06:00
Anthony Minessale 5db985d117 FS-8909 add record_indication variable/param with path to beep sound etc 2016-03-09 10:56:07 -06:00
Seven Du 950c26c878 borrow code from ffmpeg to fix log_packet function for debuging 2016-03-09 20:54:18 +08:00
Seven Du e07c472ff9 FS-8916 comment out dead code from the last bug fix, add to TODO 2016-03-09 20:54:06 +08:00
Seven Du 24d22d6737 FS-8916 #resolve 2016-03-09 15:31:40 +08:00
Anthony Minessale II 360cee1a70 Merge pull request #737 in FS/freeswitch from ~CARLOSP/freeswitch:bugfix/FS-8910-sdes-not-properly-negotiated-when to master
* commit '8fa947aa19a9c6e202ab644975be39b966f6201c':
  FS-8910: Properly negotiate SDES when receiving SDP with a=crypto:0
2016-03-09 00:40:38 -06:00
Anthony Minessale 7422482ef6 FS-8914 2016-03-09 00:15:23 -06:00
Anthony Minessale 2cf9962f61 FS-8914 2016-03-09 00:02:59 -06:00
Anthony Minessale 86e6480af8 revert 2016-03-08 21:57:03 -06:00
Anthony Minessale d0b813f0d7 FS-8914 2016-03-08 20:19:33 -06:00
Anthony Minessale 68588e811f FS-8914 #resolve [recording mp4 cuts off the end in some cases] 2016-03-08 18:53:55 -06:00
Davide Colombo 3e9e239864 FS-8911: fix typo in conference_member 2016-03-08 12:22:06 +01:00
Carlos Perez Alcaraz 8fa947aa19 FS-8910: Properly negotiate SDES when receiving SDP with a=crypto:0
When receiving an SDP with a=crypto:0 with the wanted crypto suite, we should
maintain that crypto tag in the local SDP in order for SDES setup to succeed.
2016-03-08 12:10:43 +01:00
Anthony Minessale ee7a298f40 FS-8868 #resolve [recording app to respect bandwidth set in SDP] 2016-03-07 21:56:13 -06:00
Anthony Minessale b7227465b6 FS-8909 #resolve [Add feature to play background video while recording inbound video] 2016-03-07 19:59:10 -06:00
Anthony Minessale 3ca6ed4365 FS-8864 fix regression to recording 2016-03-07 19:59:10 -06:00
Brian West 8fd8c84c3b FS-8878 fix compiling without the library installed 2016-03-07 12:20:00 -06:00
Brian West ff9cbe6c67 Merge pull request #722 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:mod_amr-octet_aligned to master
* commit '8dcf8caa85c8aa9c451592292c5b4b6248e334d9':
  FS-8878: mod_amr: make AMR NB transcode in octet-align mode (when compiled with HAVE_AMR)
2016-03-07 10:15:34 -06:00
Tamas Cseke 0914a501cd Fix memory leaks
Destroy session event hash and events in queue
FS-8866 --resolve
2016-03-07 13:20:37 +01:00
Anthony Minessale e0b303e2cb FS-8905 #resolve [Heap overflow in img patch] 2016-03-05 14:41:38 -06:00
Seven Du 931e8b6633 FS-8905 #comment fix possible out of boundary access, please test 2016-03-05 22:22:36 +08:00
Seven Du f0c76fab80 FS-8811 fix divide by 0 2016-03-05 20:32:40 +08:00
Anthony Minessale b80eb983ec FS-8905 2016-03-04 20:02:46 -06:00
Anthony Minessale 96d37a8951 FS-8905 doing -1 here prevents the crash, its something to do with the last row in the height 2016-03-04 19:54:56 -06:00
Anthony Minessale ce8761a427 FS-8904 #resolve [Fix mem leak in img_write_text] 2016-03-04 19:52:23 -06:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Anthony Minessale 89c2abaff2 FS-8903 #resolve [Add logo img to local_stream] 2016-03-04 16:38:41 -06:00
Anthony Minessale 135f04e64a FS-8851 #resolve [Codec for recording is negotiated before call answered] 2016-03-04 12:22:33 -06:00
Anthony Minessale 66fe6e5a46 FS-8811 #comment please test 2016-03-03 18:37:42 -06:00
Anthony Minessale c366e3615f FS-8354 #resolve [G722 audio issues with mod_conference after fab435479a] 2016-03-03 17:28:28 -06:00
Brian West f28babf358 swigall 2016-03-03 11:00:31 -06:00
Brian West 0b8fbb47b2 FS-8891 #resolve [T38 fax fails between 2 freeswitch boxes, with high cpu usage (comparison overflow?)] 2016-03-03 09:32:12 -06:00
Anthony Minessale 041dc0a62d FS-8864 set video ready on first push to avoid catch 22 on some video files 2016-02-29 17:00:42 -06:00
Anthony Minessale a2b806c01c FS-8876 make function public and use it in conference also 2016-02-29 16:22:13 -06:00