]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
7 years agoFS-11074: [Core, Build-System] Add PostgreSQL to the Freeswitch Core on Windows.
Andrey Volk [Thu, 29 Mar 2018 15:50:16 +0000 (18:50 +0300)] 
FS-11074: [Core, Build-System] Add PostgreSQL to the Freeswitch Core on Windows.

7 years agoFS-11069: [Build-System] Update zlib to 1.2.11 and move it to pre-compiled binaries...
Andrey Volk [Wed, 28 Mar 2018 23:00:10 +0000 (02:00 +0300)] 
FS-11069: [Build-System] Update zlib to 1.2.11 and move it to pre-compiled binaries on Windows.

7 years agoFS-11057: [mod_conference] CPU race on personal canvas #resolve
Anthony Minessale [Fri, 23 Mar 2018 20:46:24 +0000 (15:46 -0500)] 
FS-11057: [mod_conference] CPU race on personal canvas #resolve

7 years agorevert
Brian West [Wed, 28 Mar 2018 22:44:06 +0000 (17:44 -0500)] 
revert

7 years agoFS-11057: [mod_conference] CPU race on personal canvas #resolve
Mike Jerris [Wed, 28 Mar 2018 16:11:15 +0000 (12:11 -0400)] 
FS-11057: [mod_conference] CPU race on personal canvas #resolve

7 years agoFS-11068: [mod_conference] Avatar members not supported on personal canvas leading...
Anthony Minessale [Wed, 28 Mar 2018 15:10:31 +0000 (10:10 -0500)] 
FS-11068: [mod_conference] Avatar members not supported on personal canvas leading to miscount #resolve

7 years agoFS-11057: [mod_conference] CPU race on personal canvas #resolve
Anthony Minessale [Wed, 28 Mar 2018 00:35:04 +0000 (19:35 -0500)] 
FS-11057: [mod_conference] CPU race on personal canvas #resolve

7 years agoFS-11067: [Build-System] Improve windows build speed moving openssl to pre-compiled...
Andrey Volk [Wed, 28 Mar 2018 09:25:49 +0000 (12:25 +0300)] 
FS-11067: [Build-System] Improve windows build speed moving openssl to pre-compiled binaries.

7 years agoFS-11066: [Build-System] Make WIX project be able to produce snapshots with proper...
Andrey Volk [Tue, 27 Mar 2018 22:15:15 +0000 (01:15 +0300)] 
FS-11066: [Build-System] Make WIX project be able to produce snapshots with proper msi naming on windows.

7 years agoFS-11065: [Build-System, mod_v8] Update libv8 to 6.1.298 on windows, speedup windows...
Andrey Volk [Tue, 27 Mar 2018 21:03:28 +0000 (00:03 +0300)] 
FS-11065: [Build-System, mod_v8] Update libv8 to 6.1.298 on windows, speedup windows build by moving libv8 to pre-compiled binaries.

7 years agoFS-10989: [core] Fix CUSTOM_HASH hash table race in switch_event logic causing crashe...
Andrey Volk [Tue, 27 Mar 2018 19:19:37 +0000 (22:19 +0300)] 
FS-10989: [core] Fix CUSTOM_HASH hash table race in switch_event logic causing crashes during bind to events.

7 years agoFS-11020: [Build-System] On Windows: Add missing modules to the msi installer, fix...
Andrey Volk [Tue, 27 Mar 2018 18:02:41 +0000 (21:02 +0300)] 
FS-11020: [Build-System] On Windows: Add missing modules to the msi installer, fix mod_gsmopen build, remove mod_skyopen, disable libav and libx264, cleanup.

7 years agoswigall
Mike Jerris [Tue, 27 Mar 2018 17:21:57 +0000 (12:21 -0500)] 
swigall

7 years agoFS-10853: remove extern that is no longer needed
Mike Jerris [Tue, 27 Mar 2018 17:20:08 +0000 (12:20 -0500)] 
FS-10853: remove extern that is no longer needed

7 years agoFS-11063 Use compile time constants in dtls_state_setup
Piotr Gregor [Tue, 27 Mar 2018 11:18:00 +0000 (12:18 +0100)] 
FS-11063 Use compile time constants in dtls_state_setup

7 years agoFS-11057: [mod_conference] CPU race on personal canvas #resolve
Anthony Minessale [Fri, 23 Mar 2018 23:00:32 +0000 (18:00 -0500)] 
FS-11057: [mod_conference] CPU race on personal canvas #resolve

7 years agoFS-11058: [core] Add RTT to RECV_RTCP_MESSAGE
ifox [Sat, 10 Mar 2018 01:25:34 +0000 (17:25 -0800)] 
FS-11058: [core] Add RTT to RECV_RTCP_MESSAGE

Add the RTT field to the RECV_RTCP_MESSAGE event emission which allows external listeners to compute MOS RTCP from the event.

7 years agoRevert "FS-11047: [Debian] re-enable mod_v8 package build"
Mike Jerris [Fri, 23 Mar 2018 20:52:47 +0000 (15:52 -0500)] 
Revert "FS-11047: [Debian] re-enable mod_v8 package build"

This reverts commit c093b2d33dbc625439ea96988edb0b6ae00a84e8.

7 years agoFS-11057: [mod_conference] CPU race on personal canvas #resolve
Anthony Minessale [Fri, 23 Mar 2018 20:46:24 +0000 (15:46 -0500)] 
FS-11057: [mod_conference] CPU race on personal canvas #resolve

7 years agoFS-11056: [core] fix RTCP lost calculation
Sergey Khripchenko [Wed, 28 Feb 2018 16:27:30 +0000 (08:27 -0800)] 
FS-11056: [core] fix RTCP lost calculation

RTCP/Receiver Report/lost field is a _signed_ 24bit integer and it could be negative (in case of UDP duplication)
+ any negatives now threated as huge uint32_t
+ set this field properly on __BIG_ENDIAN
+ correctly read this value in received RTCP on all arches

7 years agoFS-11052: Allow alias for crypto suites
Piotr Gregor [Wed, 21 Mar 2018 16:58:01 +0000 (16:58 +0000)] 
FS-11052: Allow alias for crypto suites

For outgoing calls send AES crypto in offer using corrected names
for keys of length 192 and 256, i.e. names containing _192_CM_
and _256_CM_ instead of _CM_192_ and CM_256_. For incoming calls
accept both naming conventions, decaying to same entry in SUITES.

7 years agoFS-11047: [Debian] re-enable mod_v8 package build
Mike Jerris [Tue, 20 Mar 2018 14:32:52 +0000 (10:32 -0400)] 
FS-11047: [Debian] re-enable mod_v8 package build

7 years agoFS-11038: [mod_sofia] fix crash in gwlist api command
Mike Jerris [Thu, 15 Mar 2018 21:28:16 +0000 (17:28 -0400)] 
FS-11038: [mod_sofia] fix crash in gwlist api command

7 years agoFS-10853: Fix unitialzed var
Mike Jerris [Thu, 15 Mar 2018 21:06:25 +0000 (17:06 -0400)] 
FS-10853: Fix unitialzed var

7 years agoFS-11037: [mod_lua] reduce logging levels
Ethan Atkins [Sat, 10 Mar 2018 01:25:34 +0000 (17:25 -0800)] 
FS-11037: [mod_lua] reduce logging levels

7 years agoFS-11036: [mod_rtmp] No audio on rtmp clients #resolve
Brian West [Thu, 15 Mar 2018 17:43:02 +0000 (12:43 -0500)] 
FS-11036: [mod_rtmp] No audio on rtmp clients #resolve

7 years agoFS-11031: [mod_conference] refresh and keyframes sent too often in multi-canvas mode...
Anthony Minessale [Wed, 14 Mar 2018 18:40:08 +0000 (13:40 -0500)] 
FS-11031: [mod_conference] refresh and keyframes sent too often in multi-canvas mode #resolve

7 years agoFS-9753: [mod_sofia] Fix crash when accessing the WSS interface via regular HTTPS
Andrey Volk [Sat, 17 Feb 2018 12:34:33 +0000 (15:34 +0300)] 
FS-9753: [mod_sofia] Fix crash when accessing the WSS interface via regular HTTPS

Conflicts:
libs/sofia-sip/.update

7 years agoFS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve
Brian West [Tue, 6 Feb 2018 20:25:29 +0000 (14:25 -0600)] 
FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning  #resolve

7 years agoFS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve
Brian West [Fri, 2 Feb 2018 03:32:14 +0000 (21:32 -0600)] 
FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning  #resolve

7 years agoFS-10926: [mod_sofia] fix crash from malformed as-feature-event subscribe messae...
Mike Jerris [Mon, 29 Jan 2018 19:39:41 +0000 (13:39 -0600)] 
FS-10926: [mod_sofia] fix crash from malformed as-feature-event subscribe messae with malformed xml

7 years agoFS-10880: [mod_sofia] SIP INFO DTMF method not working on b-leg #resolve
Brian West [Mon, 22 Jan 2018 21:50:39 +0000 (15:50 -0600)] 
FS-10880: [mod_sofia] SIP INFO DTMF method not working on b-leg #resolve

7 years agoFS-10904: [core] DTMF only works from one phone during shared call (SCA) #resolve
Brian West [Tue, 16 Jan 2018 18:41:50 +0000 (12:41 -0600)] 
FS-10904: [core] DTMF only works from one phone during shared call (SCA) #resolve

7 years agoFS-10908: [mod_amqp] AMQP routing key (format_fields) formation broke and invalid...
Brian West [Tue, 16 Jan 2018 15:01:13 +0000 (09:01 -0600)] 
FS-10908: [mod_amqp] AMQP routing key (format_fields) formation broke and invalid reads reported by valgrind #resolve

7 years agoFS-10899: [core] 3pcc-mode=proxy is proxying SDP in the 200OK with late offer invites...
Brian West [Sat, 13 Jan 2018 21:56:10 +0000 (15:56 -0600)] 
FS-10899: [core] 3pcc-mode=proxy is proxying SDP in the 200OK with late offer invites #resolve

7 years agoFS-10903: [mod_sofia,mod_valet_parking] Fix Issue with subscriptions and Valet Parkin...
Brian West [Sat, 13 Jan 2018 21:46:39 +0000 (15:46 -0600)] 
FS-10903: [mod_sofia,mod_valet_parking] Fix Issue with subscriptions and Valet Parking #resolve

7 years agoFS-10897: [mod_verto] Possible crash in verto during error condition #resolve
Anthony Minessale [Fri, 12 Jan 2018 06:40:50 +0000 (00:40 -0600)] 
FS-10897: [mod_verto] Possible crash in verto during error condition #resolve

7 years agoFS-10896: [freeswitch-core] Parse error on originate syntax with nested square bracke...
Anthony Minessale [Fri, 12 Jan 2018 06:37:35 +0000 (00:37 -0600)] 
FS-10896: [freeswitch-core] Parse error on originate syntax with nested square brackets #resolve

7 years agoFS-10894: [Packaging-Debian] Update maintiner
Brian West [Fri, 12 Jan 2018 00:44:22 +0000 (18:44 -0600)] 
FS-10894: [Packaging-Debian] Update maintiner

7 years agoFS-10893: [mod_conference] Add more banner text params #resolve
Anthony Minessale [Thu, 11 Jan 2018 21:02:39 +0000 (15:02 -0600)] 
FS-10893: [mod_conference] Add more banner text params #resolve

7 years agoFS-10883: [mod_conference] Conference member can get stuck read locked #resolve
Anthony Minessale [Wed, 10 Jan 2018 20:51:02 +0000 (14:51 -0600)] 
FS-10883: [mod_conference] Conference member can get stuck read locked #resolve

7 years agoFS-10871: [mod_conference] Zoomed layouts do not auto-center in mod_conference #resolve
Anthony Minessale [Fri, 5 Jan 2018 04:12:57 +0000 (22:12 -0600)] 
FS-10871: [mod_conference] Zoomed layouts do not auto-center in mod_conference #resolve

7 years agoFS-10865: [mod_conference] conference transfer event reports incorrect info in New...
Brian West [Wed, 3 Jan 2018 00:40:08 +0000 (18:40 -0600)] 
FS-10865: [mod_conference] conference transfer event reports incorrect info in New-Conference-Name #resolve

7 years agoFS-10749: [mod_amqp] Crash on unload after mod_amqp reloaded with command + incorrec...
Brian West [Wed, 3 Jan 2018 00:38:45 +0000 (18:38 -0600)] 
FS-10749: [mod_amqp] Crash on unload after mod_amqp reloaded with  command + incorrect command behavior #resolve

7 years agoFS-10867: [freeswitch-core] Prevent stack smash when queing multiple sound files...
Brian West [Wed, 3 Jan 2018 00:37:23 +0000 (18:37 -0600)] 
FS-10867: [freeswitch-core] Prevent stack smash when queing multiple sound files without event-lock #resolve

7 years agoFS-10862: [freeswitch-core] Updates on webrtc to keep up with browsers #resolve
Anthony Minessale [Fri, 29 Dec 2017 22:04:44 +0000 (16:04 -0600)] 
FS-10862: [freeswitch-core] Updates on webrtc to keep up with browsers #resolve

7 years agoFS-10860: [core] Distorted music when playing it as local stream into a conference...
Anthony Minessale [Wed, 27 Dec 2017 21:43:13 +0000 (15:43 -0600)] 
FS-10860: [core] Distorted music when playing it as local stream into a conference as hold music #resolve

7 years agoFS-10854: [mod_conference] Canvas FG Image not refreshed before writing to video...
Anthony Minessale [Wed, 20 Dec 2017 18:46:57 +0000 (12:46 -0600)] 
FS-10854: [mod_conference] Canvas FG Image not refreshed before writing to video recordings #resolve

7 years agoFS-10243: [mod_conference] Add conference variables
Anthony Minessale [Thu, 14 Dec 2017 18:46:00 +0000 (12:46 -0600)] 
FS-10243: [mod_conference] Add conference variables

7 years agoFS-10840: [mod_sofia] max-registrations-per-extension parameter is not multi-tennant
Brian West [Thu, 14 Dec 2017 16:07:10 +0000 (10:07 -0600)] 
FS-10840: [mod_sofia] max-registrations-per-extension parameter is not multi-tennant

7 years agotweak av and ensure first image write at pts = 0 to avoid a black screen
Seven Du [Sun, 10 Dec 2017 02:56:48 +0000 (10:56 +0800)] 
tweak av and ensure first image write at pts = 0 to avoid a black screen

7 years agoFS-10890: [mod_av] Wrongly calculated delta_tmp for end of video file recording ...
Anthony Minessale [Thu, 7 Dec 2017 05:20:39 +0000 (23:20 -0600)] 
FS-10890: [mod_av] Wrongly calculated delta_tmp for end of video file recording #resolve

7 years agoFS-10821: [mod_conference] fix arg parser in file vol command in conference #resolve
Anthony Minessale [Thu, 30 Nov 2017 22:16:31 +0000 (16:16 -0600)] 
FS-10821: [mod_conference] fix arg parser in file vol command in conference #resolve

7 years agofix split slice
Seven Du [Wed, 29 Nov 2017 05:11:13 +0000 (13:11 +0800)] 
fix split slice

7 years agoFS-10892: [mod_av] Lip Sync Improvements #resolve
Brian West [Wed, 29 Nov 2017 20:27:00 +0000 (14:27 -0600)] 
FS-10892: [mod_av] Lip Sync Improvements #resolve

7 years agoFS-10891: [mod_conference] Refactor mux video to be smoother #resolve
Anthony Minessale [Tue, 28 Nov 2017 23:44:27 +0000 (17:44 -0600)] 
FS-10891: [mod_conference] Refactor mux video to be smoother #resolve

7 years agoFS-10802: [mod_conference] Convert conference floor to id based
Anthony Minessale [Tue, 28 Nov 2017 20:14:15 +0000 (14:14 -0600)] 
FS-10802: [mod_conference] Convert conference floor to id based

7 years agoFS-10769: [mod_av,mod_conference] Lipsync issues in conference recording
Anthony Minessale [Tue, 28 Nov 2017 00:08:14 +0000 (18:08 -0600)] 
FS-10769: [mod_av,mod_conference] Lipsync issues in conference recording

7 years agoFS-10802: [mod_conference] Convert conference floor to id based
Anthony Minessale [Tue, 28 Nov 2017 00:07:22 +0000 (18:07 -0600)] 
FS-10802: [mod_conference] Convert conference floor to id based

7 years agoFS-10802: [mod_conference] Convert conference floor to id based
Anthony Minessale [Mon, 27 Nov 2017 18:56:51 +0000 (12:56 -0600)] 
FS-10802: [mod_conference] Convert conference floor to id based

7 years agoFS-10803: [mod_conference] Add support for alternate video layout config per conferen...
Anthony Minessale [Wed, 22 Nov 2017 20:21:50 +0000 (14:21 -0600)] 
FS-10803: [mod_conference] Add support for alternate video layout config per conference profile

7 years agoFS-10803: [mod_conference] Add support for alternate video layout config per conferen...
Anthony Minessale [Wed, 22 Nov 2017 00:40:59 +0000 (18:40 -0600)] 
FS-10803: [mod_conference] Add support for alternate video layout config per conference profile #resolve

7 years agoFS-10802: [mod_conference] Convert conference floor to id based #resolve
Anthony Minessale [Tue, 21 Nov 2017 23:21:21 +0000 (17:21 -0600)] 
FS-10802: [mod_conference] Convert conference floor to id based #resolve

7 years agoremove hack for chrome we don't need anymore
Anthony Minessale [Tue, 21 Nov 2017 23:18:04 +0000 (17:18 -0600)] 
remove hack for chrome we don't need anymore

7 years agoFS-8761: [freeswitch-core] Memory leak in FreeSWITCH
Anthony Minessale [Mon, 20 Nov 2017 21:23:54 +0000 (15:23 -0600)] 
FS-8761: [freeswitch-core] Memory leak in FreeSWITCH

7 years agoFS-10799: [mod_commands] Add toupper and tolower api funcs #resolve
Anthony Minessale [Mon, 20 Nov 2017 04:34:24 +0000 (22:34 -0600)] 
FS-10799: [mod_commands] Add toupper and tolower api funcs #resolve

7 years agoFS-10762: [freeswitch-core] Websocket logic error #resolve
Anthony Minessale [Tue, 14 Nov 2017 18:28:25 +0000 (12:28 -0600)] 
FS-10762: [freeswitch-core] Websocket logic error #resolve

7 years agoFS-10762: [freeswitch-core] Websocket logic error
Anthony Minessale [Mon, 13 Nov 2017 19:49:23 +0000 (13:49 -0600)] 
FS-10762: [freeswitch-core] Websocket logic error

7 years agoFS-10770: [freeswitch-core] Make nack buffer bigger by default
Anthony Minessale [Tue, 7 Nov 2017 18:14:52 +0000 (12:14 -0600)] 
FS-10770: [freeswitch-core] Make nack buffer bigger by default

7 years agoFS-10770: [freeswitch-core] Make nack buffer bigger by default
Anthony Minessale [Thu, 2 Nov 2017 19:50:02 +0000 (14:50 -0500)] 
FS-10770: [freeswitch-core] Make nack buffer bigger by default

7 years agoFS-10762: [freeswitch-core] Websocket logic error #resolve
Anthony Minessale [Tue, 31 Oct 2017 03:10:59 +0000 (22:10 -0500)] 
FS-10762: [freeswitch-core] Websocket logic error #resolve

7 years agoFS-10778: Fix for MKI regression introduced in FS-10778
Piotr Gregor [Tue, 2 Jan 2018 20:09:44 +0000 (20:09 +0000)] 
FS-10778: Fix for MKI regression introduced in FS-10778

7 years agoswigall
Mike Jerris [Wed, 27 Dec 2017 22:21:30 +0000 (16:21 -0600)] 
swigall

7 years agoFS-10853: Fix failed build for mod_dingaling
Piotr Gregor [Wed, 20 Dec 2017 18:31:50 +0000 (18:31 +0000)] 
FS-10853: Fix failed build for mod_dingaling

Fixes build but must be tested at runtime.

7 years agoFS-10843: [freeswitch-core] Tweak RTP write timing #resolve
Anthony Minessale [Wed, 13 Dec 2017 22:23:27 +0000 (16:23 -0600)] 
FS-10843: [freeswitch-core] Tweak RTP write timing #resolve

7 years agoFS-10778: Evaluate rtp_secure_media_mki variable with switch_channel_var_true
Piotr [Tue, 5 Dec 2017 15:34:52 +0000 (15:34 +0000)] 
FS-10778: Evaluate rtp_secure_media_mki variable with switch_channel_var_true

Previously rtp_secure_media_mki channel variable was checked only
for existence, now it is checked if it's defined and evaluates
to true with switch_channel_var_true().

7 years agoFS-10823: [mod_sofia] curly brackets on SDP header causes FS to crash #resolve
Anthony Minessale [Mon, 4 Dec 2017 19:29:59 +0000 (13:29 -0600)] 
FS-10823: [mod_sofia] curly brackets on SDP header causes FS to crash #resolve

7 years agoFS-10778: Fix compilation and refactor code
Piotr [Mon, 4 Dec 2017 15:22:43 +0000 (15:22 +0000)] 
FS-10778: Fix compilation and refactor code

Prefer break over indent.

if (!p) {
    break;
}

// the code...

over

if (p) {
    // the
    // code
    // ...
}

7 years agoFS-10778: fix MKI compile error
Mike Jerris [Fri, 1 Dec 2017 21:10:50 +0000 (15:10 -0600)] 
FS-10778: fix MKI compile error

7 years agoFS-10778: Add support for MKI to SRTP
Piotr Gregor [Fri, 10 Nov 2017 21:30:47 +0000 (21:30 +0000)] 
FS-10778: Add support for MKI to SRTP

MKI support for SRTP has been tested on calls to/from
Telnyx's Skype for Business from/to local extension registered to FS
and between Skype for Business clients connected to FreeSWITCH.

SfB -> FreeSWITCH -> User 1004
   SRTP           RTP
   with
   MKI

SfB <- FreeSWITCH <- User 1004
   SRTP           RTP

SfB <-> FreeSWITCH <-> SfB
 SRTP/MKI      SRTP/MKI

Channel variable "rtp_secure_media_mki" was added to drive offering
of MKI on outbound SRTP from FS.

How to use rtp_secure_media_mki

Set rtp_secure_media_mki=true to offer MKI for outgoing SRTP (if SRTP is used) in inbound call.
Export rtp_secure_media=true to offer MKI for outgoing SRTP (if SRTP is used) on outbound call.
... or set it in the codec string for bridged calls

<action application="set" data="rtp_secure_media_mki=true"/>

<action application="export" data="rtp_secure_media_mki=true"/>

<action application="bridge" data="[absolute_codec_string=^^:PCMU:PCMA:G729,rtp_secure_media=true,rtp_secure_media_mki=true]sofia/external/+12404373253@169.55.36.24:5060;transport=tls"/>

EXAMPLES

1. Set example

 57     <extension name="telnyx_test_1_2">
 58         <condition field="destination_number" expression="^(0012404373253)$">
 59             <action application="set" data="rtp_secure_media=true"/>
 60             <action application="set" data="rtp_secure_media_mki=true"/>
 61             <action application="answer"/>
 62             <action application="bridge" data="user/1004@${domain_name}"/>
 63       </condition>
 64   </extension>

Description: SRTP will be used on outbound leg in incoming call due to rtp_secure_media=true
set and MKI will be offered in SDP. SRTP will not be used on a bridged call to extension 1004.

2. Export example

 75   <extension name="to_skype_for_business">
 76       <condition field="destination_number" expression="^(840531022)$">
 77           <action application="set" data="rtp_secure_media=optional"/>
 78           <action application="export" data="rtp_secure_media_mki=true"/>
 79           <action application="bridge" data="[absolute_codec_string=^^:PCMU:PCMA:G729,rtp_secure_media=true]sofia/external/+12404373728@169.55.36.24:5060;transport=tls"/>
 80       </condition>
 81   </extension>

Description: SRTP on inbound call has been set to optional therefore MKI will be used
on outbound SRTP in this call if SRTP is used at all. SRTP will be used on a bridged call
due to rtp_secure_media=true set in codec string and MKI will be used in offering SDP.

3. Bridging between Skype for Business clients: set

 97     <extension name="S4B_fs_S4B">
 98         <condition field="destination_number" expression="^(0012404373254)$">
 99             <action application="set" data="rtp_secure_media=true"/>
100             <action application="set" data="rtp_secure_media_mki=true"/>
101             <action application="bridge" data="[absolute_codec_string=^^:PCMU:PCMA:G729,rtp_secure_media=true]sofia/external/+12404373253@169.55.36.$
102       </condition>
103   </extension>

Result:
2017-11-27 19:00:26.977704 [NOTICE] switch_ivr_originate.c:527 Ring Ready sofia/external/+12404373728@telnyxlab.com!
2017-11-27 19:00:32.657687 [NOTICE] switch_core_media.c:1534 Skipping MKI due to empty index
2017-11-27 19:00:32.657687 [INFO] switch_rtp.c:4079 Activating audio Secure RTP SEND
2017-11-27 19:00:32.657687 [INFO] switch_rtp.c:4057 Activating audio Secure RTP RECV
2017-11-27 19:00:32.657687 [NOTICE] sofia.c:8419 Channel [sofia/external/%2B12404373253@169.55.36.24:5060] has been answered
2017-11-27 19:00:35.317702 [INFO] switch_rtp.c:4079 Activating audio Secure RTP SEND (with MKI)
2017-11-27 19:00:35.317702 [INFO] switch_rtp.c:4057 Activating audio Secure RTP RECV (with MKI)
2017-11-27 19:00:35.317702 [NOTICE] sofia_media.c:92 Pre-Answer sofia/external/+12404373728@telnyxlab.com!

Description: SRTP with MKI is used on outbound leg of inbound call (due to use on inbound leg of this call and "set").
Standard SRTP is used in both legs of outbound call, because rtp_secure_media_mki wasn't exported
or set in codec string for the outbound call.

4. Bridging between Skype for Business clients: Set and export

 97     <extension name="S4B_fs_S4B">
 98         <condition field="destination_number" expression="^(0012404373254)$">
 99             <action application="set" data="rtp_secure_media=true"/>
100             <action application="set" data="rtp_secure_media_mki=true"/>
101             <action application="export" data="rtp_secure_media_mki=true"/>
102             <action application="bridge" data="[absolute_codec_string=^^:PCMU:PCMA:G729,rtp_secure_media=true]sofia/external/+12404373253@169.55.36.24:5060;transport=tls"/>
103       </condition>
104   </extension>

Result:
2017-11-27 18:51:29.017689 [NOTICE] switch_ivr_originate.c:527 Ring Ready sofia/external/+12404373728@telnyxlab.com!
2017-11-27 18:51:35.097729 [INFO] switch_rtp.c:4079 Activating audio Secure RTP SEND (with MKI)
2017-11-27 18:51:35.097729 [INFO] switch_rtp.c:4057 Activating audio Secure RTP RECV (with MKI)
2017-11-27 18:51:35.097729 [NOTICE] sofia.c:8419 Channel [sofia/external/%2B12404373253@169.55.36.24:5060] has been answered
2017-11-27 18:51:37.797706 [INFO] switch_rtp.c:4079 Activating audio Secure RTP SEND (with MKI)
2017-11-27 18:51:37.797706 [INFO] switch_rtp.c:4057 Activating audio Secure RTP RECV (with MKI)

Description: Connecting Skype For Business client to Skype for Business client.
Send SRTP with MKI in both outbound streams:
- for inbound call: MKI was offered in incoming call and enabled for outbound leg with "set"
- for outbound call: MKI was enabled with "export"

5. Other examples

Setup to use SRTP with MKI only on the inbound SRTP on incoming call from Telnyx SfB
Tested dialing 0012404373253 from SfB to FS, leg SfB <-> FS uses SRTP with MKI
on inbound SRTP only

57     <extension name="telnyx_test_1_2">
58         <condition field="destination_number" expression="^(0012404373253)$">
59              <action application="set" data="rtp_secure_media=true"/>
61              <action application="answer"/>
62              <action application="bridge" data="user/1004@${domain_name}"/>
63       </condition>
64   </extension>

Result:
2017-11-23 20:44:35.406026 [INFO] mod_dialplan_xml.c:637 Processing Test02 <+12404373728>->0012404373253 in context public
2017-11-23 20:44:38.566022 [INFO] switch_rtp.c:4107 Activating audio Secure RTP SEND
2017-11-23 20:44:38.566022 [INFO] switch_rtp.c:4085 Activating audio Secure RTP RECV (with MKI)

Setup to send and receive SRTP with MKI on incoming call from Telnyx SfB
Tested dialing 0012404373253 from SfB to FS, leg SfB <-> FS uses SRTP with MKI
in both directions

57     <extension name="telnyx_test_1_2">
58         <condition field="destination_number" expression="^(0012404373253)$">
59      <action application="set" data="rtp_secure_media=true"/>
60      <action application="set" data="rtp_secure_media_mki"/>
61      <action application="answer"/>
62      <action application="bridge" data="user/1004@${domain_name}"/>
63       </condition>
64   </extension>

Result:
2017-11-23 20:42:06.026034 [INFO] mod_dialplan_xml.c:637 Processing Test02 <+12404373728>->0012404373253 in context public
2017-11-23 20:42:09.526034 [INFO] switch_rtp.c:4107 Activating audio Secure RTP SEND (with MKI)
2017-11-23 20:42:09.526034 [INFO] switch_rtp.c:4085 Activating audio Secure RTP RECV (with MKI)

Setup to offer MKI on outbound call to extension 1001 (X-Lite -> FS -> linphone)
Tested dialing 0012404373253 from user 1004, leg FS <-> 1001 uses SRTP with MKI

782     <extension name="telnyx_test_1_2">
783         <condition field="destination_number" expression="^(0012404373253)$">
784             <action application="export" data="rtp_secure_media_outbound=true"/>
785             <action application="export" data="rtp_secure_media_mki"/>
786             <action application="answer"/>
797             <action application="bridge" data="user/1001@${domain_name}"/>
798       </condition>
799   </extension>

Result:
2017-11-23 20:23:26.266034 [INFO] mod_dialplan_xml.c:637 Processing 1000 windows <1000>->0012404373253 in context default
2017-11-23 20:23:26.366035 [INFO] switch_rtp.c:4107 Activating audio Secure RTP SEND (with MKI)
2017-11-23 20:23:26.366035 [INFO] switch_rtp.c:4085 Activating audio Secure RTP RECV

SfB sometimes offers crypto with LIFETIME but no MKI index, e.g.:
a=crypto:5 AES_CM_128_HMAC_SHA1_80 inline:9OtFWi17H9E8ywlm0iazemjAqXu2RhJ3DZyo+VLJ|2^31

Defaulting to no-mki SRTP in case key material doesn't contain MKI index.

7 years agoFS-8761: [freeswitch-core] Memory leak in FreeSWITCH
Anthony Minessale [Mon, 20 Nov 2017 21:23:54 +0000 (15:23 -0600)] 
FS-8761: [freeswitch-core] Memory leak in FreeSWITCH

7 years agoFS-10762: [freeswitch-core] Websocket logic error #resolve
Anthony Minessale [Tue, 14 Nov 2017 18:28:25 +0000 (12:28 -0600)] 
FS-10762: [freeswitch-core] Websocket logic error #resolve

7 years agoFS-10762: [freeswitch-core] Websocket logic error
Anthony Minessale [Mon, 13 Nov 2017 19:49:23 +0000 (13:49 -0600)] 
FS-10762: [freeswitch-core] Websocket logic error

7 years agoFS-10784: [freeswitch-core] Make Users lists compatible with all forms of xml #resolve
Anthony Minessale [Mon, 13 Nov 2017 19:32:23 +0000 (13:32 -0600)] 
FS-10784: [freeswitch-core] Make Users lists compatible with all forms of xml #resolve

7 years agoMerge pull request #1503 in FS/freeswitch from ~SERGIOKALMIK/freeswitch:bugfix/FS...
Italo Rossi [Mon, 23 Jul 2018 20:59:30 +0000 (20:59 +0000)] 
Merge pull request #1503 in FS/freeswitch from ~SERGIOKALMIK/freeswitch:bugfix/FS-11088-mod_verto-verto-status-showing-running to master

* commit '18f11c7c6d2569ed23df118f14acab2be783601b':
  FS-11088: Fixing verto status api

7 years agoMerge pull request #1536 in FS/freeswitch from ~MARCELL-G/freeswitch:bugfix/FS-11236...
Brian West [Thu, 19 Jul 2018 22:44:37 +0000 (22:44 +0000)] 
Merge pull request #1536 in FS/freeswitch from ~MARCELL-G/freeswitch:bugfix/FS-11236-sync-tag-with-localtag-video-device-streaming to master

* commit '15227e01f27d87ec0657452412d1398373f6899c':
  FS-11236 [verto_communicator] call useCamera property on video constraints

7 years agoMerge pull request #1537 in FS/freeswitch from ~MARCELL-G/freeswitch:bugfix/FS-11262...
Anthony Minessale II [Thu, 19 Jul 2018 18:32:22 +0000 (18:32 +0000)] 
Merge pull request #1537 in FS/freeswitch from ~MARCELL-G/freeswitch:bugfix/FS-11262-vertojs-undefined-wsfallback to master

* commit 'ee1418a5cab7568b7d61c7c844f7b1fcf075fcc3':
  FS-11262 [verto_communicator] prevent vertojs from stop retrying socket connection by undefined socketfallbackurl

7 years agoFS-11262 [verto_communicator] prevent vertojs from stop retrying socket connection...
Marcell Guilherme Costa da Silva [Thu, 19 Jul 2018 18:21:51 +0000 (15:21 -0300)] 
FS-11262 [verto_communicator] prevent vertojs from stop retrying socket connection by undefined socketfallbackurl

7 years agoFS-11236 [verto_communicator] call useCamera property on video constraints
Marcell Guilherme Costa da Silva [Wed, 18 Jul 2018 20:58:16 +0000 (17:58 -0300)] 
FS-11236 [verto_communicator] call useCamera property on video constraints

7 years agoMerge pull request #1535 in FS/freeswitch from ~NETOGUIMARAES/freeswitch:fix/deprecat...
Brian West [Fri, 13 Jul 2018 19:20:47 +0000 (19:20 +0000)] 
Merge pull request #1535 in FS/freeswitch from ~NETOGUIMARAES/freeswitch:fix/deprecating_create_url to master

* commit 'fc6661ccb31bff245465a29ab0cc89db6d8c2fa2':
  FS-11229 - [verto_communicator]: deprecating use of URL.createObjectURL

7 years agoFS-11230: [core] Fix bad rtp timestamps triggered by cng/missed packet detection
Mike Jerris [Fri, 13 Jul 2018 19:18:35 +0000 (15:18 -0400)] 
FS-11230: [core] Fix bad rtp timestamps triggered by cng/missed packet detection

7 years agoFS-11230: [core] Fix bad rtp timestamps triggered by cng/missed packet detection
Mike Jerris [Fri, 13 Jul 2018 19:13:24 +0000 (15:13 -0400)] 
FS-11230: [core] Fix bad rtp timestamps triggered by cng/missed packet detection

7 years agoFS-11229 - [verto_communicator]: deprecating use of URL.createObjectURL
netoguimaraes [Fri, 13 Jul 2018 17:59:57 +0000 (14:59 -0300)] 
FS-11229 - [verto_communicator]: deprecating use of URL.createObjectURL

7 years agoMerge pull request #1534 in FS/freeswitch from ~NETOGUIMARAES/freeswitch:feat/stops_l...
Brian West [Thu, 12 Jul 2018 14:07:10 +0000 (14:07 +0000)] 
Merge pull request #1534 in FS/freeswitch from ~NETOGUIMARAES/freeswitch:feat/stops_localStream to master

* commit '49b8cc3a3ef5d41090a6b697009fa190d2cc7ad8':
  FS-11227 - [verto_communicator]: stops localVideoStream tracks properly

7 years agoFS-11227 - [verto_communicator]: stops localVideoStream tracks properly
netoguimaraes [Wed, 11 Jul 2018 18:49:02 +0000 (15:49 -0300)] 
FS-11227 - [verto_communicator]: stops localVideoStream tracks properly

7 years agoMerge pull request #1531 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:feat...
Mike Jerris [Fri, 6 Jul 2018 16:03:34 +0000 (16:03 +0000)] 
Merge pull request #1531 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:feat/wss_fallbacks to master

* commit '68e256597ad7993d1786aedeb6680dc752c1dd88':
  FS-11211 - [verto_communicator]: Adding turnServer and socketFallbackUrl options.

7 years agoFS-11211 - [verto_communicator]: Adding turnServer and socketFallbackUrl options.
netoguimaraes [Thu, 28 Jun 2018 20:40:34 +0000 (17:40 -0300)] 
FS-11211 - [verto_communicator]: Adding turnServer and socketFallbackUrl options.

7 years agoMerge pull request #1529 in FS/freeswitch from ~S3RJ1K/freeswitch:master to master
Mike Jerris [Tue, 19 Jun 2018 17:32:42 +0000 (17:32 +0000)] 
Merge pull request #1529 in FS/freeswitch from ~S3RJ1K/freeswitch:master to master

* commit 'd6adc30781a3e594ba38909b9b2cff8cfbf9c846':
  FS-11198: [Debian] install fonts to the correct location

7 years agoFS-11198: [Debian] install fonts to the correct location
Serj [Tue, 19 Jun 2018 16:23:21 +0000 (16:23 +0000)] 
FS-11198: [Debian] install fonts to the correct location

7 years agoFI-393 [fs_cli banner] this commit changes the text on the fs_cli banner
Muteesa Fred [Thu, 14 Jun 2018 19:38:05 +0000 (19:38 +0000)] 
FI-393 [fs_cli banner] this commit changes the text on the fs_cli banner