Commit Graph

20189 Commits

Author SHA1 Message Date
Andrey Volk 5c04c4ad6b FS-11082: [Build-System] Add mod_odbc_cdr to the Windows build. 2018-07-24 07:21:46 +00:00
Andrey Volk 50d38ba36c FS-10980: [mod_lua] Update lua version to 5.3.4 and move it to pre-compiled binaries on Windows. 2018-07-24 07:21:46 +00:00
Anthony Minessale 00f14981b4 FS-11070: [mod_conference] Improve video bridge first two for mux mode -- add support for files playing in this mode #resolve 2018-07-24 07:21:46 +00:00
Anthony Minessale f33aa1a859 FS-11070: [mod_conference] Improve video bridge first two for mux mode #resolve 2018-07-24 07:21:46 +00:00
Anthony Minessale d8c3b3ab66 FS-11068: [mod_conference] Avatar members not supported on personal canvas leading to miscount #resolve 2018-07-24 07:21:46 +00:00
Anthony Minessale d3aee10e28 FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:46 +00:00
Anthony Minessale 2a82d401a6 FS-11034: [mod_conference] Add border control to video #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale b272c5e521 FS-11031: [mod_conference] refresh and keyframes sent too often in multi-canvas mode #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale 054229fb68 FS-11021: [mod_conference] Add video mirror #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale b048830414 FS-11017: [mod_conference] Add moh controls to conference #resolve 2018-07-24 07:21:45 +00:00
Brian West ada117fb73 FS-10967: [mod_conference] chan var "conference_enter_sound" not working, only work when profile param active and being overridden #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale 5199939f48 FS-10893: [mod_conference] Add more banner text params #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale d6abe0e9eb tmp revert 2018-07-24 07:21:45 +00:00
Anthony Minessale 9d9af7c153 FS-10883: [mod_conference] Conference member can get stuck read locked #resolve 2018-07-24 07:21:45 +00:00
Anthony Minessale 2a6990a7e0 rewind 2018-07-24 07:21:44 +00:00
Anthony Minessale 7ca8eec496 rewind 2018-07-24 07:21:44 +00:00
Anthony Minessale 9140aba9f9 Revert "FS-11057: [mod_conference] CPU race on personal canvas #resolve"
This reverts commit 7acc94be97.
2018-07-24 07:21:44 +00:00
Anthony Minessale e7dc398a1f Revert "FS-11070: [mod_conference] Improve video bridge first two for mux mode -- add support for files playing in this mode #resolve"
This reverts commit 04296b5708.
2018-07-24 07:21:44 +00:00
Andrey Volk d91374edde FS-11078: [Build-System] Add mod_say_(es_ar, fa, he, hr, hu, ja, pl, th) modules to the Windows build. 2018-07-24 07:21:44 +00:00
Anthony Minessale 20eb89dcb0 FS-11070: [mod_conference] Improve video bridge first two for mux mode -- add support for files playing in this mode #resolve 2018-07-24 07:21:44 +00:00
Andrey Volk cd0fdcd58b FS-11076: [mod_cdr_pg_csv] Add mod_cdr_pg_csv to the Windows build. 2018-07-24 07:21:44 +00:00
Andrey Volk fe9f2713b4 FS-11075: [mod_amqp] Add mod_amqp to the Windows build. 2018-07-24 07:21:44 +00:00
Anthony Minessale 443166dc2b FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:44 +00:00
Brian West 0e33e567e3 revert 2018-07-24 07:21:43 +00:00
Andrey Volk 49d19bffcd FS-11074: [Core, Build-System] Add PostgreSQL to the Freeswitch Core on Windows. 2018-07-24 07:21:43 +00:00
Anthony Minessale b12762dd5a FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:43 +00:00
Brian West b5a7b74b1c revert 2018-07-24 07:21:43 +00:00
Mike Jerris f193aff269 FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:43 +00:00
Anthony Minessale 9e3bbdd10c FS-11068: [mod_conference] Avatar members not supported on personal canvas leading to miscount #resolve 2018-07-24 07:21:43 +00:00
Anthony Minessale 89770f4522 FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:43 +00:00
Andrey Volk 52ac19c338 FS-11067: [Build-System] Improve windows build speed moving openssl to pre-compiled binaries. 2018-07-24 07:21:42 +00:00
Andrey Volk 24ef5b2762 FS-11065: [Build-System, mod_v8] Update libv8 to 6.1.298 on windows, speedup windows build by moving libv8 to pre-compiled binaries. 2018-07-24 07:21:42 +00:00
Andrey Volk 73d616a318 FS-10989: [core] Fix CUSTOM_HASH hash table race in switch_event logic causing crashes during bind to events. 2018-07-24 07:21:42 +00:00
Andrey Volk af29a31c7f 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. 2018-07-24 07:21:42 +00:00
Mike Jerris 634c92de7d swigall 2018-07-24 07:21:42 +00:00
Mike Jerris e58ff3392f FS-10853: remove extern that is no longer needed 2018-07-24 07:21:42 +00:00
Piotr Gregor f5090ae96b FS-11063 Use compile time constants in dtls_state_setup 2018-07-24 07:21:41 +00:00
Anthony Minessale 5272bbc83d FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:41 +00:00
ifox 8e362825de 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.
2018-07-24 07:21:41 +00:00
Anthony Minessale 230e2ba348 FS-11057: [mod_conference] CPU race on personal canvas #resolve 2018-07-24 07:21:41 +00:00
Sergey Khripchenko 94038f3c12 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
2018-07-24 07:21:41 +00:00
Piotr Gregor 3a502eaf6e 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.
2018-07-24 07:21:41 +00:00
Mike Jerris b496635a8c FS-11038: [mod_sofia] fix crash in gwlist api command 2018-07-24 07:21:40 +00:00
Mike Jerris 76795ac2e2 FS-10853: Fix unitialzed var 2018-07-24 07:21:40 +00:00
Ethan Atkins 4876cb76a7 FS-11037: [mod_lua] reduce logging levels 2018-07-24 07:21:40 +00:00
Brian West 422f348240 FS-11036: [mod_rtmp] No audio on rtmp clients #resolve 2018-07-24 07:21:40 +00:00
Anthony Minessale 0071435757 FS-11031: [mod_conference] refresh and keyframes sent too often in multi-canvas mode #resolve 2018-07-24 07:21:40 +00:00
Brian West a14dcfef3d FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve 2018-07-24 07:21:40 +00:00
Brian West 027ae79516 FS-10913: [mod_sofia] ignore_early_media=ring_ready not transitioning #resolve 2018-07-24 07:21:40 +00:00
Mike Jerris 94a094c5ef FS-10926: [mod_sofia] fix crash from malformed as-feature-event subscribe messae with malformed xml 2018-07-24 07:21:39 +00:00
Brian West adb813e089 FS-10880: [mod_sofia] SIP INFO DTMF method not working on b-leg #resolve 2018-07-24 07:21:39 +00:00
Brian West 228af00acb FS-10904: [core] DTMF only works from one phone during shared call (SCA) #resolve 2018-07-24 07:21:39 +00:00
Brian West 4fc7ee7720 FS-10908: [mod_amqp] AMQP routing key (format_fields) formation broke and invalid reads reported by valgrind #resolve 2018-07-24 07:21:39 +00:00
Brian West 433c2b6b89 FS-10899: [core] 3pcc-mode=proxy is proxying SDP in the 200OK with late offer invites #resolve 2018-07-24 07:21:39 +00:00
Brian West 352cc3526d FS-10903: [mod_sofia,mod_valet_parking] Fix Issue with subscriptions and Valet Parking #resolve 2018-07-24 07:21:39 +00:00
Anthony Minessale d9002f19a7 FS-10897: [mod_verto] Possible crash in verto during error condition #resolve 2018-07-24 07:21:39 +00:00
Anthony Minessale cfd7761e9f FS-10896: [freeswitch-core] Parse error on originate syntax with nested square brackets #resolve 2018-07-24 07:21:39 +00:00
Anthony Minessale 1745a36c98 FS-10893: [mod_conference] Add more banner text params #resolve 2018-07-24 07:21:38 +00:00
Anthony Minessale 6387cc1ffd FS-10883: [mod_conference] Conference member can get stuck read locked #resolve 2018-07-24 07:21:38 +00:00
Anthony Minessale 16a31c4be5 FS-10871: [mod_conference] Zoomed layouts do not auto-center in mod_conference #resolve 2018-07-24 07:21:38 +00:00
Brian West fe05bacb84 FS-10865: [mod_conference] conference transfer event reports incorrect info in New-Conference-Name #resolve 2018-07-24 07:21:38 +00:00
Brian West 243f9f33b6 FS-10749: [mod_amqp] Crash on unload after mod_amqp reloaded with command + incorrect command behavior #resolve 2018-07-24 07:21:38 +00:00
Brian West 291da11322 FS-10867: [freeswitch-core] Prevent stack smash when queing multiple sound files without event-lock #resolve 2018-07-24 07:21:38 +00:00
Anthony Minessale afde4b63bb FS-10860: [core] Distorted music when playing it as local stream into a conference as hold music #resolve 2018-07-24 07:21:38 +00:00
Anthony Minessale 2e66aceb14 FS-10854: [mod_conference] Canvas FG Image not refreshed before writing to video recordings #resolve 2018-07-24 07:21:37 +00:00
Anthony Minessale 586d3349a7 FS-10243: [mod_conference] Add conference variables 2018-07-24 07:21:37 +00:00
Brian West 31d9584f59 FS-10840: [mod_sofia] max-registrations-per-extension parameter is not multi-tennant 2018-07-24 07:21:37 +00:00
Seven Du a83990a5aa tweak av and ensure first image write at pts = 0 to avoid a black screen 2018-07-24 07:21:37 +00:00
Anthony Minessale 8fabf32f8f FS-10890: [mod_av] Wrongly calculated delta_tmp for end of video file recording #resolve 2018-07-24 07:21:37 +00:00
Anthony Minessale 683f59f38d FS-10821: [mod_conference] fix arg parser in file vol command in conference #resolve 2018-07-24 07:21:37 +00:00
Seven Du 2e449917b2 fix split slice 2018-07-24 07:21:37 +00:00
Brian West 105a291bb7 FS-10892: [mod_av] Lip Sync Improvements #resolve 2018-07-24 07:21:37 +00:00
Anthony Minessale 0d40025e09 FS-10891: [mod_conference] Refactor mux video to be smoother #resolve 2018-07-24 07:21:37 +00:00
Anthony Minessale 57daad7af8 FS-10802: [mod_conference] Convert conference floor to id based 2018-07-24 07:21:36 +00:00
Anthony Minessale 2c66f126d7 FS-10769: [mod_av,mod_conference] Lipsync issues in conference recording 2018-07-24 07:21:36 +00:00
Anthony Minessale 6bd169abc2 FS-10802: [mod_conference] Convert conference floor to id based 2018-07-24 07:21:36 +00:00
Anthony Minessale 86ae01462a FS-10802: [mod_conference] Convert conference floor to id based 2018-07-24 07:21:36 +00:00
Anthony Minessale 376cc03f58 FS-10803: [mod_conference] Add support for alternate video layout config per conference profile 2018-07-24 07:21:36 +00:00
Anthony Minessale b8744e4c6d FS-10803: [mod_conference] Add support for alternate video layout config per conference profile #resolve 2018-07-24 07:21:36 +00:00
Anthony Minessale 2b5b9341e7 FS-10802: [mod_conference] Convert conference floor to id based #resolve 2018-07-24 07:21:36 +00:00
Anthony Minessale 2e1f828363 remove hack for chrome we don't need anymore 2018-07-24 07:21:36 +00:00
Anthony Minessale bcd5753d17 FS-10799: [mod_commands] Add toupper and tolower api funcs #resolve 2018-07-24 07:21:35 +00:00
Anthony Minessale f3d8a3b07a FS-10762: [freeswitch-core] Websocket logic error 2018-07-24 07:21:35 +00:00
Anthony Minessale 247ac09792 FS-10770: [freeswitch-core] Make nack buffer bigger by default 2018-07-24 07:21:35 +00:00
Anthony Minessale 5a6f4679cd FS-10770: [freeswitch-core] Make nack buffer bigger by default 2018-07-24 07:21:35 +00:00
Anthony Minessale d395223fa2 FS-10762: [freeswitch-core] Websocket logic error #resolve 2018-07-24 07:21:35 +00:00
Piotr Gregor 333516c471 FS-10778: Fix for MKI regression introduced in FS-10778 2018-07-24 07:21:35 +00:00
Mike Jerris 177823f9c3 swigall 2018-07-24 07:21:35 +00:00
Piotr Gregor 03d8aa4e9a FS-10853: Fix failed build for mod_dingaling
Fixes build but must be tested at runtime.
2018-07-24 07:21:34 +00:00
Anthony Minessale 63f3531cdd FS-10843: [freeswitch-core] Tweak RTP write timing #resolve 2018-07-24 07:21:34 +00:00
Piotr a17993a22e 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().
2018-07-24 07:21:34 +00:00
Anthony Minessale 67b56343a2 FS-10823: [mod_sofia] curly brackets on SDP header causes FS to crash #resolve 2018-07-24 07:21:34 +00:00
Piotr b0106ac17f FS-10778: Fix compilation and refactor code
Prefer break over indent.

if (!p) {
    break;
}

// the code...

over

if (p) {
    // the
    // code
    // ...
}
2018-07-24 07:21:34 +00:00
Mike Jerris 477f3bc549 FS-10778: fix MKI compile error 2018-07-24 07:21:34 +00:00
Piotr Gregor 1fdd58f533 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.
2018-07-24 07:21:34 +00:00
Anthony Minessale 34f0ab58c1 FS-10762: [freeswitch-core] Websocket logic error #resolve 2018-07-24 07:21:33 +00:00
Anthony Minessale c5e662c9bc FS-10762: [freeswitch-core] Websocket logic error 2018-07-24 07:21:33 +00:00
Anthony Minessale 1064bb043c FS-10784: [freeswitch-core] Make Users lists compatible with all forms of xml #resolve 2018-07-24 07:21:33 +00:00
Italo Rossi 8f1b7e066e 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
2018-07-23 20:59:30 +00:00
Mike Jerris b1a3c704b7 FS-11230: [core] Fix bad rtp timestamps triggered by cng/missed packet detection 2018-07-13 15:18:35 -04:00
Mike Jerris 9e3da931e5 FS-11230: [core] Fix bad rtp timestamps triggered by cng/missed packet detection 2018-07-13 15:14:00 -04:00
Muteesa Fred 9fc898daac FI-393 [fs_cli banner] this commit changes the text on the fs_cli banner 2018-06-14 19:38:05 +00:00
Hunyadvári Péter 227a134978 FS-11176: [core] do not use previous codec if its not ready 2018-05-29 09:39:08 +02:00
Mike Jerris 3c7db639fd FS-11168: [core] fix compile error on gentoo from typo in assert statement 2018-05-16 17:12:08 -04:00
Mike Jerris ed4920e792 Merge pull request #1520 in FS/freeswitch from ~BOBMCCARTHY/freeswitch:bugfix/FS-10808-memory-leak-with-sla-registrations to master
* commit 'bdfc02f22793ee3fb2d02edaa970c34807fc1c3b':
  FS-10808 [mod_sofia] Fix memory leak in SLA
2018-05-04 14:37:06 +00:00
Mike Jerris d332efa6c9 Merge pull request #1471 in FS/freeswitch from ~ANTONIO/freeswitch:bugfix/FS-10775-segfault-switch_frame_buffer_push to master
* commit 'a0ae014dc130c97bac7d057ceabe84bcfb03fe7b':
  FS-10775 #resolve segfault switch_frame_buffer_push
2018-05-04 14:32:45 +00:00
Bob McCarthy bdfc02f227 FS-10808 [mod_sofia] Fix memory leak in SLA 2018-05-02 14:06:01 -06:00
Mike Jerris 8f10ae54a1 FS-11139: [mod_commands] add tab completion for uuid_pause command 2018-04-26 09:09:48 -05:00
Piotr Gregor 80cd1fa422 FS-11120 Handle invalid configs for avmd
This makes sure avmd session uses default values for global settings
if configuration parameters are invalid or missing.
Also add more printing for avmd. Avmd will now report media
bug direction READ_REPLACE/WRITE_REPLACE it has been started on,
and each frame it is processing if debug==1.
This also fixes confusing log on session stopped reported in FS-10732.
2018-04-18 18:01:17 +01:00
antonio a0ae014dc1 FS-10775 #resolve segfault switch_frame_buffer_push 2018-04-13 18:49:13 +02:00
Marc Olivier Chouinard 6d1eabc7a1 FS-11108: [mod_commands] Fix segfault with list_users command 2018-04-12 19:14:17 -04:00
Mike Jerris 192a232c23 Merge pull request #1357 in FS/freeswitch from ~KOVALYSHYN/freeswitch:feature/FS-9096-implement-to-set-own-jobid-for-tap.commands to master
* commit '28db1ede0629bfa1d63650fabba8b31f4e79eb05':
  FS-9096: [mod_commands] new uuid argument for bgapi
2018-04-09 21:55:56 +00:00
Mike Jerris 2042933407 Merge pull request #1501 in FS/freeswitch from ~ALEX_SIBYAKIN/freeswitch:bugfix/FS-10119-compiling-mod_h323 to master
* commit '72c625dfb95a2778bd985396552d3f62b142c7c9':
  FS-10119 [mod_h323] Patch from issue
2018-04-09 16:41:54 +00:00
Mike Jerris 890b558c9f Merge pull request #1505 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11100 to master
* commit '320f7d6b8cf469e44fcb5f3ad85ed085eab1b09a':
  FS-11100 [mod_conference] export variables for conference_outcall_bg
2018-04-09 14:58:55 +00:00
lazedo 320f7d6b8c FS-11100 [mod_conference] export variables for conference_outcall_bg 2018-04-09 01:13:58 +01:00
lazedo c4772b5bf0 FS-11099 [mod_conference] provide profile name when requesting for
caller-controls
2018-04-09 01:10:40 +01:00
Mike Jerris e2231715f4 Merge pull request #1494 in FS/freeswitch from ~HUNYI/freeswitch:feature/FS-11046-better-logging-for-rename_function to master
* commit '74f47cb0eddf42bcf37c5b8fef225f95f51cabc6':
  FS-11046: [mod_dptools] Better logging for rename_function
2018-04-06 20:52:47 +00:00
Mike Jerris 0b97c68f3d Merge pull request #1500 in FS/freeswitch from ~HUNYI/freeswitch:feature/FS-8893-add-variables-to-sofia-register-unregister to master
* commit 'bec68edb16b795bed0dbdd95a09999eb4850d82e':
  FS-8893: [mod_sofia] Add variables to sofia::register/unregister events
2018-04-06 20:48:42 +00:00
Mike Jerris 938ec99950 Merge pull request #1485 in FS/freeswitch from ~DIASBRUNO/freeswitch:bugfix/FS-10777-freeswitch-failing-to-link-to-process to master
* commit 'ab97ad0b5f3093e94377ae568aeeba0ccea5813d':
  FS-10777 [mod_erlang_event] #resolve
2018-04-06 19:52:57 +00:00
Mike Jerris 9db7ed7ac7 Merge pull request #1455 in FS/freeswitch from ~HUNYI/freeswitch:FS-10828-fix-mod_verto-codec to master
* commit '343b34376346f82fe0208912dd4104e1bfc341a2':
  FS-10828 [mod_verto] Always renew codec_string on connect
2018-04-06 19:43:08 +00:00
Sergio Filipe 18f11c7c6d FS-11088: Fixing verto status api
Checking if profile server_socket is valid to decide if is running or not
2018-04-04 11:50:14 +00:00
Alexey Sibyakin 72c625dfb9 FS-10119 [mod_h323] Patch from issue 2018-04-03 22:09:37 +09:00
Hunyadvári Péter bec68edb16 FS-8893: [mod_sofia] Add variables to sofia::register/unregister events 2018-04-03 10:42:04 +02:00
Hunyadvári Péter 74f47cb0ed FS-11046: [mod_dptools] Better logging for rename_function 2018-04-03 10:15:33 +02:00
Mike Jerris 930e7f3b0e FS-11061: [core] fix build with newer pcre 2018-03-29 11:18:20 -04:00
Mike Jerris 07bbb8c226 Merge pull request #1473 in FS/freeswitch from ~SEBASTIAN/freeswitch:FS-10939-fix-format-truncation-warnings-in-mod_cdr_mongodb to master
* commit 'eded5965a4b26572aa254bab63771440934494bd':
  FS-10939 mod_cdr_mongodb: fix format truncation warnings with gcc 7
2018-03-26 18:27:44 +00:00
Hunyadvári Péter 554387c8dc Skip holding b leg only if it is on hold
FS-8579 --resolve
2018-03-20 09:32:47 +01:00
Hunyadvári Péter 069da397f5 Improve recording transfer
Use the same method everywhere
Move the bug without stopping and starting the recording over
It was broken in some circumstances and also some settings were lost

FS-8900 --resolve
2018-03-20 09:20:37 +01:00
Bruno Dias ab97ad0b5f FS-10777 [mod_erlang_event] #resolve 2018-03-09 13:41:24 -03:00
Mike Jerris dd0bb0e331 Merge pull request #1472 in FS/freeswitch from ~STEPHALNET/freeswitch:FS-6816-sofia_send_callee_id-should-not-always to master
* commit '159c4ce95d1314bde9f747b0a0857c46fbf25a4f':
  FS-6816 [mod_sofia] Set empty callee id if `_undef_`
2018-03-05 17:36:09 +00:00
Andrey Volk 1284fbb027 FS-10493: [mod_callcenter] Replace core uuid with cc_instance_id taken from callcenter.conf.xml 2018-02-14 00:53:22 +03:00
Sebastian Kemper eded5965a4 FS-10939 mod_cdr_mongodb: fix format truncation warnings with gcc 7
gcc 7 complains about possible format truncation:

mod_cdr_mongodb.c: In function 'my_on_reporting':
mod_cdr_mongodb.c:242:45: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Werror=format-truncation=]
   snprintf(idx_buffer, sizeof(idx_buffer), "%d", callflow_idx);

The char * idx_buffer has a size of 4 Bytes, and according to gcc's
calculation it is possible that up to 11 Bytes might be copied into it
via int bson_idx.

This commit adds an extra 8 Bytes to char * idx_buffer, which silences
the warnings.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 19:00:09 +01:00
Italo Rossi 0781fafb7c Merge pull request #1464 in FS/freeswitch from ~BODJI/freeswitch:FS-10299-mod_callcenter-database-blocking to master
* commit 'b185cc6e2471bd83e560f9c75a5828537848418e':
  FS-10299: [mod_callcenter] Add an option to disable global database lock on mod_callcenter
2018-02-02 14:27:49 +00:00
Stephane Alnet 159c4ce95d FS-6816 [mod_sofia] Set empty callee id if `_undef_`
In some scenarios (e.g. MetaSwitch interop) the `display` field of callee-id should be left empty instead of being overwritten with the number.
As is done in other places, we allow for `_undef_` to mean "leave the field empty".
2018-02-02 10:19:03 +01:00
Marc Olivier Chouinard 3d9365edbb FS-10496: [mod_v8] Fixing regression from FS-10496 when no settings exist in v8.conf. 2018-01-28 10:18:58 -05:00
Mike Jerris 87bb7cb5fb Revert "FS-10820 [mod_kazoo] eventstream configuration"
This reverts commit bb4499ec24.

This commit breaks the build.  Please correct and re-submit
2018-01-25 15:51:44 -06:00
Italo Rossi 19e543ba3d FS-10521 FS-10612 [mod_callcenter] Member exit reason set to EXIT_WITH_KEY when it should be TIMEOUT and only set EXIT_WITH_KEY if the key pressed is set at cc_exit_keys 2018-01-25 10:49:59 -03:00
Mathieu Bodjikian (MacBook-Pro-de-Mathieu.local) b185cc6e24 FS-10299: [mod_callcenter] Add an option to disable global database lock on mod_callcenter 2018-01-24 20:46:39 +01:00
Mike Jerris 3f8585f636 Merge pull request #1371 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-10611-add-domain_data-command-to-retrieve to master
* commit '233481c32efadb1782684dcf45c59809eb3fe157':
  FS-10611: [mod_commands] Add domain_data command to retrieve domain information
2018-01-19 19:55:05 +00:00
Andrey Volk 233481c32e FS-10611: [mod_commands] Add domain_data command to retrieve domain information 2018-01-19 22:50:26 +03:00
Mike Jerris 64780ac1b4 Merge pull request #1334 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-10496-speedup-javascript-enabling-code to master
* commit 'c1280938bf5f9821df846bd2c6871ce0ca24620b':
  FS-10496: [mod_v8] Speedup JavaScript. Enabling Code Caching.
2018-01-19 19:31:17 +00:00
Mike Jerris 184889f76e Merge pull request #1466 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-10876-windows-compile-errors-in-msvc-2017 to master
* commit 'e380b41a8e67a18400af73a990cd56647842936c':
  FS-10876: [Build-System] Fix build in Visual Studio 2017 and Windows SDK 10.
2018-01-19 18:58:43 +00:00
Mike Jerris 11f8647ec2 Merge pull request #1451 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10820 to master
* commit 'bb4499ec24bd7a5cadb90eab1b1a05515d38eaa2':
  FS-10820 [mod_kazoo] eventstream configuration
2018-01-19 18:57:14 +00:00
lazedo bb4499ec24 FS-10820 [mod_kazoo] eventstream configuration 2018-01-11 16:03:09 +00:00
Andrey Volk e380b41a8e FS-10876: [Build-System] Fix build in Visual Studio 2017 and Windows SDK 10. 2018-01-10 23:30:24 +03:00
Seven Du 91f781d811 FS-10859 #resolve 2017-12-24 10:23:13 +08:00
Praveen Kumar d311a06a83 FS-10833: [mod_amqp] memory leak on reconnection attempt to RabbitMQ broker
Memory leak happening during reconnection attempt after connectivity loss with
RabbitMQ broker.

With these changes, memory leak issue has been addressed and the object has
been properly freed.
2017-12-08 04:23:43 +05:30
Seven Du e99fa26257 FS-10832 #resolve 2017-12-07 23:55:29 +08:00
Hunyadvári Péter 343b343763 FS-10828 [mod_verto] Always renew codec_string on connect 2017-12-06 14:36:19 +01:00
Hunyadvári Péter 87d4a6a0c8 FS-10826 [core] Fix file handler sample rate after transfer 2017-12-06 12:51:10 +01:00
Andrey Volk c1280938bf FS-10496: [mod_v8] Speedup JavaScript. Enabling Code Caching. 2017-12-05 14:25:13 +03:00
Andrey Volk db3e6ec32f FS-10789: [mod_v8] v8 segs on invalid instruction 2017-12-05 13:56:40 +03:00
Mike Jerris 2dc4d712fe Merge pull request #1445 in FS/freeswitch from ~PRAVEEN_KUMAR/freeswitch:bugfix/FS-10805-memory-leak-in-mod_amqp to master
* commit '97d6bee3fcac17080775576b140d041d97ccd411':
  FS-10805: Memory Leak fix in mod_amqp
2017-11-30 20:26:51 +00:00
Praveen Kumar 97d6bee3fc FS-10805: Memory Leak fix in mod_amqp
Memory allocated to hash iterators and hash tables isn't released
during module shutdown.

With these changes, memory allocated to hash iterators and hash tables
will be freed properly.
2017-12-01 01:51:19 +05:30
Seven Du 48fbcccd14 FS-10815 #resove 2017-11-29 20:45:37 +08:00
Anthony Minessale efcc6c4e93 FS-10622: [core] Auto-fixing audio codec from G722 to PCMU although PCMU was not negotiated #resolve 2017-11-16 15:38:13 -06:00
Brian West 212eb9b921 Merge pull request #1434 in FS/freeswitch from ~PRAVEEN_KUMAR/freeswitch:bugfix/FS-10728-mod_avmd-backward-compatibility_issue to master
* commit '179a659b7f3026c12c63bc4879a24c5f58584349':
  FS-10728: [mod_avmd] backward compatibility issue in avmd_main_api
2017-11-15 20:50:39 +00:00
Anthony Minessale 4fabca25ef FS-10792: [mod_sofia] when behind 1-to-1 NAT, console logs invalid handle #resolve 2017-11-15 13:04:15 -06:00
Anthony Minessale 420c3ee10c Revert "FS-10770: [freeswitch-core] Make nack buffer bigger by default #resolve"
This reverts commit 5658e581fe.
2017-11-10 17:04:27 -06:00
Italo Rossi 9d96741f56 FS-10774 - [switch_pgsql] Fix build for PostgreSQL/libpq 10 2017-11-06 10:35:36 -03:00
Italo Rossi 32954c1b91 FS-10772 - [mod_callcenter] commit 404c69698e added an invalid WHERE syntax, fixed. 2017-11-03 14:47:19 -03:00
Italo Rossi 298a468edf FS-10771 - [mod_callcenter] s/member_channel/member_session when session logging 2017-11-03 13:38:04 -03:00
Anthony Minessale 5658e581fe FS-10770: [freeswitch-core] Make nack buffer bigger by default #resolve 2017-11-02 14:06:13 -05:00
Anthony Minessale 873a7bbdff FS-10769: [mod_av,mod_conference] Lipsync issues in conference recording #resolve 2017-11-02 14:03:21 -05:00
Anthony Minessale 7728273b39 FS-10768: [mod_conference] Fix div by 0 err in conference config parsing #resolve 2017-11-02 14:01:47 -05:00
Praveen Kumar 179a659b7f FS-10728: [mod_avmd] backward compatibility issue in avmd_main_api
avmd_start_app flow will break if 'inbound_channel'/'outbound_channel'
    both has been set and the avmd_start_app invoked for inbound call leg.

    With this change, it'll be able to work even if we set
    'inbound_channel'/'outbound_channel' both.
2017-11-02 12:52:23 +05:30
Anthony Minessale 03576e82b8 FS-10757: [mod_conference] Race condition freeing avatar image #resolve 2017-10-25 14:20:45 -05:00
Brian West 3300661137 FS-10751: [mod_av] Add parsing for TRACE log level in AV 2017-10-25 13:11:19 -05:00
Anthony Minessale d60a1e95f7 FS-10667: [core] Segfault in crypto / srtp 2017-10-25 12:27:51 -05:00
Anthony Minessale bf98422ce6 FS-10754: [mod_conference] Conference Improvements #resolve 2017-10-25 12:27:20 -05:00
Anthony Minessale 9108c64c9e FS-10752: [mod_av] Remove support for AVENC which is not working on deb9 #resolve 2017-10-23 14:14:54 -05:00
Anthony Minessale 168cb620b9 FS-10751: [mod_av] Add parsing for TRACE log level in AV #resolve 2017-10-23 13:57:12 -05:00
Mike Jerris f6ce8afff8 Merge pull request #1394 in FS/freeswitch from ~F93/freeswitch:bugfix/FS-10672-truncated-variable-values-passed to master
* commit 'c6e2ce18a65cef72fde52ba3b1c9e995ba78a717':
  FS-10672 [core] Fix event url-encoding buffer size
2017-10-23 15:48:03 +00:00
Italo Rossi 15455f7060 FS-10738 [mod_callcenter] - setting bridged = 0 if member give up too early 2017-10-17 20:32:35 -03:00
Italo Rossi 94e943963f FS-10738 [mod_callcenter] - Do not set state to Idle if On Demand agents do not answer call 2017-10-17 16:26:57 -03:00
Andrey Volk ea8c3be8ec FS-10541: [Build-System] Move OpenSSL to props with BaseDir on windows. 2017-10-07 22:50:48 +03:00
Anthony Minessale 86911858e8 FS-10527: [mod_av] AV tweaks 2017-09-27 12:58:14 -05:00
Anthony Minessale 503db7b23f FS-10675: [mod_fifo] Wrap Up + fifo_caller_exit_key in mod_fifo #resolve 2017-09-18 17:23:45 -05:00
Anthony Minessale 5bb6e3485e FS-10677 2017-09-15 17:02:06 -05:00
Italo Rossi 75c56a0007 FS-10661: [mod_callcenter] Making cc_export_vars work with uuid-standby agents 2017-09-14 22:18:20 -03:00
Italo Rossi 77dcd007ad FS-10660: [mod_callcenter] Park agent session before play cc_warning_tone - avoid double playback causing distorted audio 2017-09-14 21:02:56 -03:00
Anthony Minessale a88bc6730e FS-10667: [core] Segfault in crypto / srtp #resolve 2017-09-14 18:09:35 -05:00
Roman Sukhov c6e2ce18a6 FS-10672 [core] Fix event url-encoding buffer size 2017-09-14 18:05:59 +03:00
Anthony Minessale 85348331f3 FS-10667: [core] Segfault in crypto / srtp #resolve 2017-09-13 17:28:40 -05:00
Italo Rossi 7f31967a31 FS-10666: [mod_callcenter] Adding callcenter_break agent api
callcenter_break agent <uuid> can be called with an uuid that represents
an outbound session created to call an agent.

The current behavior of mod_callcenter is to keep watching this channel
until it is hangup, once the hangup happens the bridge-agent-end and
member-queue-end events are fired, agent is released on the database
so it can receive more calls and member is also updated on database.

If you do not want to the agent channel hangup to release the agent you can
call this app with the agent session uuid and the agent will be released and
available to receive more calls. This is useful when the agent is located on a
remote freeswitch box and transfer the call internally, the original leg between
the first FreeSWITCH and the remote box remains live and the agent will only be
Available when the original call hangup.
2017-09-13 17:39:43 -03:00
Anthony Minessale 2aea0c329b FS-10468: [mod_verto] Attended Transfer from Mod Verto leaves one channel in limbo. #resolve 2017-09-11 14:47:56 -05:00
Anthony Minessale 2362cb4e58 FS-10622: [core] Auto-fixing audio codec from G722 to PCMU although PCMU was not negotiated #resolve 2017-09-08 13:38:44 -05:00
Mike Jerris 8fa59c995d Merge pull request #1374 in FS/freeswitch from ~MOCHOUINARD/freeswitch:bugfix/FS-10608-patch-change-hard-coded-60-value to master
* commit '348c2c42bb9d366b3c5a36fa4a377bbf8286d3c6':
  FS-10608: Change 60 second timeout value to a global #define SWITCH_DEFAULT_TIMEOUT
2017-09-08 17:29:14 +00:00
Mike Jerris e848f1ef4b Merge pull request #1372 in FS/freeswitch from ~HRISTO/freeswitch:FS-10617-nightmare-xfer-uuid-helper-vars to master
* commit '9d4c26825fe2dddbaec4fc9e1bbb658da98c1de5':
  FS-10617: [mod_sofia] Nightmare transfer: expose remote server's channel UUIDs as variables.
2017-09-08 16:33:07 +00:00
Anthony Minessale 63eec0ee3a FS-10647: [mod_av] Video quality degragation from 1.6.17 to 1.6.19 #resolve 2017-09-06 12:59:18 -05:00
Anthony Minessale 7cf6eb8e74 FS-10604: [core] Segfault in libcrypto / dtls #resolve 2017-09-06 12:29:02 -05:00
Anthony Minessale e2a186cb37 FS-10613: [core] freeswitch using the the wrong PT value (using the transmit PT instead of the receive PT) #resolve 2017-09-01 13:55:33 -05:00
Anthony Minessale 3c524021ca FS-10637: [core] FreeSWITCH crash in 'enterprise originate' API caused due to fix done for FS-10596 #resolve 2017-09-01 11:19:34 -05:00
Anthony Minessale 68fc3b5120 FS-10503 return causes break on first loop and can cause buildup in buffer 2017-08-31 14:17:25 -05:00
Anthony Minessale ce5c69f63a FS-10503 disable write buffer for all streaming 2017-08-30 19:26:19 -05:00
Seven Du 951b6c1464 FS-10503 #comment disable write buffer for rtsp streaming 2017-08-31 08:11:49 +08:00
Marc Olivier Chouinard 348c2c42bb FS-10608: Change 60 second timeout value to a global #define SWITCH_DEFAULT_TIMEOUT 2017-08-29 13:54:34 -04:00
Hristo Trendev 9d4c26825f FS-10617: [mod_sofia] Nightmare transfer: expose remote server's channel UUIDs as variables.
Currently there is no easy way for ESL and dial plan users to easily correlate
the channel UUID of the call legs involved in a nightmare transfer. This patch
adds two new channel variables, which are set to the remote server call leg
UUIDs (transfer_refer_from, transfer_refer_for).

The UUIDs are passed from the remote server in custom headers (X-FS-Refer-From
and X-FS-Refer-For).
2017-08-28 13:38:45 +02:00
Brian West fd3c2fd3bf Merge pull request #1369 in FS/freeswitch from ~LAZEDO/freeswitch:FS-10592-1 to master
* commit 'aea2db043e376b7d55087416ce0670ce70cba7f0':
  FS-10592: [mod_sofia] add sofia_profile_url to b channel
2017-08-24 20:07:19 +00:00
Brian West ccb32525d6 [core] FS-10587 502 response sent on codec mismatch 2017-08-24 15:04:02 -05:00