Commit Graph

375 Commits

Author SHA1 Message Date
fusionate 107b8a48f2
Voicemail: Default/Domain Settings to control CID Number and Date & Time playback/order. 2023-01-27 22:17:51 +00:00
fusionate 8f2e1b0cd1
IVR Menu: Implement Enabled toggle control on Options. 2023-01-23 23:45:57 +00:00
K-Flagman 581c919132
Add iphone style toggle to enable/disable ring groups destinations #6394 (#6395)
* Add iphone style toggle for destinations in ring groups

* Add iphone style toggle for destinations in ring groups

* only select enabled destination when make ring group calls

* add destination_enable filed in table v_ring_group_destinations schema

* Change destination_enabled value on to true.

* Update app_config.php

* Change destination_enabled from on to true

* Change destination_enabled to boolean

* Delete fix.css

* Will style this

* Update template.php

Co-authored-by: flagman <flagman@flagman.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
Co-authored-by: K-flagman <43560934+kapetrosyan@users.noreply.github.com>
2023-01-20 18:25:13 -07:00
FusionPBX 62a8b95a16
Use effective_caller_id_name for local caller ID name
A local call does not have caller_id_name set automatically so we need to use effective_caller_id_name
2023-01-19 14:48:18 -07:00
FusionPBX dad60ef40a
config fs_path convert to boolean
The fs_path setting from config.conf is picked up from the config as a string. The directory.lua code expects the value as boolean so we are converting it to a boolean so it can be used in that way.
2023-01-11 19:52:42 -07:00
FusionPBX 0dbbdd000e
Create shell_esc.lua 2023-01-04 19:48:36 -07:00
yois615 885c950a15
[call_center] Add uuid to lamp turn (#6518)
Agent log out from queue would have delayed lamp turn off.
Solution credit:
https://www.pbxforums.com/threads/agent-status-blf.549/page-2#post-11458
2022-12-31 11:46:58 -07:00
yois615 967445ab34
[call_center] Use agent_name or agent_id (#6520)
When logging into call center from phone, index.lua
only supports identity with agent_id.  We allow passing
agent_name as well to assist with BLF configuration.
2022-12-31 11:44:37 -07:00
FusionPBX 347874d42f
Fix mkdir by includ function an use after includes 2022-12-18 12:13:01 -07:00
demonspork 0719510ab5
Update file_cache.lua (#6507)
* Update file_cache.lua

Updated file_cache.lua to use default settings for compatibility with the removal of config.lua/local.lua. Also refactored some code for readability/nesting

* reload remote server list on cache clear
2022-12-14 10:10:34 -07:00
FusionPBX b3d201b909
Add Voicemail Greeting mp3 option 2022-12-09 15:01:27 -07:00
FusionPBX 3f4c74dac8
Simplify the speed_dial cache key 2022-12-08 21:07:25 -07:00
agree 095e1f6016
[directory.lua] Add domain_uuid to export_vars (#6493) 2022-11-15 22:22:11 -07:00
FusionPBX 2d3b41a3ee
Use wild card with sofia_contact by default. 2022-11-15 10:37:37 -07:00
FusionPBX ddcc5d3065
Fix number alias by removing code that broke it. 2022-11-14 16:48:09 -07:00
agree d9e43cda4c
set dbh if there isn't a global dbh set (#6489) 2022-11-03 10:49:22 -06:00
Tuan Nguyen c797953291
Fix Call Center max wait time with no agent reached (#6487)
Fix xml_handler when edit Max Wait Time With No Agent Reached when edit Call Center
2022-10-26 09:57:36 -06:00
levishores 63e6c5ab66
Update blf_subscribe.lua (#6482) 2022-10-24 13:09:33 -06:00
FusionPBX 2816a54a8f
Use the now() for PostgreSQL
This prevents and error for SQLite
2022-10-19 11:29:22 -06:00
FusionPBX 0bba8702a1
Add sqlite support
Example use in config.conf file.

database.1.type = sqlite
database.1.path = /var/lib/freeswitch/db
database.1.name = core.db
2022-10-19 10:57:04 -06:00
FusionPBX 2d88fc35d8
Get http_protocol from default settings 2022-10-12 11:40:38 -06:00
FusionPBX 1fd0b9976b
Add http_protocol as a default setting 2022-10-12 11:38:14 -06:00
FusionPBX eadc950298
Remove deprecated domain_count 2022-10-11 11:09:48 -06:00
FusionPBX 0a2798575c
Remove domain_count
Not needed only request domain_uuid if value is null
2022-10-11 11:07:48 -06:00
FusionPBX 122a8c1e03
Set the temp_dir variable 2022-10-11 10:59:51 -06:00
FusionPBX a52ab303e9
Remove deprecated write_config 2022-10-10 13:28:22 -06:00
FusionPBX 30ec556c4a
Remove script write_config method. 2022-10-10 13:27:50 -06:00
FusionPBX 7aa7ae4dd1
Add option to use host or hostaddr in config.conf 2022-10-10 13:08:30 -06:00
FusionPBX 26401d45c0
Replace config.lua with config.conf 2022-10-10 12:48:35 -06:00
FusionPBX adcc0ad068
Get the dial_string from default settings 2022-10-08 23:48:24 -06:00
FusionPBX 8f269a56f9
Update lazy_settings.lua 2022-10-08 23:43:51 -06:00
FusionPBX 263af5a76f
Change the indentation from two spaces to a tab. 2022-10-08 23:43:08 -06:00
FusionPBX 370139f7ef
Add sip_req_user next to sip_to_user 2022-09-26 15:19:31 -06:00
FusionPBX 2f19cf2ff4
Add sip_req_user as another alternative destination. 2022-09-26 14:46:52 -06:00
FusionPBX 49aa12067b
When using sip_to_user set before the dialplan_cache_key
To get use the sip_to_user  it needs to be set before the cache
2022-09-22 16:26:49 -06:00
FusionPBX f4b9a3331c
Change from switchname to hostname 2022-09-22 15:02:36 -06:00
FusionPBX eeec6173e0
Update dialplan.lua 2022-09-22 15:01:36 -06:00
FusionPBX 7d641711fc
Get the mime type to set vm_message_ext 2022-09-12 16:53:12 -06:00
FusionPBX 81688cb8c8
Remove transcription from if statements.
Transcription is handled using the email queue.
2022-09-12 16:07:59 -06:00
FusionPBX f63cbfaa78
Fix the find_file function when so it works with base64 2022-08-27 23:29:20 -06:00
agree d52695b29f
[fax] replace bg_system with os.execute (#6462)
to support systems that have the system commands disabled
2022-08-23 10:14:34 -06:00
yois615 6e2e54922f
Retain recording display name and reset digit timeout (#6163)
This commit fixes 2 issues:
1. The recording name was not preserved upon
rerecording

2. When selecting rerecord, the digit timeout would retain
the value of 100, preventing the user from selecting the recording
id
2022-08-22 11:15:23 -06:00
agree fa270a4ee8
[ring groups] remove unused code (#6456) 2022-08-22 11:11:59 -06:00
emak 26b3e7893b
Add Fax Queue TX Email Variables (#6460)
* Add db field to v_fax_queue to link to fax log

* Add fax_duration field to v_fax_logs

Add fax duration to db to allow for logging of this data for fax email templates.

* Add new email variables to fax send

* Fix some logging variables and fax_log_uuid

Added back some missing session variables for the fax log.

Also update the email queue db field with the fax_log_uuid to allow us to add variables to the fax email templates later.

* Update hangup_tx.lua
2022-08-19 18:08:43 -06:00
FusionPBX 68965ccf0a
Update ivr.conf.lua 2022-08-08 20:08:51 -06:00
FusionPBX f591c04f22
Update index.lua 2022-08-04 12:43:16 -06:00
FusionPBX 7103adf98f
Set accountcode variable
Set the account code variable so it can be used in the dialplan after the pin_number.lua has run.
2022-08-02 09:00:55 -06:00
emak ea4a5e7f67
Check to make sure accountcode has some value (#6440)
The accountcode variable is used in a dialstring later on and if it comes back nil for any reason, then the following error is thrown:

2022-07-22 16:19:11.524674 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/app/follow_me/index.lua:396: attempt to concatenate global 'accountcode' (a nil value)
stack traceback:
        /usr/share/freeswitch/scripts/app/follow_me/index.lua:396: in main chunk
        /usr/share/freeswitch/scripts/app.lua:48: in main chunk

This completely breaks follow-me.

This code sets the accountcode variable to the domain name if it comes back nil during script execution, thus protecting the script from failing with an empty accountcode value in the db or query.
2022-07-22 16:47:31 -06:00
FusionPBX e65d483ef7
Add contact_in_ping to Gateways (#6439)
* Add contact_in_ping to Gateways

* Update gateway_edit.php

* Update gateways.php

* Update app_languages.php

* Update sofia.conf.lua
2022-07-19 16:34:01 -06:00
FusionPBX 4669b3efba
Get the call center channel variables and set in the intercepted call. 2022-07-11 13:46:25 -06:00