34994 Commits

Author SHA1 Message Date
Andrey Volk
bae7c3eae0 [Unit-tests] Fix switch_core_file test. 2019-12-05 23:44:33 +04:00
Dragos Oancea
b124b607d7 [Core] Add PRE_CLOSED flag on file handle, add unit test. 2019-12-05 21:55:46 +04:00
Andrey Volk
5274dd1f9c
Merge pull request #164 from lazedo/kazoo-create_ei_cnode
[mod_kazoo] use globals hostname to create nodename in create_ei_cnode
2019-12-05 00:43:16 +04:00
Andrey Volk
329edd0133
Merge pull request #165 from signalwire/crashonload
[Core] Fix wrong sqldb initialization order causing crash on load.
2019-12-04 19:46:30 +04:00
Andrey Volk
a124937f0c [Core] Fix wrong sqldb initialization order causing crash on load. 2019-12-04 19:32:46 +04:00
lazedo
ac77de715b [mod_kazoo] use globals hostname to create nodename in create_ei_cnode 2019-12-04 05:58:08 +00:00
Andrey Volk
1435577eaf
Merge pull request #162 from lazedo/kazoo-hostname-2
[mod_kazoo] add kz_set_hostname declaration
2019-12-04 03:35:59 +04:00
lazedo
731b0eb8fd [mod_kazoo] add kz_set_hostname declaration 2019-12-03 23:24:47 +00:00
Andrey Volk
4de6afc9d6
Merge pull request #160 from lazedo/kazoo-hostname
[mod_kazoo] missing call to kz_set_hostname
2019-12-04 02:19:42 +04:00
lazedo
1afad3413b [mod_kazoo] missing call to kz_set_hostname 2019-12-03 21:45:15 +00:00
Andrey Volk
b337e77258 [Unit-tests] Fix leaks in mod_test and in switch_core_codec, switch_vpx, switch_xml, switch_ivr_play_say tests. 2019-11-27 21:38:19 +04:00
Andrey Volk
4c434aef1f
[Unit-tests] Fix test framework by telling sqldb to manage handles so they don't leak and are destroyed on shutdown. 2019-11-26 22:54:17 +04:00
Andrey Volk
2865603ad2 [Unit-tests] Fix xml error not finding freeswitch.xml on FST_MINCORE_BEGIN 2019-11-26 01:54:43 +04:00
Ítalo Rossi
3de3ec3b1a [mod_callcenter] Adding SAF_SUPPORT_NOMEDIA to callcenter_track since we don't need media up for it. Also, a small fix to make it compile on OSX. 2019-11-26 01:33:12 +04:00
Andrey Volk
5836b9652b [Unit-tests] Fix test framework leaking on successful checks under setup or teardown mode. Failed checks in these modes are noted and then freed, but not when passed. 2019-11-26 01:05:03 +04:00
Andrey Volk
ff65104c03
Merge pull request #134 from signalwire/drone
Add unit-tests automation to Drone CI
2019-11-25 23:54:14 +04:00
Andrey Volk
0bd676db32 Add unit-tests automation to Drone CI 2019-11-22 00:15:40 +04:00
Andrey Volk
a4f0b2f2a0 [mod_test] Fix OSX build 2019-11-22 00:09:14 +04:00
Seven Du
724868fa08 [core] fix test case 2019-11-21 22:06:14 +04:00
Seven Du
254fda292a [core] fix shutdown crash when core running with MINIMAL flag 2019-11-21 22:05:43 +04:00
jay98237438
f7a424a263 [mod_amrwb] RFC4867 mode-set compliancy
Yield to offered mode-set when set.

From RFC4867:
If a mode set was supplied in the offer, the answerer SHALL return the mode-set unmodified or reject the payload type.
2019-11-21 13:54:40 +00:00
jay98237438
e83c6a4607 [mod_amr] RFC4867 mode-set compliancy
Yield to offered mode-set when set.

From RFC4867:
If a mode set was supplied in the offer, the answerer SHALL return the mode-set unmodified or reject the payload type.
2019-11-21 13:54:33 +00:00
Andrey Volk
66aa064588
Merge pull request #91 from lazedo/event-channel-debug
[core] allow event-channel debugging & single delivery
2019-11-15 23:37:36 +04:00
Sebastian Kemper
70d1cbafe4 [gentls_cert] Update message digest
Debian Buster updated /etc/ssl/openssl.cnf to default to

MinProtocol = TLSv1.2
CipherString = DEFAULT@SECLEVEL=2

gentls_cert currently uses SHA1 as message digest. According to OpenSSL
documentation this only offers 80 bit of security. 80 bits is enough for
security level 1, but not 2.

The OpenSSL default MD nowadays is SHA256. This commit updates
gentls_cert to use it.

Issue was reported on the FS mailing list. The certificates created by
gentls_cert caused "md too weak" errors and clients were unable to
connect.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-13 20:40:42 +01:00
Andrey Volk
f8dc87bd18 [mod_event_socket] Fix "Listener session is null" problem - regression from previous commit to the mod. 2019-11-13 19:28:25 +04:00
Piotr Gregor
b0f09fcff2 [mod_avmd] Unlock and close session if adding a media bug fails 2019-11-12 21:29:29 +04:00
Dragos Oancea
a2b46bcf10 [core] Do not try to close a file handle if it's not SWITCH_FILE_OPEN, return SWITCH_STATUS_FALSE instead 2019-11-12 03:18:23 +04:00
Andrey Volk
a288c3d969
Merge pull request #117 from lazedo/kazoo-ctx
[mod_kazoo] recurse context runtime vars
2019-11-12 01:25:14 +04:00
Dragos Oancea
60746cc07c [mod_tts_commandline, mod_sndfile] fix crash on file not found 2019-11-11 23:02:21 +04:00
Vallimamod Abdullah
7f63483138 [mod_event_socket] Add null pointer checks on listener session and socket 2019-11-11 22:58:18 +04:00
lazedo
3c6d47c293 [mod_kazoo] recurse context runtime vars 2019-11-11 18:09:26 +00:00
Areski Belaid
647ed310e5 [mod_callcenter] Unreserve callcenter events when config errors loading 2019-11-11 20:23:20 +04:00
Andrey Volk
7861ec937e
Merge pull request #64 from cdosoftei/amqp-reconnect
[mod_amqp] open logging and produced connections from within their threads
2019-11-11 20:11:59 +04:00
Andrey Volk
55afe220d3
Merge pull request #71 from cdosoftei/amqp-queue-properties
[mod_amqp] configurable commands queue properties
2019-11-11 20:11:30 +04:00
Andrey Volk
00cbf0ea37
Merge pull request #112 from lazedo/kazoo-cfw
[mod_kazoo] add kz-endpoint-runtime-context
2019-11-08 18:10:32 +04:00
lazedo
998e322f46 [mod_kazoo] add kz-endpoint-runtime-context 2019-11-07 22:42:28 +00:00
Andrey Volk
aa2df4f3f8
Merge pull request #90 from lazedo/k-header
[mod_sofia] add K- to prefixes that create a sip_h_ variable
2019-10-31 20:50:05 +04:00
Andrey Volk
5705290f8d
Merge pull request #89 from lazedo/sofia-auth-query
[mod_sofia] add existing variables when locating user
2019-10-31 20:33:55 +04:00
Andrey Volk
2ace196aa6
Merge pull request #86 from lazedo/kazoo-updates
[mod_kazoo] several fixes & code cleanup
2019-10-31 20:30:39 +04:00
lazedo
506bcd280d [core] allow event-channel debugging & single delivery 2019-10-31 12:41:47 +00:00
lazedo
b4373c6666 [mod_sofia] add K- to prefixes that create a sip_h_ variable
used by sip tracing tools and not to confuse with application (X-) or (P-)
2019-10-31 12:27:21 +00:00
lazedo
f77484b96d [mod_sofia] add existing variables when locating user 2019-10-31 12:20:33 +00:00
lazedo
8d2174d707 [mod_kazoo] several fixes & code cleanup 2019-10-31 11:06:16 +00:00
Andrey Volk
c76a8c5458 swigall 2019-10-30 17:25:47 +00:00
Chris Rienzo
1442186cee [core] Update switch_ivr_bridge_bleg to skip audio bridge during transfer 2019-10-30 21:08:03 +04:00
Seven Du
8aafff281b [Core] Make switch_ivr_orig_and_bridge function return status and a cause. 2019-10-30 21:07:54 +04:00
Dragos Oancea
45219aef6f [mod_sndfile] don't force channels and sample rate with .raw extension 2019-10-29 21:47:22 +04:00
Andrey Volk
31d6676706
Merge pull request #72 from andywolk/verto
[mod_verto] Ignore not just zero but negative frame size as well.
2019-10-25 02:10:27 +04:00
Andrey Volk
0e3d8c00ba
Merge pull request #73 from signalwire/osx-catalina-build
[build] fix libvpx osx build detection on newer compilers and osx versions so we use sse extensions on newer versions
2019-10-24 00:37:07 +04:00
Mike Jerris
07c6ad5e1a [build] fix libvpx osx build detection on newer compilers and osx versions so we use sse extensions on newer versions 2019-10-23 13:54:09 -06:00