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
FusionPBX
899fc18420
Use the right comments for lua.
2022-07-06 16:09:44 -06:00
FusionPBX
230ee4ab49
Vociemail, Allow play a mix of mp3 or wav files whatever exists.
2022-07-06 10:09:01 -06:00
FusionPBX
d6b1cdd63f
Prevent a problem when an IVR Option number is set without and action.
2022-06-16 10:29:01 -06:00
agree
4634e1b579
[Ring Groups] Handle 404 ( #6407 )
2022-06-13 16:08:57 -06:00
agree
dfeda45c68
email.lua fix execution from api ( #6408 )
2022-06-13 16:06:21 -06:00
FusionPBX
af6b00bf66
Update page.lua with more options check_destination_status, auto answer and alert info.
2022-06-11 00:58:00 -06:00
FusionPBX
d16dd2ae1e
Enable ability to use sip_to_user. ( #6406 )
...
* Enable ability to use sip_to_user.
* Set the sip_to_user variable.
* Update index.lua
2022-06-07 16:00:28 -06:00
Luis Daniel Lucio Quiroz
643f014181
Fix Missed Call email when Follow Me is On ( #6323 )
...
When a user has the Email Alerts for Missed Calls set, it works
As soon as there is a Follow Me configured, the email stops arriving
This patch restores the desired behaviour
2022-05-30 20:07:08 -06:00
FusionPBX
147956f655
Add bg_system to run the command as non blocking.
2022-05-27 16:58:32 -06:00
FusionPBX
5a89fa5081
Remove code from checks to see if the extension is on the phone.
...
Having the PBX check if the caller is already on the phone has not worked well at least not the approach that is getting removed in this commit. It is not the right way to solve the issue. Its better for the phone endpoint to block the intercom or auto answer when it is already on a call.
One way to do this that worked in testing was to disable call waiting. Then the call is rejected and not allowed to interrupt. the call that already exists. Expect there are also other ways to instruct the phone not to interrupt active calls when it receives a SIP message to auto answer.
2022-05-27 14:45:41 -06:00
FusionPBX
d897fad100
Replace io.popen with api:executeString
2022-05-24 16:55:25 -06:00
FusionPBX
56f8d4ba44
Replace system with api:executeString
2022-05-24 16:50:45 -06:00
FusionPBX
d5775257b4
Use system instead of io.open
2022-05-24 16:38:04 -06:00
FusionPBX
46447d83c3
Remove the transcription as this can blocking.
...
Transcription still available through email queue this way it offloads the work off of FreeSWITCH.
2022-05-24 16:32:40 -06:00
FusionPBX
2326d79113
This function is not being used.
2022-05-24 16:12:29 -06:00
FusionPBX
37e3837323
Fix a spelling mistake change Formward to Forward.
2022-05-20 09:33:50 -06:00
FusionPBX
c4556ebba4
Add cc-instance-id to callcenter.conf xml.
2022-05-19 21:55:04 -06:00
Antonio Fernandez
c73f4de8d1
BLF Presence added for Voicemail Boxes ( #6389 )
...
* BLF Presence added for Voicemail Boxes
* Newline added to the end of the blf_notify.lua script
* changed prefix of vmail to voicemail
2022-05-19 08:37:10 -06:00
FusionPBX
f13d538277
Remove a redundant ignore_early_media.
2022-05-17 13:47:53 -06:00
FusionPBX
c1f9134654
Remove ignore_early_media because its added below.
2022-05-17 13:42:44 -06:00
FusionPBX
bc9f33cde1
Remove ignore_early_media because its added below.
2022-05-17 12:46:32 -06:00
FusionPBX
a4c0e93cbe
Only one row allowed so added limit 1.
2022-05-07 09:02:58 -06:00
FusionPBX
791d0046c0
Add an option to the select Greeting: none ( #6356 )
...
* Update play_greeting.lua
* Update voicemail_edit.php
2022-05-02 12:09:20 -06:00
FusionPBX
9ab10fd1d4
Used to prevent a race condition for feature key Sync
2022-04-21 22:02:42 -06:00
FusionPBX
652f128f81
Adjust fax_success if not equal to 1 then set to trying.
2022-04-20 23:44:12 -06:00
FusionPBX
48056196bc
Add fax destination and update the caller ID.
2022-04-20 23:05:03 -06:00
FusionPBX
0c0f07d994
Update hangup_tx.lua
2022-04-20 21:58:01 -06:00
FusionPBX
e158b2d264
Update hangup_tx.lua
2022-04-02 23:28:55 -06:00
FusionPBX
a66580eaa1
Update hangup_rx.lua
...
Enabled for now until code is completed to replace it.
2022-04-02 23:28:17 -06:00
FusionPBX
929d8cbaab
Create hangup_tx.lua
2022-04-02 22:54:04 -06:00
FusionPBX
443812cb86
New code here needs more testing.
...
Removing this code for now to keep it stable.
2022-03-31 19:55:44 -06:00
FusionPBX
6bde557e97
Update hangup_rx.lua
2022-03-31 17:16:49 -06:00
FusionPBX
9a563eb800
Add domain_enabled and remove found variable.
2022-03-29 10:31:43 -06:00
FusionPBX
04f12cbf85
If the domain enabled is false disable endpoint registration.
2022-03-28 12:15:24 -06:00
FusionPBX
291277bf4b
Update hangup_rx.lua
...
Working on replacing this php command for sending the email. It appears this is locking freeswitch and not completing.
Reverting this commit.
- 63e1f7741e
2022-03-23 11:06:15 -06:00
emak
8aaa3a6b9a
Add variables to fax send email templates ( #6326 )
2022-03-21 09:32:35 -06:00
FusionPBX
8b9a67f4b9
set email_uuid if not provided
2022-03-17 11:58:08 -06:00
FusionPBX
32b920b917
Get session data for the email headers
2022-03-17 11:57:00 -06:00
hershyheilpern
ac25d12f4a
add ring groups option to call block ( #6285 )
...
* add ring groups option to call block
* add ring groups option to call block
* add ring groups option to call block
* add ring groups option to call block
* add ring groups option to call block
2022-02-03 18:31:14 -07:00
FusionPBX
3652b0258a
Add speed dial global option.
2022-02-03 10:39:30 -07:00
FusionPBX
0d6af4eb92
When re-record option is used don't request the recoding_id again.
2022-01-25 17:20:23 -07:00
FusionPBX
dc85871009
Fix the caller ID information for DISA
2022-01-22 14:07:04 -07:00
FusionPBX
63e1f7741e
Fix inbound fax using alternative to system command.
...
This is needed because FreeSWITCH has made it possible to disable the system command.
2022-01-21 11:34:48 -07:00
FusionPBX
d4ab7ed9bf
Fix the Caller ID name.
2022-01-19 10:33:42 -07:00
FusionPBX
c084373d0a
Add a new permissions variable.
2022-01-17 10:09:12 -07:00
FusionPBX
daf9694c7c
Add from_address to the send_mail function for missed call emails.
2022-01-12 12:04:56 -07:00
FusionPBX
9e18d5a13d
Add the fax call uuid and add include for send_mail function.
2022-01-10 12:06:24 -07:00
FusionPBX
6815388b73
Get the email from_address using default settings.
2022-01-10 11:02:37 -07:00
agree
e3e41624e2
[send_mail] return freeswitch.email Boolean value ( #6231 )
2022-01-09 08:53:40 -07:00
FusionPBX
3f144a35a4
Add from in a few more places.
2022-01-03 15:31:30 -07:00
FusionPBX
05cae1be62
Remove local so the email_from has a value outside the if statement.
2021-12-29 15:30:15 -07:00
FusionPBX
71147dcb7e
Have the email.lua function use the send_mail function.
2021-12-29 15:08:28 -07:00
FusionPBX
2c7cfbe44f
Account for bridge variables and more advanced agent contact string.
...
If using the { and } with the contact string it would add an extra } bracket. The following changes remove the extra bracket and account for more of the bridge variables.
2021-12-29 14:29:17 -07:00
FusionPBX
eefd5e78ef
Add from send_mail function consistently. ( #6216 )
...
* Update send_mail.lua
* send_mail send nil email_from
* Update index.lua
* Update send_email.lua
* Use the lua send_mail function.
* Update index.lua
* Update index.lua
* Replace freeswitch.email with send_email lua function.
* Replace email.lua with the send_mail function.
2021-12-29 11:44:49 -07:00
FusionPBX
5f88e3ca87
Fix call block hold music to play the hold music.
...
Allows defining hold_music in the dialplan for a custom music on hold.
2021-12-17 15:13:07 -07:00
yois615
84fdf89b34
bind_digit_action for B-leg during internal call ( #6157 )
...
The existing code only binds properly when one leg
is not internal. Here we use LUA to bind the bleg
for internal calls.
2021-12-15 14:45:04 -07:00
yois615
45f48b23a8
[directory] Use effective_caller_id_name when directory_first_name blank ( #6193 )
...
The database contains directory_first_name entries that are blank, and the
table does not populate properly. Use effective_caller_id_name when a
nil or blank entry is found.
2021-12-15 14:43:12 -07:00
FusionPBX
72c9aa5a61
Conference Center - Change accountcode to account_code.
2021-12-05 00:57:27 -07:00
FusionPBX
cca7b364e5
Option to request accountcode when setting accountcode_enabled is set to true. ( #6171 )
2021-12-03 23:28:01 -07:00
agree
5e760a363f
[feature event] Don't update extension dial string ( #6166 )
...
* [feature event] Don't update extension dial string
* remove comma
* [feature_event] dnd don't update follow me and forward all
* cleaned up some code
2021-12-02 17:45:01 -07:00
agree
c94a7f5081
[xml handler] Fix error channel ( #6167 )
...
using !USER_BUSY gives an error `Could not locate channel type !USER_BUSY`
2021-12-02 17:42:23 -07:00
FusionPBX
a61cfa4020
Remove mkdir ( #6169 )
...
* Remove mkdir
* Delete app/scripts/resources/scripts/app/messages/resources directory
* Use curl instead of system curl.
* Update file_cache.lua
2021-12-02 17:30:14 -07:00
yois615
6c31c0a4a2
Add line endings to Console logs ( #6103 )
2021-11-22 09:08:03 -07:00
agree
b02cb75620
[voicemail] Add option whether to delete or keep message after forwarding ( #5985 )
...
* [voicemail] Add option whether to delete or save message after forwarding
* Fix recording playback
phrase doesn't exist
2021-11-09 13:57:16 -07:00
emak
0b76d90875
Add press * to return to previous menu ( #6064 )
...
Added the ability to press * to transfer back to the previous menu based on value of ${rdnis}.
2021-10-29 14:31:56 -06:00
agree
cab67fbb9e
[voicemail] remove not existing phrase ( #6075 )
2021-10-28 09:44:59 -06:00
agree
113ade4fc5
[follow me] Persist follow me enabled when enabling DND or call forward ( #6076 )
...
If follow-me is enabled and then turning on DND or call-forward, follow-me should be enabled when disabling the DND or the call-forward.
2021-10-28 09:44:27 -06:00
FusionPBX
0c91ac4feb
Don't use the extension dial_string to set the phone on DND.
2021-10-14 01:02:00 -06:00
hershyheilpern
23f95137f4
Add IVR Option to Call Block ( #6059 )
...
* add ivr option to call block
2021-10-14 00:27:59 -06:00
markjcrane
e429756307
Change error/user_busy to USER_BUSY
2021-09-18 23:26:21 -06:00
agree
7fd5f53384
Voicemail use tail calls ( #5984 )
...
reference https://www.lua.org/pil/6.3.html
2021-09-18 10:36:37 -06:00