Commit Graph

19707 Commits

Author SHA1 Message Date
Anthony Minessale 96e823b1e0 FS-10050 try to improve performance 2017-02-20 18:20:51 -06:00
Brian West f6cc8e54bf /FS-10058: [mod_voicemail] voicemail timestamp plays in military time #resolve 2017-02-20 17:30:28 -06:00
Anthony Minessale a8adc886b2 FS-10054 2017-02-17 14:43:18 -06:00
Anthony Minessale aa7fccb4ab FS-10054: [mod_smpp] mod_smpp will not reconnect if connection was interupted #resolve 2017-02-17 14:23:52 -06:00
Anthony Minessale f6859ff983 FS-10050 add option last arg patch for patch mode 2017-02-16 20:50:42 -06:00
Anthony Minessale 23c9605efb FS-10019 revert and alternate fix 2017-02-16 18:26:36 -06:00
Mike Jerris c9aa35227a FS-10050: fix build issues and add mod_video_filter to packages 2017-02-16 17:49:03 -06:00
Seven Du a0a7b416f4 FS-10050 add mod_video_filter 2017-02-17 01:22:46 +08:00
Seven Du f31393d3c9 FS-10050 add chromakey 2017-02-17 01:19:57 +08:00
Anthony Minessale 91866404d7 FS-10048: [mod_conference] Possible crash on mass exit of members from a conference #resolve 2017-02-15 16:21:54 -06:00
Anthony Minessale 40bfe0fff5 FS-9154: [freeswitch-core] Add & remove video on re-invites #resolve 2017-02-15 13:56:35 -06:00
Brian West e8bd2d6f98 FS-10041: [mod_conference,mod_sofia] Invalid contact,<(null)>;isfocus, when hold call inside a conference room #resolve 2017-02-14 14:31:11 -06:00
Mike Jerris e8f6ed3d93 Merge pull request #1183 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-10009 to master
* commit '6c12f69e0c893646eda0bb010873583040aa136b':
  FS-10009: mod_fail2ban - Added logging of network_ip for abandoned calls
2017-02-14 13:32:05 -06:00
Anthony Minessale daf5b97841 FS-10040: [mod_conference] Add seperate thread for canvas rendering per session #resolve 2017-02-14 10:29:59 -06:00
Mike Jerris 5160a55f57 Merge pull request #1190 in FS/freeswitch from ~RAZVANC/freeswitch:feature/FS-10038-tune-heartbeat-events-interval to master
* commit '6d056e16989dc28b20a9b64d2d043edc6320c4fd':
  FS-10038: [core] tune heartbeat events interval
2017-02-14 10:12:54 -06:00
Razvan Crainea 6d056e1698 FS-10038: [core] tune heartbeat events interval 2017-02-14 13:43:13 +02:00
Mike Jerris 3bb89039ae Merge pull request #1186 in FS/freeswitch from ~SYSTEMNICK/freeswitch:bugfix/FS-10032-logging-errors to master
* commit 'cfad94f8aaffeaa0c37b658c0f55065099132c20':
  FS-10032: [mod_amqp] Fix log facilities #resolve
2017-02-13 18:21:58 -06:00
Armen Babikyan 6ed86abf9f FS-9300: Add support for disabling sofia's 100 Trying via configuration, and sending 100 Trying from dialplan 2017-02-13 14:49:05 -08:00
Brian West 9e971e5602 FS-10035: [mod_sofia] Outbound calls use progressing not alerting #resolve 2017-02-13 08:08:56 -06:00
Brian West 3823bcd08d FS-9991: [mod_av] Transcoding from H264 to VP8 does not work #resolve 2017-02-13 08:07:01 -06:00
Andrey Antipov cfad94f8aa FS-10032: [mod_amqp] Fix log facilities #resolve 2017-02-11 16:42:49 +03:00
Anthony Minessale 0465a6dcdd FS-10031: [mod_conference] Personal canvas mode doesn't switch layouts properly when a group is specified #resolve 2017-02-10 14:14:55 -06:00
Sergey Safarov 6c12f69e0c FS-10009: mod_fail2ban - Added logging of network_ip for abandoned calls 2017-02-10 13:17:45 -05:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Mike Jerris 60d4e87487 FS-10027: [build] fix build error on rpi2 2017-02-09 17:48:03 -06:00
Anthony Minessale cbc8d23603 FS-10026: [mod_verto] reduce attach_wake calls #resolve 2017-02-09 17:39:35 -06:00
Mike Jerris a3ee7595bb FS-10025: fix global symbol scope issue causing modules to use another modules global pointer 2017-02-09 17:23:30 -06:00
Anthony Minessale d704fea95b FS-10022: [mod_sofia] verify-profile 'none' not parsed for TLS #resolve 2017-02-09 11:25:29 -06:00
Anthony Minessale aaecc5a70c FS-10021: [RTP] Large RTP timestamp jump when system clock is late from internal timer #resolve 2017-02-09 11:10:01 -06:00
Seven Du 8df7fe3467 FS-9137 update to openh264 release 1.6.0 2017-02-09 11:37:06 +08:00
Seven Du 5d11524dcf FS-9137 update to openh264 release 1.5.0 and tweak some params 2017-02-09 10:43:32 +08:00
Anthony Minessale 78ecf4347d FS-10020: [mod_av] Error scrolls endlessly on a recording that fails to rtmp addrs #resolve 2017-02-08 13:54:44 -06:00
Anthony Minessale 8496878346 FS-10019: [mod_conference] Crash when playing mp4 in personal-canvas mode #resolve 2017-02-08 13:54:44 -06:00
Ken Rice 6d92904892 FS-9904 small tweak to the function definition so this builds with strict prototypes 2017-02-08 08:53:08 -06:00
Seven Du d6b5058efa FS-9904 fix assert from the last refactor 2017-02-08 16:51:22 +08:00
Anthony Minessale 189786d49b FS-10017 2017-02-07 14:35:24 -06:00
Anthony Minessale c14cadf163 FS-10017: [freeswitch-core] add rtp_nack_buffer_size #resolve 2017-02-07 14:32:01 -06:00
Anthony Minessale 25eab1f162 FS-9576 forgot to add positive response to uuid_send_text 2017-02-07 11:38:47 -06:00
Seven Du 08603c7e89 FS-9904 #resolve cleanup and refactor msrp 2017-02-07 20:41:46 +08:00
Anthony Minessale 9dba32410f FS-10015: [freeswitch-core] Add variable to allow firing of text events #resolve 2017-02-06 16:37:59 -06:00
Mike Jerris db89f45e0d Merge pull request #1182 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-10013 to master
* commit 'e0a96e28757d100923978e09256ec5a5a0080642':
  FS-10013: Several bugfixes
2017-02-05 19:33:26 -06:00
Sergey Safarov e0a96e2875 FS-10013: Several bugfixes 2017-02-05 17:44:11 -05:00
Italo Rossi 59da3cc493 FS-10012 [mod_callcenter] Enabling bypass media if agents leg have bypass_media_after_bridge=true #resolve 2017-02-05 14:57:51 -03:00
Mike Jerris c03ec62e1b Merge pull request #738 in FS/freeswitch from ~KYCONQUERS/mod_fail2ban:FS-7394-add-mod_fail2ban to master
* commit '4c1e7f24bcac3e6d3b20331a191cf90b0ac0b6fc':
  FS-7394 adding mod_fail2ban into freeswitch repo
2017-02-03 19:00:08 -06:00
Brian West 52728c253c FS-10006: [core] Allow adding parameters to P-Asserted-Identity #resolve 2017-02-03 17:14:32 -06:00
Anthony Minessale eee5abcc0c FS-10008: [mod_say_en] Add military time to say_en #resolve 2017-02-03 16:24:53 -06:00
Anthony Minessale d8c9b1ed16 FS-10007: [mod_conference] Issue with reservation-id and conference video layouts #resolve 2017-02-03 15:17:17 -06:00
Anthony Minessale b81d6990ee FS-9997: [mod_verto] Invalid JSON-RPC Response to an incorrect JSON-RPC Request. #resolve 2017-02-03 10:57:08 -06:00
Mike Jerris 1aadfc0fa4 Merge pull request #1145 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-9928-implement-event-hooks-in-javascript to master
* commit '7e6ba429e7064101752a0e0fc0d7d9fc18f300fe':
  FS-9928 [mod_v8] Implement Event Hooks in JavaScript
2017-02-02 18:47:05 -06:00
Mike Jerris 0c99d5062f Merge pull request #1166 in FS/freeswitch from ~ANTONIO/freeswitch:bugfix/FS-9966-invalid-contact-header-witn-private to master
* commit '8673e0177c310f6fa5b2ae42dd5562968ce00df9':
  [mod_sofia] FS-9966 fix private ip in contact header when invite w/ nosdp
2017-02-02 18:45:48 -06:00
Mike Jerris 9858ad7208 Merge pull request #1135 in FS/freeswitch from ~TCULJAGA/freeswitch_tc:feature/FS-9874-pass-a-translate-profile-for-mod_translate to master
* commit '4f3a5ebe07f1d09cacd5429ab30ccb0670e7ef91':
  FS-9874 - implement use of translate:<profile> - squashed
2017-02-02 16:02:24 -06:00
Mike Jerris 8192e9cb04 Merge pull request #1156 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-9953-add-mod_av-to-windows-build to master
* commit 'b2d9cd9e72cc3471e1b5aeb6e6dfb4b09f00cbdc':
  FS-9953 [mod_av] Add mod_av to windows build
2017-02-02 15:38:17 -06:00
Mike Jerris b0143d3209 Merge pull request #1171 in FS/freeswitch from ~CJYOUNG/freeswitch:bugfix/FS-9984-handle-leak-in-mod_enum to master
* commit '7e85fafc0eed1969aa4049ef9a449d251982fd77':
  FS-9984 [mod_enum] Fix for handle leak in Windows
2017-02-02 15:29:21 -06:00
Mike Jerris a8620d8c92 Merge pull request #1175 in FS/freeswitch from ~ICEHESS/freeswitch:bugfix/FS-9989-mod_kazoo-provide-a-parameter-to to master
* commit '70503dd71e56acbb8a518c550f3b0945f007880e':
  FS-9989 [mod_kazoo] add a parameter to ignore transient network issues
2017-02-02 15:25:07 -06:00
Anthony Minessale 230e8ac692 FS-9990: [freeswitch-core] Exhaust fmtp sensitive codecs before moving on with negotiation in video #resolve 2017-01-30 15:36:33 -06:00
Hesaam Farhang 70503dd71e FS-9989 [mod_kazoo] add a parameter to ignore transient network issues 2017-01-30 11:55:45 -08:00
Anthony Minessale cf78b0c2ac FS-9962: [mod_spandsp] Avaya IP Office IB FAX call T38 v0 failed #resolve 2017-01-30 10:53:39 -06:00
Mike Jerris c8256837b2 FS-9975: [mod_sofia] add contact params to request uri of outbound recovery reinvite for originally inbound calls 2017-01-27 17:02:01 -06:00
William Henry 404c69698e FS-9757 Store real system uuid in members system col and compare 2017-01-27 16:38:13 -05:00
Mike Jerris 722feefd56 FS-9970: [mod_sofia] don't detect nat in cases when the contact is in the acl, but the packet actually came from a proxy. We need to check where we got the packet from as being a natted address instead of the contact in order to properly handle nat to our next hop 2017-01-27 15:13:18 -06:00
Chris Young 7e85fafc0e FS-9984 [mod_enum] Fix for handle leak in Windows 2017-01-27 10:01:42 +00:00
Brian West 8b01c8cc1a FS-9981: [mod_spandsp] add api_on_fax_success api_on_fax_failure #resolve 2017-01-26 16:19:34 -06:00
Anthony Minessale 0c3ba1e378 FS-9978: [mod_expr] mod_expr random seed function not working for Windows #resolve 2017-01-25 12:48:07 -06:00
Antonio 8673e0177c [mod_sofia] FS-9966 fix private ip in contact header when invite w/ nosdp 2017-01-24 15:11:01 +01:00
Chris Rienzo 99e60c290a FS-9965 [mod_hiredis] release context after getting alternate connection 2017-01-23 15:37:13 -05:00
Chris Rienzo 5db04d7d0f FS-9965 [mod_hiredis] Improvements for performance, memory utilization, and resiliency.
Pipelining of requests to improve throughput
     -- new parameter max-pipelined-requests (default 20) for maximum number of requests to batch at one time

   Deletion of counter keys when zero
     -- new parameter delete-when-zero (default false) to enable.  This will cause a redis eval to execute to decrement counters instead of DECR.

   Detection of negative limit counters
     -- Self healing of negative counters (due to key eviction, etc)
2017-01-23 14:39:05 -05:00
Andrey Volk b2d9cd9e72 FS-9953 [mod_av] Add mod_av to windows build 2017-01-20 14:05:38 +03:00
Chris Rienzo 9c8d9cf120 FS-9959 [mod_spandsp] Add two new channel variables
fax_t38_tx_reinvite_packet_count - overrides t38-tx-reinvite-packet-count param in spandsp.conf
   fax_t38_rx_reinvite_packet_count - overrides t38-rx-reinvite-packet-count param in spandsp.conf
2017-01-19 14:50:51 -05:00
Anthony Minessale 1918f29671 FS-9958 2017-01-19 10:51:24 -06:00
Anthony Minessale 16c0bc115e FS-9958 2017-01-18 15:12:08 -06:00
Anthony Minessale 96a8267305 FS-9958: [freeswitch-core,mod_local_stream] Add agc object and use it in mod_local_stream #resolve 2017-01-18 13:19:47 -06:00
Mike Jerris f16a71e6ff Merge pull request #1157 in FS/freeswitch from ~LAZEDO/freeswitch:feature/fs-9955 to master
* commit '606d5354788c2c78e5e87f772e0069cbefe6ba93':
  FS-9955 [mod_kazoo] set profile var when setting channel var
2017-01-18 10:41:28 -06:00
Anthony Minessale cba5623911 FS-9954: [freeswitch-core] Crash on switch_ivr_intercept_session due null pointer for buuid #resolve 2017-01-18 10:40:39 -06:00
Mike Jerris e3b5c9aeba Merge pull request #1154 in FS/freeswitch from ~DEDWARDS/freeswitch:feature/FS-9162-add-ability-to-include-the-external to master
* commit '15fd3f1353a8f08c2dba6a5d9a3560ec8717be12':
  FS-9162 Include external IP address in SDP if include_external_ip is set
2017-01-18 10:27:02 -06:00
lazedo 606d535478 FS-9955 [mod_kazoo] set profile var when setting channel var 2017-01-18 04:56:52 +00:00
Anthony Minessale b7578ecd98 FS-9654 introduce origination_aleg_uuid 2017-01-17 16:45:22 -06:00
Dan Edwards 15fd3f1353 FS-9162 Include external IP address in SDP if include_external_ip is set 2017-01-17 15:21:27 -05:00
Mike Jerris 5ef273b4b3 Merge pull request #1146 in FS/freeswitch from bugfix/FS-9206-proxy-media-with-enable-3pcc-proxy to master
* commit 'a597e216bc699567ddb77d1765cf095c3bb31183':
  FS-9206: [core] endable proxy media auto-adjust on re-invite for text and video every time as the streams may be being added on re-invite
2017-01-17 13:11:30 -06:00
Mike Jerris a597e216bc FS-9206: [core] endable proxy media auto-adjust on re-invite for text and video every time as the streams may be being added on re-invite 2017-01-17 13:10:06 -06:00
Anthony Minessale 99a0d74847 FS-9654 2017-01-16 19:13:24 -06:00
Anthony Minessale 52af4a3278 FS-9654 regression 2017-01-16 15:15:05 -06:00
Anthony Minessale 596bd59001 FS-9654 additional changes 2017-01-16 14:10:39 -06:00
Andrey Volk 7dce1172ac FS-9948 [mod_png] Add mod_png to windows build 2017-01-13 23:51:34 +03:00
Andrey Volk 1f11deb023 FS-9944 [core] Add core video support to windows build 2017-01-12 23:52:06 +03:00
Brian West 6ff51458e2 FS-9943: [core] Default 488 handling for t.38 re-invite switches to udptl mode when it should not. #resolve 2017-01-12 11:47:31 -06:00
Luis Azedo 52e1785d94 [mod_sofia] FS-9940 fix finding a-leg parameter 2017-01-12 08:37:18 -06:00
Mike Jerris 1ec5e87468 FS-9934: [mod_redis] fix segfault on windows on close or connect failure 2017-01-10 18:17:09 -06:00
Mike Jerris 9b9408bc9e Merge pull request #1147 in FS/freeswitch from bugfix/FS-9931-display-updates-are-sent-to-endpoints to master
* commit '5d5b815e426fa87392a6dd9657106664cb4caa42':
  FS-9931: [mod_sofia] don't send display updates to endpoints who don't have UPDATE in their Allow header
2017-01-10 17:07:41 -06:00
Anthony Minessale 794a6f4aa1 FS-9933: [freeswitch-core] Fallback from native file failure to alternate ext #resolve 2017-01-10 17:00:18 -06:00
Mike Jerris 5d5b815e42 FS-9931: [mod_sofia] don't send display updates to endpoints who don't have UPDATE in their Allow header 2017-01-10 16:26:43 -06:00
Anthony Minessale 0db3a2febe FS-9932: [freeswitch-core] Error with group confirm feature combined with enterprise originate #resolve 2017-01-10 16:06:33 -06:00
Anthony Minessale 5d3ff00368 FS-9929: [core,mod_spandsp] Assert in switch_frame_buffer_dup when receiving a fax using t.38 #resolve 2017-01-10 11:20:20 -06:00
Anthony Minessale 6fe1deda45 swigall 2017-01-09 16:57:52 -06:00
Tihomir Culjaga 4f3a5ebe07 FS-9874 - implement use of translate:<profile> - squashed 2017-01-09 16:03:38 -06:00
Mike Jerris f2f89f28f5 Merge pull request #1142 in FS/freeswitch from bugfix/FS-9844-sip_full_route-variable-doesnt-show to master
* commit 'f418baf7c85c91b79ecb1cd593b570f99a7c0e2d':
  FS-9844: [mod_sofia] populate sip_full_route var with all of the route headers, not just the first one
2017-01-09 10:44:08 -06:00
Mike Jerris f2792c9ea5 swigall 2017-01-06 17:13:39 -06:00
Mike Jerris ad183fdea4 FS-9809: [mod_sofia] url encode caller id number before sticking it in the from header in case we have non url safe chars in the cid number in the caller profile 2017-01-06 16:16:16 -06:00
Andrey Volk 7e6ba429e7 FS-9928 [mod_v8] Implement Event Hooks in JavaScript 2017-01-06 21:57:20 +03:00
Brian West c0423c5877 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 16:34:11 -06:00
Mike Jerris f418baf7c8 FS-9844: [mod_sofia] populate sip_full_route var with all of the route headers, not just the first one 2017-01-05 16:02:17 -06:00
Brian West f54c7f9f34 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 15:51:52 -06:00
Mike Jerris 62e2928889 FS-9915: [mod_sofia] fix non null terminated parsed sip body being passed in when sending to sip messages in a row on tcp in a single packet 2017-01-05 15:06:42 -06:00
Anthony Minessale f0a0bbd728 FS-9906: [mod_conference] Member join/part in conference shows webcam briefly during slide transition #resolve 2017-01-04 17:08:16 -06:00
Brian West 4ead2fcffc FS-9916: [mod_spandsp] OB fax calls go zombie #resolve 2017-01-04 16:14:59 -06:00
chapman 879c04b339 FS-9917 [switch_rtp/core] Fix in do_flush to handle the current packet (if RFC2833) rather than discard it.
only print flushed if we flushed something
2017-01-04 13:56:48 -05:00
Mike Jerris dbd1c8684d Merge pull request #1124 in FS/freeswitch from ~TCULJAGA/freeswitch_tc:bugfix/FS-9873-a1-hash_for_mod_verto to master
* commit '1f7a7e336f0d2d0d4c67ee45478bf9b759e0dda8':
  FS-9873 mod_verto a1-hash - squashed
2017-01-04 11:37:32 -06:00
Anthony Minessale 8d8e324e00 FS-9881 accidentally removed -1 for forever support 2017-01-04 11:00:28 -06:00
Tihomir Culjaga 1f7a7e336f FS-9873 mod_verto a1-hash - squashed 2017-01-04 06:48:35 -06:00
Anthony Minessale e313b6ea3f FS-9206: [mod_sofia] proxy media with enable-3pcc=proxy does not properly pass audio after 3pcc re-invite #resolve 2017-01-03 18:32:32 -06:00
Mike Jerris 565e7cde45 Merge pull request #1128 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-9896-mod_v8-implement-serving-configuration to master
* commit 'a3a8d7e6b3a2d48c49196be0d578c023588a006c':
  FS-9896 [mod_v8] Implement Serving Configuration with JavaScript
2017-01-03 17:08:29 -06:00
Mike Jerris d97f6028d7 Merge pull request #1134 in FS/freeswitch from ~J0SH/freeswitch:byereason to master
* commit '7248a4f3eb0c956e17dc59ab2544e2ed4f0fa689':
  FS-9910 [mod_sofia]: Set SIP reason header for BYE events.
2017-01-03 16:58:11 -06:00
Anthony Minessale 3bb9cefcf1 FS-9912: [mod_conference] floor-only and file-only not working properly in canvas-layouts #resolve 2017-01-03 15:30:04 -06:00
Anthony Minessale 15278f6ea0 FS-9911: [mod_conference] Canvas not clearing when video playback of file is done #resolve 2017-01-03 15:30:04 -06:00
Anthony Minessale 6dc2d9feca FS-9881: [core] FS crashing when playing png file #resolve 2017-01-03 15:30:04 -06:00
Josh Allmann 7248a4f3eb FS-9910 [mod_sofia]: Set SIP reason header for BYE events. 2017-01-03 16:21:43 -05:00
Mike Jerris 20697cf0bd Merge pull request #1118 in FS/freeswitch from ~ANTONIO/freeswitch:bugfix/FS-9877-mod_loopback-no-audio to master
* commit '5dfc63c126f664cff09ddc6d2a67e05c2426f940':
  FS-9877 [mod_loopback] fix no audio
2017-01-03 14:39:40 -06:00
Mike Jerris f273ecda3f FS-9903: [msrp] fix namespacing and visibility of some structs 2017-01-03 13:51:30 -06:00
Anthony Minessale bb199aabde FS-9860 2017-01-03 13:15:03 -06:00
Anthony Minessale 697be5d515 FS-9860 2017-01-03 13:06:20 -06:00
Mike Jerris 19c29ee362 FS-9903: [msrp] fix namespacing and visibility of some structs and defines for ssl private header 2017-01-03 12:46:07 -06:00
Anthony Minessale ded506f611 FS-9898: [mod_sofia] Call hanging in FS if HOLD not successful #resolve 2017-01-03 12:01:48 -06:00
Seven Du c1abfaf4f8 FS-9903 #resolve #comment fix server side TLS and add client TLS support 2017-01-02 18:09:47 -06:00
Seven Du 7e24a79580 FS-9903 WIP MSRP client mode support 2017-01-02 10:34:41 +08:00
Seven Du 0248d38a28 FS-7933 #comment fix incompatible time pointer 2016-12-31 08:53:27 +08:00
Anthony Minessale 57f5932f01 FS-9206: [mod_sofia] proxy media with enable-3pcc=proxy does not properly pass audio after 3pcc re-invite #resolve 2016-12-30 17:36:29 -06:00
Italo Rossi 594b36022e [mod_callcenter] FS-9894: Removing reference to call_timeout, use leg_timeout instead 2016-12-29 13:19:02 -03:00
Italo Rossi 72927b994c [mod_callcenter] FS-9891: Checking if we got a valid pointer for a queue 2016-12-29 12:59:24 -03:00
Andrey Volk a3a8d7e6b3 FS-9896 [mod_v8] Implement Serving Configuration with JavaScript 2016-12-29 03:58:22 +03:00
Brian West d28f29594f FS-9776: [mod_sofia] SIP Transfer generates high CPU #resolve 2016-12-28 12:40:06 -06:00
Mike Jerris aa01a265e4 FS-9569: [mod_shout] close file handle when recording mp3 files that never get written to 2016-12-28 12:21:45 -06:00
Italo Rossi 50714ec5e4 [mod_callcenter] FS-9891: Get queue again to increase calls answered and abandoned 2016-12-27 21:35:17 -03:00
Italo Rossi 717dea47fb [mod_callcenter] FS-9347: Do not log as error when the member is gone just before we assigned an agent, now logging as DEBUG 2016-12-27 21:19:57 -03:00
Italo Rossi e614f8da24 [mod_callcenter] FS-9689 Fixed issue when agent rejects the call while hearing cc_outbound_announce making member (caller) waiting on queue forever 2016-12-27 21:14:57 -03:00
Italo Rossi 5ac10aaf32 [mod_callcenter] FS-9723: Fixing cc_warning_tone, using switch_ivr_play_file instead of queue private event 2016-12-27 20:49:59 -03:00
Mike Jerris bd6f03443f Merge pull request #1125 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-7933-v8-allow-non-blocking-socket-access to master
* commit '3f3cd7343ba3a9beecc9b6a074c9955e7c504afd':
  FS-7933 [mod_v8] Implement timeout property for Socket() class in javascript.
2016-12-27 13:33:00 -06:00
Mike Jerris 15632a0bd8 Merge pull request #1084 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9792 to master
* commit '8c1ed38d5eef031e4f471fe5f69ad052a9711997':
  FS-9792: Set channel variable based on the sip phone Accept Language SIP message
2016-12-27 13:30:40 -06:00
Mike Jerris 6e2764776f Merge pull request #1110 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-9840-fix-some-warnings-V2 to master
* commit '8c94e6f57fd9adee5e6a12535811fff8e4d9ae46':
  FS-9840 mod_avmd: Fix implicit declaration warning
  FS-9840 sofia-sip: fix implicit declaration warning
  FS-9840 mod-verto: fix implicit declaration warning
  FS-9840 mod_sofia: fix redefine warning
2016-12-27 12:36:58 -06:00
Andrey Volk 3f3cd7343b FS-7933 [mod_v8] Implement timeout property for Socket() class in javascript. 2016-12-27 04:18:14 +03:00
Sebastian Kemper 8c94e6f57f FS-9840 mod_avmd: Fix implicit declaration warning
Fix the following compile-time warning:

making all mod_avmd
make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/applications/mod_avmd'
  CC       mod_avmd_la-mod_avmd.lo
mod_avmd.c: In function 'avmd_process_sample':
mod_avmd.c:49:19: error: implicit declaration of function '__isinf' [-Werror=implicit-function-declaration]
 #define ISINF(x) (__isinf(x))
                   ^
mod_avmd.c:2038:33: note: in expansion of macro 'ISINF'
         if (ISNAN(amplitude) || ISINF(amplitude)) {
                                 ^
cc1: all warnings being treated as errors
Makefile:682: recipe for target 'mod_avmd_la-mod_avmd.lo' failed

Fix this by adding the declaration for __isinf(), the same is done for
__isnan() already

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-23 21:44:30 +01:00
Sebastian Kemper 8063ad658b FS-9840 mod-verto: fix implicit declaration warning
This fixes the following compile-time warning:

making all mod_verto
make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/endpoints/mod_verto'
  CC       mod_verto_la-mod_verto.lo
  CC       mod_verto_la-ws.lo
ws.c: In function 'hton64':
ws.c:730:14: error: implicit declaration of function '__bswap_64' [-Werror=implicit-function-declaration]
  else return __bswap_64(val);
              ^
cc1: all warnings being treated as errors

Fix by including byteswap.h, which is available on Linux and also
everywhere glibc is used (wpa_supplicant includes this header the same
way).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-23 21:44:25 +01:00
Mike Jerris ddf48b8602 Merge pull request #1105 in FS/freeswitch from bugfix/FS-9832-start-a-single-gateway to master
* commit '50e0f0195e67208889f15a439ea6ccb567b862e7':
  FS-9832 start a single gateway or _all_ gateways
2016-12-23 14:15:53 -06:00
Mike Jerris 35fd25c4f3 Merge pull request #1117 in FS/freeswitch from ~ANTONIO/freeswitch:feature/FS-6893-mod_conference-auto-record-create to master
* commit '38c3f5f66e775d814b5e3d5581aed5b2f41b6fd1':
  FS-6893 [mod_conference] recording auto creates file path if not exists
2016-12-23 14:11:17 -06:00
Anthony Minessale cf506d2f02 FS-9880: [freeswitch-core] Code to check for text-only is too soon in app processing #resolve 2016-12-22 13:03:54 -06:00
Mike Jerris afff6b0c87 Merge pull request #1121 in FS/freeswitch from ~SHAILESHPLIVO/freeswitch:bugfix/FS-9876-incoming-rtp-packet-loss-calculation to master
* commit 'a8351e001c726e0fc741a4d43adffa56f109eb65':
  FS-9876 switch_rtp this fix issue of rtcp lost packet count
2016-12-22 11:28:33 -06:00
shaileshplivo a8351e001c FS-9876 switch_rtp this fix issue of rtcp lost packet count 2016-12-22 17:07:51 +00:00
Mike Jerris d1ccc77d4f FS-9854: [mod_sofia] SDP O/A fails to put sdp in messages after certain kinds of sip traffic 2016-12-22 11:32:13 -05:00
Antonio 5dfc63c126 FS-9877 [mod_loopback] fix no audio 2016-12-22 14:55:51 +01:00
Anthony Minessale 68c0451589 FS-9871: [freeswitch-core] DTMF not delivered on B leg of a bridge when A leg has no media #resolve 2016-12-21 16:09:54 -06:00
Anthony Minessale a788715bb3 FS-9870: [freeswitch-core] playback_timeout_sec does not stop a delimited playback #resolve 2016-12-21 15:36:03 -06:00
Italo Rossi b02df24504 FS-9869 [mod_callcenter] Exporting cc_queue_joined_epoch when originating agent outbound leg 2016-12-21 12:14:04 -03:00
Antonio 38c3f5f66e FS-6893 [mod_conference] recording auto creates file path if not exists 2016-12-21 13:53:18 +01:00
Mike Jerris 1e0b827c08 Merge pull request #1067 in FS/freeswitch from ~WHENRY/freeswitch:improvement/FS-9760_remove_whitespace to master
* commit '46b63a4bb6f67d8066a354e55ea6bbd10d7d53fa':
  FS-9760 Removed the un-needed whitespace from the file
2016-12-20 18:45:35 -06:00
Anthony Minessale 914a6e764f FS-9866: [freeswitch-core] 3pcc=proxy for FS client and local SDP #resolve 2016-12-20 18:28:15 -06:00
Brian West eef2313a40 FS-9846: [mod_sofia] Bugs related with Hold and Proxy Hold option added in FS-9192 after merges in 1.6.11 #resolve 2016-12-20 16:19:30 -06:00
Anthony Minessale ade6e856a2 FS-9745: [mod_sofia] Call to FS WebRTC Gateway fails when no SDP on invite #resolve 2016-12-20 12:20:41 -06:00
Anthony Minessale 5fa4374451 FS-9206: [mod_sofia] FS not update proxy media RTP stream params when SDP is changed #resolve 2016-12-20 11:22:18 -06:00
Anthony Minessale 634490495f FS-9806: [mod_loopback] mod_loopback: bowout is always done even if set to false loopback_bowout_on_execute=false,loopback_bowout=false #resolve 2016-12-20 11:08:17 -06:00
Anthony Minessale fae3d9693d FS-9863: [] video_width/video_height unset with playback application #resolve 2016-12-19 17:53:50 -06:00
Mike Jerris aefba211ca Merge pull request #1106 in FS/freeswitch from ~J0SH/freeswitch:echofix to master
* commit '2a32e016ddb11d2a72eaf349e166e95a9bcac0b7':
  FS-9725: Fix echo if blank image is disabled.
2016-12-19 16:05:56 -06:00
Brian West e634e538ac swigall 2016-12-14 14:09:11 -06:00
Brian West 48fab6f6db FS-9851: [freeswitch-core] Add abstimeout to CoreSession:getDigits in switch_cpp #resolve 2016-12-14 14:06:20 -06:00
Brian West 3387b90705 FS-9829 #resolve [FreeSWITCH 200ok to second reINVITE on a dialog doesn't contain an SDP.] 2016-12-13 16:39:57 -06:00
Brian West 452257e793 Merge pull request #1108 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9843-avmd-remove-not-used-defines to master
* commit 'df80234f0713c512374352e31044a54517b5f981':
  FS-9843 [mod_avmd] Remove unused defines
2016-12-13 10:37:08 -06:00
Brian West 4d71ed84db FS-9808 #resolve [mod_png issue when used with ivr as video input] 2016-12-13 09:32:02 -06:00
Piotr Gregor df80234f07 FS-9843 [mod_avmd] Remove unused defines 2016-12-13 10:13:37 +00:00
Josh Allmann 2a32e016dd FS-9725: Fix echo if blank image is disabled. 2016-12-12 11:16:53 -05:00
Brian West 6522572104 FS-9836 #resolve [t38_gateway doesn't function properly after FS-9638 merge] 2016-12-09 16:53:21 -06:00
Italo Rossi 2ab3b14c1f FS-9835 [mod_callcenter] Fix segfault when passing freed pointer to cc_send_presence due to queue unload/reload 2016-12-09 16:34:05 -03:00
Seven Du 50e0f0195e FS-9832 start a single gateway or _all_ gateways 2016-12-08 20:47:22 +08:00
Chris Rienzo 8ab65c8c34 FS-9827 [mod_hiredis] handle NIL reply 2016-12-07 14:53:29 -05:00
Mike Jerris a38b246a6e Merge pull request #1101 in FS/freeswitch from ~MOTEUS/freeswitch:mod_lua_leak to master
* commit '672b5d8309b57f4f6996bded4fa365b90a8516ac':
  FS-9821 [mod_lua] Fix. memory/resource leak in mod_lua
2016-12-07 13:31:57 -06:00
Brian West ce7b2301be Merge pull request #1102 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-9824-fix-tone2wav-segfault to master
* commit '4ed1433cc6dd6936c1f1e474e653cbb45593c937':
  FS-9824 [tone2wav.c] Fix segfault on tone2wav
2016-12-07 13:31:32 -06:00
Alexey Melnichuk 672b5d8309 FS-9821 [mod_lua] Fix. memory/resource leak in mod_lua 2016-12-07 21:56:22 +03:00
Chris Rienzo 74ecc8882f FS-9826 reset jitter buffer if SSRC changes regardless of jitter buffer paused state 2016-12-07 13:44:31 -05:00
Brian West c0e3224f6e Merge pull request #1103 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:amrwb_encode_decode to master
* commit '3ccf1704c16ef32ae8d2469f2da960021310dfd5':
  FS-9825: Added AMR-WB transcoding capabilities (in both Bandwidth Efficient and Octet Aligned modes)
2016-12-07 11:20:49 -06:00
Dragos Oancea 3ccf1704c1 FS-9825: Added AMR-WB transcoding capabilities (in both Bandwidth Efficient and Octet Aligned modes) 2016-12-07 12:06:01 -05:00
Sebastian Kemper 4ed1433cc6 FS-9824 [tone2wav.c] Fix segfault on tone2wav
I checked fs_encode and saw that it terminates itself a bit differently, so I applied the same to tone2wav and the segfaults went away

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-07 17:02:35 +01:00
Brian West df8f7f4639 FS-9823 free subclass properly 2016-12-07 08:41:45 -06:00
Marc Olivier Chouinard 8c1ed38d5e FS-9792: Set channel variable based on the sip phone Accept Language SIP message 2016-12-06 17:17:39 -05:00
Seven Du 6528ae00b5 FS-9817 #resolve fix regression from 828d6eaf01 2016-12-06 11:33:01 +08:00
Anthony Minessale II dc63b63ec0 Merge pull request #1095 in FS/freeswitch from bugfix/FS-9810-ws-write-fail-on-slow-network to master
* commit 'b26fa6e17ce40f5ad982b41142389bca0d420427':
  FS-9810 fix ws write fail on slow network
2016-12-05 15:09:39 -06:00
Mike Jerris a9c13d3fc6 Merge pull request #1098 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9813 to master
* commit '01decbf434ea323c155fec5e863f5e51e55bad97':
  FS-9813 [mod_kazoo] add kz_http_put
2016-12-05 12:02:13 -06:00
Brian West d28138ea4a FS-9812 fix label that is only used when zrtp or srtp are enabled 2016-12-05 06:38:44 -06:00
Luis Azedo 01decbf434 FS-9813 [mod_kazoo] add kz_http_put 2016-12-05 08:09:35 +00:00
Brian West 2af53f5a30 Merge pull request #1080 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9788 to master
* commit '347c93f1c1360d7f03d337d4b428cd24ad6d7b16':
  FS-9788: Add close() option to FileIO implementation
2016-12-04 06:53:51 -06:00
Brian West 8853873d68 Merge pull request #1090 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-9798-implement-native-postgresql-in-javascript to master
* commit 'fff5b939b58d47aed98b5f26b21282e82e25ee14':
  FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class
2016-12-04 06:53:07 -06:00
Seven Du b26fa6e17c FS-9810 fix ws write fail on slow network 2016-12-04 12:49:46 +08:00
Brian West 89063a1a4c FS-9765 one tweak from submitted patch to use switch_channel_var_true instead of switch_channel_get_variable no need to allocate on every hold/unhold just to check if this is enabled. 2016-12-02 11:51:49 -06:00
Brian West c9a05d7e60 Merge pull request #1077 in FS/freeswitch from ~STEPHALNET/freeswitch:FS-9777 to master
* commit '86bcee03518ff5ecbb7bae8e78f3821b4027ad09':
  remove redundant `if (rep)` statement
2016-12-02 11:44:04 -06:00
Brian West 5ec6248dff Merge pull request #1086 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9794 to master
* commit 'ac14496c73c8f15e1b433189fe6bf78e31b772ec':
  FS-9794: Set the result cause of an originate failed cause to variable originate_failed_cause
2016-12-02 11:36:33 -06:00
Brian West dac1b67c20 Merge pull request #888 in FS/freeswitch from ~MZAKA/freeswitch:bugfix/FS-9277-sip-info-record to master
* commit 'addf7555bff15889d73e48bf70445d6d27d79fce':
  FS-9277: sip info with record: on and off doesn't start and stop call recording sessions
2016-12-01 20:22:57 -06:00
Mike Jerris d2b41b6b61 FS-9800: [core] add new accessor functions to core statistics for use in modules 2016-12-01 13:12:04 -05:00
Brian West 9120a3f534 FS-9779 fix compiler issue 2016-12-01 09:38:31 -06:00
Andrey Volk fff5b939b5 FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class 2016-12-01 15:45:18 +03:00
Brian West 7f1ee9adf6 Merge pull request #1088 in FS/freeswitch from ~ROMANAT/freeswitch:feature/FS-9734-add-channel-vars-att_xfer to master
* commit 'c20fa5e8f7cef34086c26ef6e0bbd81b2be7df4b':
  FS-9734: updated keys to be set in memory on att_xfer execution
2016-11-30 17:28:38 -06:00
romana c20fa5e8f7 FS-9734: updated keys to be set in memory on att_xfer execution 2016-11-30 17:37:59 -05:00
Mike Jerris b338bb559b FS-9782: [mod_sofia] on recovery, flip the order of the record route on inbound calls only, use the record route in the same order on inbound calls and in reverse order on outbound calls as the initial route set when doing the recover invite. Account for the call direction based on how sip considers it, not based on freeswitch direction so inbound calls after recovery are treated as outbound in this logic 2016-11-30 15:32:03 -07:00
Brian West a39b862e1d FS-9734: fix this so we don't allocate memory using switch_channel_get_variable on every digit, Only do it once. 2016-11-30 15:20:29 -06:00
Marc Olivier Chouinard ac14496c73 FS-9794: Set the result cause of an originate failed cause to variable originate_failed_cause 2016-11-30 15:19:43 -05:00
Marc Olivier Chouinard 347c93f1c1 FS-9788: Add close() option to FileIO implementation 2016-11-30 14:28:39 -05:00
Brian West 9d249a66ff Merge pull request #1057 in FS/freeswitch from ~ROMANAT/freeswitch:feature/FS-9734-add-channel-vars-att_xfer to master
* commit 'aadd81d6d33dc6402d10ae452394aa8ddd3d1176':
  FS-9734: added new channel vars in att_xfer which allow cancel, hangup and conf keys to be changed
2016-11-30 10:37:46 -06:00
Seven Du c2141c98b2 FS-9787 #resolve remove duplicated headers in conference del-member events 2016-12-01 00:15:12 +08:00
Seven Du 49d730e7f9 FS-9736 #resolve add conference json_list 2016-11-30 23:54:18 +08:00
Mike Jerris d498e8a8b3 FS-9782: [mod_sofia] on recovery, don't flip the order of the record route ever, on outbound calls use the record route in the reverse order as the initial route set when doing the recover invite 2016-11-29 15:04:17 -07:00
Stephane Alnet 86bcee0351 remove redundant `if (rep)` statement 2016-11-29 12:02:26 +01:00
Tamas Cseke 330f60964d Remove arg limit
Allocate dynamically
FS-9762 --resolve
2016-11-23 18:04:41 +01:00
Mike Jerris 6398ed91bb Merge pull request #1065 in FS/freeswitch from ~ARON45/freeswitch:bugfix/FS-9758-freeswitch-segfaults-when-reloading to master
* commit '9619bff6858d3d94e9375841925ca5072abc5dca':
  FS-9758: switch_sql_queue_manager_destroy() avoid null pointer deref
2016-11-22 11:42:43 -06:00
Tamas Cseke c06287da5b Add raven logger module
FS-9744 --resolve
2016-11-22 16:18:53 +01:00
Aron Podrigal 9619bff685 FS-9758: switch_sql_queue_manager_destroy() avoid null pointer deref
If passed in *qmp is a null pointer return `SWITCH_STATUS_NOOP`
2016-11-21 23:08:16 +00:00
romana aadd81d6d3 FS-9734: added new channel vars in att_xfer which allow cancel, hangup and conf keys to be changed 2016-11-21 17:39:27 -05:00
William Henry 46b63a4bb6 FS-9760 Removed the un-needed whitespace from the file 2016-11-21 17:32:22 -05:00
Mike Jerris 916ec2c68c Merge pull request #1064 in FS/freeswitch from ~ARON45/freeswitch:feature/FS-9741-lua-freeswitch.dbh-enhancement to master
* commit 'd3201c633571d511ee308cb27d618941a42bcdd2':
  FS-9741: lua expose db err str in freeeswitch.dbh
2016-11-21 15:15:20 -06:00
Mike Jerris cf0308b4e1 Merge pull request #1058 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9735 to master
* commit '498ce4fc83953ed53c74f054163c829a439737df':
  FS-9735 - send unknown headers to switch_ivr_set_user
2016-11-21 15:12:20 -06:00
Aron Podrigal d3201c6335 FS-9741: lua expose db err str in freeeswitch.dbh
Added 2 methods to lua freeswitch.Dbh
`last_error()` Returns the error string from the last query or nil.
`clear_error()` clears the error string.
2016-11-21 21:11:03 +00:00
Brian West 5bed1b0c2d FS-9755 conference cdr is required for 4579 support in mod_conference 2016-11-17 14:18:47 -06:00
Anthony Minessale 60d8551f2c FS-9748 fix commit snafu 2016-11-17 10:53:09 -06:00
Brian West ab9be49512 Merge pull request #1061 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9747 to master
* commit '7c60be14c77a3a0fb62fd416a498a7aff80b50a7':
  [core] add channel hold/unhold verbosity
2016-11-17 08:33:48 -06:00
Brian West 25be37bef2 FS-9749 fix undeclared identifier on windows. 2016-11-17 08:32:27 -06:00
Ken Rice 0578331edf FS-9748 accidental unused variable left behind 2016-11-16 22:39:26 -06:00
Anthony Minessale 232d171577 FS-9748 #resolve [Locking contention with mod_shout playing conference moh] %backport=1.6 2016-11-16 20:09:05 -06:00
Luis Azedo 7c60be14c7 [core] add channel hold/unhold verbosity 2016-11-16 19:30:50 -06:00
Anthony Minessale 4cf0ff9a17 FS-9742 2016-11-16 19:15:41 -06:00
Anthony Minessale a3a39f3305 FS-9742 2016-11-16 16:43:05 -06:00
Anthony Minessale b4e0592e84 FS-9742 2016-11-16 16:36:55 -06:00
Anthony Minessale 18d1762a5b FS-9742 2016-11-16 16:05:59 -06:00
Anthony Minessale a60c2cb713 FS-9740 cont 2016-11-16 15:16:00 -06:00
Anthony Minessale 7c32c0de53 FS-9739 #resolve [switch_rtp mistakes "ffffffff" for a new DTMF and Queue's a NULL digit] 2016-11-16 14:43:10 -06:00
Chris Rienzo b23f4bbafe FS-5978 [mod_rayo] attempt to fix direct media join 2016-11-16 15:11:26 -05:00
Anthony Minessale 4a6f26b7fa FS-9705 regression 2 2016-11-16 11:23:19 -06:00
Mike Jerris 08adab1918 FS-9699 regression 2016-11-15 19:25:37 -06:00
Anthony Minessale 2419ab671e FS-9699 regression 2016-11-15 17:42:36 -06:00
Anthony Minessale 2ed50a27ca FS-9742 #resolve [Refactor canvas zoom code] 2016-11-15 16:13:23 -06:00
Anthony Minessale 1b268de5e2 FS-9740 #resolve [Improve font scaling on banners] 2016-11-15 11:37:16 -06:00
Anthony Minessale b4e8be56e6 FS-9708 2016-11-15 10:25:31 -06:00
Chris Rienzo 4a76900edf FS-9737 [mod_hiredis] fix limit_usage when using hiredis backend 2016-11-15 11:04:46 -05:00
Seven Du f3b7105d66 FS-9638 #comment fix seg when read -1 2016-11-15 09:50:51 +08:00
Anthony Minessale 407c1b20dd FS-9705 regression 2016-11-14 18:39:31 -06:00
Anthony Minessale 27eb116f03 FS-9638 fail when write doesn't work 2016-11-14 12:40:17 -06:00
Anthony Minessale 3b50883734 FS-9638 passing codec through on unanswered channels too (late neg) 2016-11-14 11:35:03 -06:00
Luis Azedo 498ce4fc83 FS-9735 - send unknown headers to switch_ivr_set_user
creeates switch_ivr_set_user_extended to receive params to pass to xml_locate_user
2016-11-14 17:18:32 +00:00
Brian West 421edacc06 FS-9729 dont segfault if config file is misisng 2016-11-14 11:11:59 -06:00
Anthony Minessale 6c4670c06e remove debug 2016-11-14 11:06:04 -06:00
William King 0c17af6321 Merge pull request #1048 in FS/freeswitch from ~ARON45/freeswitch:feature/FS-9716-expand-variables-for-mod_amqp-command to master
* commit 'f4321a28267c9e5c089df24b22aa0a71619bd9cf':
  FS-9716: [mod_amqp] Command profile expand params
2016-11-14 10:21:08 -06:00
Italo Rossi 35e38e28a1 Merge pull request #1056 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9514:master to master
* commit 'a8926317afc71f1889b95aca72e1301a19f078b2':
  FS-9514 add event on mod_callcenter when max-no-answer is triggered
2016-11-14 08:17:14 -06:00
Italo Rossi 741e257b69 Merge pull request #957 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9516:master to master
* commit 'b182a0ce34363399b7d7c88e0014769d7f168cc0':
  FS-9516 refactor loopback agent on mod_callcenter and fix multiple minor issues
2016-11-14 08:11:09 -06:00
François a8926317af FS-9514 add event on mod_callcenter when max-no-answer is triggered 2016-11-14 15:07:07 +01:00
François b182a0ce34 FS-9516 refactor loopback agent on mod_callcenter and fix multiple minor issues 2016-11-14 13:28:11 +01:00
Aron Podrigal f4321a2826 FS-9716: [mod_amqp] Command profile expand params
Expand command profile params "exchange-name, queue-name, binding_key"
This allows dynamic binding based on fs core-uuid (ie, ${core-uuid} ).
2016-11-13 20:38:15 +00:00
Chris Rienzo ad495d08cd FS-9733 [mod_rayo] prevent bad tts format string from being generated when MRCP headers are not present 2016-11-12 13:03:48 -05:00
Chris Rienzo ebda8f8db2 FS-9732 [mod_ssml] create default configuration so ssml.conf.xml is not needed 2016-11-12 12:54:40 -05:00
Brian West 092a9e8979 swigall 2016-11-11 17:31:44 -06:00
Anthony Minessale 6287a466a1 FS-9715 add webm and mkv too 2016-11-11 16:45:07 -06:00
Mike Jerris 17444343c0 Merge pull request #914 in FS/freeswitch from feature/FS-9367-log-session-creation to master
* commit '0fd6667fd2e30122ce7facf74a2f26ee7dfb26fc':
  [FS-9367] log session counts at channel state change
2016-11-11 15:48:21 -06:00
Mike Jerris 6393832c7c Merge pull request #1043 in FS/freeswitch from ~PERRO/freeswitch:feature/FS-9325 to master
* commit 'b5266ed6b44a8219be55a3f81726dbde69e8994a':
  FS-9325 [mod_dptools] Priority flag for faster bind_digit_action matches
2016-11-11 15:37:43 -06:00
Mike Jerris b0b6db050a Merge pull request #1041 in FS/freeswitch from ~PERRO/freeswitch:bugfix/FS-9323 to master
* commit '8d8543d0c822d7f2dffa84913b869b539eb341d0':
  FS-9323 [mod_dptools] raise bind_digit_action event on correct leg
2016-11-11 15:37:14 -06:00
Mike Jerris 76b990a503 Merge pull request #1040 in FS/freeswitch from ~PERRO/freeswitch:FS-9319 to master
* commit '6e8508f2a078963594129a83b15b4f919c496d61':
  FS-9319 [mod_dptools] Support "both" in clear_digit_action
2016-11-11 15:36:36 -06:00
Mike Jerris 50465dae85 Merge pull request #1035 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9696 to master
* commit '11452979f6da94b515ee9b712a33d9957925a7d8':
  FS-9696 keep pickup endpoint up if another endpoint in dialstring hangs up and leg_timeout is set on the pickup endpoint
2016-11-11 15:35:15 -06:00
Mike Jerris 175ad35bb0 Merge pull request #1044 in FS/freeswitch from ~PERRO/freeswitch:feature/FS-9412 to master
* commit 'd243c166f1826fbb4297a2a1e5be9de9f1dc572a':
  FS-9412 [switch_loadable_module.c] Make MODULE_UNLOAD event report module name (key) and file (filename), similar to event MODULE_LOAD
2016-11-11 14:46:57 -06:00
Mike Jerris d045d9c159 FS-9727: raise size limit on unkown size odbc column data from 256 to 16k 2016-11-11 14:13:50 -06:00
Brian West db50702d99 FS-9729 remove hard coded path for cert and key from msrp and add config params for it 2016-11-11 12:15:14 -06:00
Mike Jerris e1b3ee1efd FS-9652: improve sql sanitization 2016-11-11 11:27:35 -06:00
davidcsi 53dbe5d84a FS-9490: [mod_sofia] add filter to SIP messages that match a regexp. 2016-11-11 10:00:28 -06:00
Mike Jerris 4dacece6a3 FS-9592: [mod_httapi] make sure to reset one time params when starting over in httapi app 2016-11-11 10:55:24 -05:00
Mike Jerris 654cf8c5ef Merge pull request #1030 in FS/freeswitch from ~LUIZTELLES/bf-fs-9671:bugfix/FS-9671-wrong-cseq-is-sent-in-notify-after to master
* commit '4c45f529f8b193d6bb2535ae5d42dc0c86f2960f':
  FS-9671 fix wrong cseq in notify Expires 0
2016-11-11 09:52:41 -06:00
Mike Jerris f34cbb9368 FS-9691: don't call sql code inside hash_mutex due to circular mutex contention between hash_mutex and profile->dbh_mutex 2016-11-11 10:49:20 -05:00
Brian West 04f5d30a9a FS-9638 fix typo 2016-11-10 19:58:50 -06:00
Anthony Minessale d282e7c444 FS-9712 #resolve [3PCC-Proxy Missing SDP on Reinvite. ] 2016-11-10 19:47:37 -06:00
Anthony Minessale c6137874d5 swigall 2016-11-10 19:05:19 -06:00
Anthony Minessale 3c0d537107 FS-9638 2016-11-10 18:09:44 -06:00
Anthony Minessale ed33641c75 FS-9708 2016-11-10 17:45:00 -06:00
Anthony Minessale c701ce6173 FS-9708 #resolve [RTP timing when doing repacketization] 2016-11-10 17:34:48 -06:00
Mike Jerris 30c84b4bbc FS-9638: fix build without gumbo 2016-11-10 16:34:16 -05:00
Brian West 832144088d FS-9726 Fix malformed PAI 2016-11-10 13:42:31 -06:00
Anthony Minessale 9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06:00
Josh Allmann 550d85210c FS-9725: Disable blank img with core_video_blank_image=false. 2016-11-10 11:48:00 -05:00
Anthony Minessale 3ad877521f FS-9721 2016-11-09 18:44:55 -06:00
Anthony Minessale 7a009bba1e FS-9697 add-on 2016-11-09 17:24:47 -06:00
Anthony Minessale 56872ee052 FS-9721 #resolve [Add media_reneg_after_broadcast] 2016-11-09 17:24:47 -06:00
Brian West 6076e0c7e9 FS-9204: complte the urls so that snom can execute the pickup, It used to probably send it to the proxy, but now needs the host in the packet or throws network error 2016-11-09 16:27:15 -06:00
Mike Jerris b7f45a7727 FS-9714: [mod_conference] fix crash due to race on closing file handles when playing a file to a conference via api command as a conference is shutting down 2016-11-09 16:26:41 -06:00
Anthony Minessale 917d9b44c4 FS-9719 still not quite right, and enable support to auto engage this feature for pass-thru video 2016-11-09 15:24:34 -06:00
Mike Jerris ade33ae472 FS-9710: fix build in passthrough mode 2016-11-09 14:46:16 -06:00
Anthony Minessale cb8eb97261 FS-9719 #resolve [Separate gen_ts_delta between audio and video] 2016-11-09 13:05:04 -06:00
Christopher Rienzo ac0549e29b Merge pull request #1047 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9713 to master
* commit 'ff6ab87f143f96e3c5e23434016620f898663856':
  FS-9713 [mod_hiredis] handle spurious wakeup while waiting for connection
2016-11-09 12:31:29 -06:00
Anthony Minessale 17fbd965b9 FS-9715 don't need this part 2016-11-09 12:24:06 -06:00
Anthony Minessale ae25931b4d FS-9709 #resolve [JB drops packets after hole-punching] 2016-11-09 11:35:12 -06:00
Mike Jerris 3c17fa6f3f Merge pull request #1039 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:amr_rtcp_feedback to master
* commit 'be3aef4361a6e377dc7391feaf52483f6720b575':
  FS-9710 :  Add AMR Congestion Control / Codec Control (RTCP feedback enabled with "adjust-bitrate" setting)
2016-11-09 10:01:34 -06:00
Anthony Minessale 1cb8adecb7 FS-9715 #resolve [Add support for m4a] 2016-11-08 13:45:53 -06:00
Mike Jerris e332c1a24c FS-9714: [core] switch assert on attempted double close of a file handle 2016-11-08 13:22:35 -06:00
Chris Rienzo ff6ab87f14 FS-9713 [mod_hiredis] handle spurious wakeup while waiting for connection 2016-11-08 13:36:39 -05:00
François 7f017fd1d8 FS-9693 fix free issue in fulldate comparison 2016-11-08 17:07:28 +01:00
Andy Newlands d243c166f1 FS-9412 [switch_loadable_module.c] Make MODULE_UNLOAD event report module name (key) and file (filename), similar to event MODULE_LOAD
Add key and filename for symetry with SWITCH_EVENT_MODULE_LOAD, for api_interface, and to make it simpler to know which module is unloaded

FS-9412 #resolve
2016-11-08 15:46:50 +00:00
Andy Newlands b5266ed6b4 FS-9325 [mod_dptools] Priority flag for faster bind_digit_action matches
Add exec: flag, 'P' (for "Priority") to bind_digit_action so that a
match is returned as soon as it is found, without waiting for the
inter-digit timeout to expire.

This can be very useful where the system needs to be more responsive
to the user.

By default, if multiple bindings are enabled and one or more use a
regex, switch_ivr_dmachine_check_match waits for the inter-digit
timeout to expire before returning a match.  This ensures overlapping
patterns, such as "^\d{4}$" and "^\12{3}$" can both be reliably matched

When the 'P' flag is specified with bind_digit_action, whose action is
exec, a match is returned as soon as the condition is satisfied,
regardless of whether or not a longer match may be possible if further
digits were entered.

For example:

	<action application="bind_digit_action" data="test,~^*\d{2}$,
		exec[P]:execute_extension,myextn,self,self"/>

	<action application="bind_digit_action" data="test,~^#\d{2}$",
		exec:execute_extension,myotherextn,self,peer"/>

	The first example causes a match to be returned immediately
	after the 2nd digit is received, whereas the second example
	defaults to waiting for the inter-digit timeout to expire
	before returning.

In cases where the 'P' flag is used with a regex and string, and both
are matched, the more explicit, string match will be returned.

For example:

	<action application="bind_digit_action" data="test,~^*\d{2}$,
		exec[P]:execute_extension,myextn,self,self"/>

	<action application="bind_digit_action" data="test,*12,
		exec[P]:execute_extension,myotherextn,self,self"/>

	If "*12" is matched, myotherextn is executed, because "*12" is
	more explicit/specific than "^*\d{2}$"

If the 'P'(riority) flag is not used, behaviour is unchanged from
previous versions.  This ensures backward compatibility.

FS-9325 #resolve
2016-11-08 13:47:37 +00:00
Andy Newlands 8d8543d0c8 FS-9323 [mod_dptools] raise bind_digit_action event on correct leg
Ensure digit_action_callback raises the match event on leg specified
in bind_digit_action.

Specifying the event leg as "peer" or "self" now executes on the
correct call leg.

FS-9323 #resolve
2016-11-08 13:22:13 +00:00
Andy Newlands 6e8508f2a0 FS-9319 [mod_dptools] Support "both" in clear_digit_action
Add support for "both" as target parameter to clear_digit_action.
CDA previously only supported target values of:

	"", "self" or "peer"

CDA Behaviour now corresponds with documentation.

For example, the follow will work as expected:

	<action application="clear_digit_action" data="all,both"/>

FS-9319 #resolve
2016-11-08 12:49:06 +00:00
Dragos Oancea be3aef4361 FS-9710 : Add AMR Congestion Control / Codec Control (RTCP feedback enabled with "adjust-bitrate" setting) 2016-11-08 06:46:52 -05:00
Italo Rossi d998325bca FS-9707 - [mod_callcenter] Fixing external_calls_count order in select for top-down and ring-all strategies, removing unneeded log on presence 2016-11-07 17:41:23 -03:00
François 92b8996eea FS-9693 use existing date parsing functions in fulldate comparison that take timezone into account 2016-11-07 13:01:49 -06:00
Anthony Minessale ce01590486 FS-9706 #resolve [Add loops param to file playback in conference] 2016-11-07 12:17:56 -06:00
Anthony Minessale 9e103b2b1c FS-9705 #resolve [Files using prebuffer do not play properly when seeking back to the beginning once the file is done playing] 2016-11-07 12:16:01 -06:00
Anthony Minessale 8a80741507 FS-9704 #resolve [Seeking video files with mod_av after it reaches the end does not work] 2016-11-07 12:14:25 -06:00
Seven Du 732b6e75fe FS-9700 #resolve 2016-11-05 20:43:27 +08:00
Anthony Minessale cd520f8340 FS-9699 #resolve [Improper response to reinvite after using uuid_media_3p] 2016-11-04 18:12:09 -05:00
Brian West 710ca2a053 FS-9697 fix spelling 2016-11-04 15:09:42 -05:00
Mike Jerris c4fae8977e Merge pull request #1037 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9698 to master
* commit '3ff491274df6a76fb85cb8d594bf3b8465b88867':
  FS-9698 fire custom sofia::bye_response event when response to BYE is received and fire-bye-response-events profile param is true
2016-11-04 13:13:50 -05:00
Mike Jerris 530c8424da Merge pull request #1034 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9694 to master
* commit 'dd17a57c8a128c97f12fe1882e5123de92d1cf3e':
  FS-9694 [mod_dptools] Add origination_uuid support to pickup endpoint
2016-11-04 13:09:14 -05:00
Chris Rienzo 3ff491274d FS-9698 fire custom sofia::bye_response event when response to BYE is received and fire-bye-response-events profile param is true 2016-11-04 12:00:39 -04:00
Anthony Minessale 2c111bbdb5 FS-9697 #resolve [Video compat changes to support older clients] 2016-11-03 17:38:31 -05:00
Anthony Minessale 8663dcb52a FS-9668 also check for keyframe requests on INFO even when proxying for good measure 2016-11-03 17:34:53 -05:00
Chris Rienzo 11452979f6 FS-9696 keep pickup endpoint up if another endpoint in dialstring hangs up and leg_timeout is set on the pickup endpoint 2016-11-03 16:39:43 -04:00
Chris Rienzo dd17a57c8a FS-9694 [mod_dptools] Add origination_uuid support to pickup endpoint 2016-11-03 16:35:03 -04:00
Brian West 1b13e15919 FS-9693 revert 2016-11-03 11:03:10 -05:00
François 6e4e48c6be FS-9693 use local time instead of utc for date-time comparison 2016-11-03 15:53:02 +01:00
Anthony Minessale 09028b251e FS-9455 #resolve [Doubled posts in the chat window ] 2016-11-02 16:00:49 -05:00
Brian West 1cd511ab3d FS-9687 lets actually fix it this time now that I know the scenario that triggers it. 2016-11-02 06:17:34 -05:00
Brian West 9b955c95a9 FS-9687: segfault Program terminated with signal SIGFPE, Arithmetic exception. 2016-11-01 16:50:18 -05:00
Brian West ff7ee1aa80 FS-9685 Update broadsoft SLA to work with newer Polycom firmware. 2016-11-01 10:22:57 -05:00
Brian West f9fb94cca1 FS-9629 don't add infocus multiple times 2016-10-31 12:54:18 -05:00
Brian West 89cde77ec2 Merge pull request #1025 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:configure_enable_amr to master
* commit 'a0284af8ea10f882dc7c3ef3a704f9392158a9a3':
  FS-9670: add autodetection of opencore-amrnb lib and  "--disable-amr" option to configure script
2016-10-31 11:07:36 -05:00
Brian West 20b5bd675d FS-9629: add isfocus to replies, and add is_conference support to pre_answer 2016-10-31 10:45:29 -05:00
Brian West 4fb0db3e59 FS-9678: Fix FreeSWITCH not shutting down when profiles fails to load and shutdown-on-fail is set to true 2016-10-31 10:38:42 -05:00
luiztelles 4c45f529f8 FS-9671 fix wrong cseq in notify Expires 0 2016-10-31 09:57:07 -02:00
Josh Allmann 70591d0e59 FS-9680: Fix typo. 2016-10-28 16:48:13 -04:00
Josh Allmann 4a15d0a3c3 FS-9654: Fix RTP packet drops
There was issue with certain endpoints that would lead to dropping
nearly every other RTP packet from the callee.

The scenario is as follows: the caller (bridged through FreeSWITCH)
offers codecs A and B with payload types X and Y, respectively.
The callee answers with codec B and payload type X.

The fix is to use the sender's expected payload type when checking
against the received RTP packet, rather than the receiver's.
2016-10-28 11:02:01 -04:00
Anthony Minessale a49182c0f4 FS-9680 #resolve [Add proxy-message param to sofia] 2016-10-27 17:40:17 -05:00
Dragos Oancea a0284af8ea FS-9670: add autodetection of opencore-amrnb lib and "--disable-amr" option to configure script 2016-10-27 11:43:58 -04:00
Anthony Minessale II fbcb3f708f Merge pull request #1020 in FS/freeswitch from ~J0SH/freeswitch:fs9660 to master
* commit 'd98a3ad204afdb8839674588a536a67329537b6d':
  FS-9660: Fix BW calculation for SDP media clause
2016-10-25 21:10:21 -05:00
Anthony Minessale 80004fa885 FS-9654 2016-10-25 21:09:53 -05:00
Anthony Minessale 16fe6e6ca9 FS-9668 #resolve [Add proxy-info feature] 2016-10-25 17:45:22 -05:00
Brian West a79636b5cc Merge pull request #1018 in FS/freeswitch from ~GIAVAC/fs-9643-master:feature/FS-9643-mod_opus-log-encoded-stats-at-end to master
* commit '6c11284d34c9261322776af36ff9c76b2531a68b':
  FS-9643 mod_opus Log encoded stats at end of call  Log count of encoded FEC frames in debug mode
2016-10-25 14:11:12 -05:00
Brian West e76c945693 FS-9576 fix stray ; 2016-10-25 12:39:38 -05:00
Brian West 4e76630e08 swigall 2016-10-25 11:39:35 -05:00
Brian West adb25b3fcd FS-9576: add missing event hook functions 2016-10-25 11:38:51 -05:00
Brian West c912f6d99a Merge pull request #1022 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:mod_amr-bandwidth-efficient to master
* commit '63900a6d86c1c2dbaf6ac7db987ce901a142b872':
  FS-9664: mod_amr: add AMR NB transcoding capability in bandwidth-efficient mode. Tested with VOLTE devices.
2016-10-25 11:16:19 -05:00
Brian West 0999ff10ba FS-9666 fix unused variable 2016-10-24 17:19:47 -05:00
Mike Jerris 5c0c791e98 Merge pull request #1023 in FS/freeswitch from ~OPENCODE/freeswitch:bugfix/FS-9662-wrong-version-number-in-old-opal to master
* commit 'fb6f9a454e9f72df52f0e0e869d86aaa1f348743':
  FS-9662 #resolves [mod_opal] Fix version number in old OPAL error
2016-10-24 16:49:58 -05:00
Anthony Minessale 0b43fc7b47 FS-9666 #resolve [Remove legacy code when getting an XML video refresh] 2016-10-24 16:34:57 -05:00
David Matson fb6f9a454e FS-9662 #resolves [mod_opal] Fix version number in old OPAL error 2016-10-24 12:14:24 -07:00
Anthony Minessale 34238d2bd0 FS-9665 #resolve [Add video_pre_call_banner feature] 2016-10-24 13:36:15 -05:00
Dragos Oancea 63900a6d86 FS-9664: mod_amr: add AMR NB transcoding capability in bandwidth-efficient mode. Tested with VOLTE devices. 2016-10-24 12:17:53 -04:00
Mike Jerris 8e6d89733a FS-9634: fix typo 2016-10-24 12:01:08 -04:00
Mike Jerris c4c460e7f2 FS-9581: fix signed/unsigned comparison build warning 2016-10-24 11:57:51 -04:00
Seven Du 15f33e532b FS-9151 FS-9631 #resolve 2016-10-24 08:10:36 +08:00
Josh Allmann d98a3ad204 FS-9660: Fix BW calculation for SDP media clause
The AS descriptor for SDP b= lines is already defined in kilobits/second.
Fixes an issue with extremely low bitrate videos when a SDP media clause has
its own b=AS: line specified.
2016-10-21 23:22:36 +00:00
Mike Jerris a393604db5 Merge pull request #1004 in FS/freeswitch from ~ARMENB/freeswitch:bugfix/FS-9636-Make-every-Transfer-a-Nightmare-Xfer to master
* commit '75f4114443c17bab5eba6814bbd13ef8e08a1617':
  FS-9636 [mod_sofia] Add sofia.conf parameter to make every transfer a nightmare transfer
2016-10-21 13:02:27 -05:00
Mike Jerris d79b9a0627 Merge pull request #1007 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9590:master to master
* commit 'bc7f60e014f1bf10214f2cd79cc6bbfe5970637f':
  FS-9590 check dtmf_type variable when negociating inbound SDP
2016-10-21 12:52:04 -05:00
Mike Jerris 5591dde7e1 Merge pull request #1009 in FS/freeswitch from ~J0SH/freeswitch:unreg-user-ev to master
* commit '5bb6742b440d6fdce44bc6d4f2fafd68cbb0004a':
  mod_sofia: Add 'username' header for expiration events.
2016-10-21 12:41:50 -05:00
Anthony Minessale 53ee060208 FS-9634 #resolve [RTCP mux is always proposed on outbound channels even if rtcp_mux chan variable is 0] 2016-10-21 12:32:22 -05:00
Brian West f432761072 swigall 2016-10-21 11:28:54 -05:00
Anthony Minessale 11066d5cf4 FS-9654 #resolve [Issue with RTP payload negotiation] 2016-10-20 15:53:39 -05:00