Commit Graph

357 Commits

Author SHA1 Message Date
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
FusionPBX 17a7dff859
Delete commented out lines. 2021-09-18 10:34:28 -06:00
Luis Daniel Lucio Quiroz a66135e352
[4.5] Fix doube ivr_menu_cid_prefix (#6015)
You already do that in the dialplan, no need to do it here
2021-09-18 10:32:16 -06:00
agree f17a4e2e8e
[follow me] *21 don't null dial string (#6051)
* [follow me] *21 don't null dial string
2021-09-18 10:28:19 -06:00
FusionPBX 7353170563
Channel variable request_id=true is no longer needed. 2021-09-16 13:18:18 -06:00
markjcrane 11fd9ed86b Add sofia global settings 2021-09-04 22:31:07 -06:00
agree a2e4fd00bd
[Extension] Don't null dial_string when enable/disable follow me or dnd (#6000) 2021-08-25 10:28:26 -06:00
agree b0fef5135c
ring group lua minor improvement (#5998)
ring_group_distinctive_ring is always an empty string
2021-08-20 18:28:40 -06:00
FusionPBX e5df624536
Update page.lua 2021-08-02 17:13:00 -06:00
FusionPBX 9dc93980e1
Move show channels outside the loop to make it for more efficient. 2021-08-02 17:10:43 -06:00
FusionPBX 2bcb3b343b
Replace show channels like
Like statement failed for a customer replaced with show channels then search the results to destination is available or busy.
2021-08-02 16:47:47 -06:00
FusionPBX d9be32d422
Add [find_file.lua] to the logging and show file that wasn't found. 2021-07-08 12:41:22 -06:00
chansizzle 398b52fa23
date and time moved to envelope information (#5982) 2021-06-26 10:40:06 -06:00
FusionPBX 7bbdb8160f
Improve the code comment 2021-06-22 11:10:32 -06:00
FusionPBX 3a063bc2ff
Update call_flow_monitor.lua 2021-06-22 10:02:09 -06:00
chansizzle 87d47fe961
create voicemail envelope information option (#5966)
* create voicemail envelope information option

* Update voicemail.xml
2021-06-21 16:16:47 -06:00
agree 13c5d984f2
[voicemail] Add # option to go to next recording without saving the message (#5973)
This useful for shared voicemail boxes and a voicemail is meant for someone else or a person doesn't want yet to mark the voicemail as saved
2021-06-12 13:42:47 -06:00
emaktech f44467a2b5
Remove these as they break HTML emails. (#5969)
* Remove these as they break HTML emails. 
*  Remove quotes from Caller ID name and number. 

Same as following commits:

29c1d52533
c93c20c4e1
2021-06-10 01:10:32 -06:00
emaktech e9207b114e
Update index.lua (#5970)
* Remove these as they break HTML emails. 
* Remove quotes from Caller ID name and number. 

Same as following commits:

29c1d52533
c93c20c4e1
2021-06-10 01:09:58 -06:00
emaktech 0891590141
Remove these as they break HTML emails. (#5971)
* Remove these as they break HTML emails. 
* Remove quotes from Caller ID name and number. 

Same as following commits:

29c1d52533
c93c20c4e1
2021-06-10 01:09:29 -06:00
emaktech f6a5d171ca
Remove these as they break HTML emails. (#5972)
* Remove these as they break HTML emails. 
* Remove quotes from Caller ID name and number. 

Same as following commits:

29c1d52533
c93c20c4e1
2021-06-10 01:09:07 -06:00
markjcrane 9bf7b8c8ef Deprecate the meetings table and move the moderator and participant pins to the conference rooms table 2021-05-27 02:30:49 -06:00
FusionPBX c93c20c4e1
Remove quotes from Caller ID name and number. 2021-05-20 12:15:14 -06:00
FusionPBX 29c1d52533
Remove these as they break HTML emails. 2021-05-20 12:00:17 -06:00
FusionPBX e52cd61887
Merge pull request #5924 from greenbea/patch-34
[voicemail] allow setting greeting_number_id to default
2021-05-13 23:14:40 -06:00
markjcrane a7b014df6a Set session variables conference_room_uuid and conference_room_name 2021-05-07 18:19:40 -06:00
markjcrane 3ce6855116 Add hold_music support to ring groups 2021-05-06 15:09:34 -06:00
agree 60220abf33
[RIng Group] Improve presence
the whole point of ring group presence is to monitor the ringing state If the call was bridged or went to timeout destination the presence should be set to terminated
2021-05-03 17:26:49 -04:00
agree 09e5280f3e
[voicemail] allow setting greeting_number_id to defualt 2021-04-29 16:43:39 -04:00
FusionPBX 77064157d5
Merge pull request #5756 from greenbea/patch-19
IVR Menu fix menu options with same length as direct dial regex
2021-04-28 11:33:26 -06:00
FusionPBX 849c93ffd9
Merge pull request #5921 from greenbea/patch-32
Add presence support for ring groups
2021-04-27 22:43:15 -06:00
markjcrane a6e59c3522 Call Center Queue name change from uuid@domain to extension@domain 2021-04-27 22:42:09 -06:00
agree 17d35e6501 Ring group presence add missing channel variable
without presence_id set freeswitch won't update any presence changes for
a call
2021-04-27 23:34:36 -04:00
agree 00526b4334 Add presence support for ring groups 2021-04-27 11:55:19 -04:00
FusionPBX 55e2316a11
Merge pull request #5894 from greenbea/patch-29
Add max registrations per extension setting
2021-04-23 10:36:01 -06:00
FusionPBX c7076a9883
Merge pull request #5896 from konradSC/patch-91
MWI for Multi Registrations on Multi Profiles
2021-04-23 08:03:41 -06:00
agree 69e892e790 [callcenter] Add ability for callcenter presence
* Freeswitch requires callcenters to have queue_name@domain for presence to work
2021-04-22 18:51:25 -04:00
konradSC ac388f9229
MWI for Multi Registrations on Multi Profiles
Sometimes you can have multiple registrations for the same extension across multiple SIP profiles. This adds the functionality to fire an event for each unique SIP profile. I also added a check to see if we have already send an event for a profile since you don't want multiple events fired one SIP profile.
2021-04-16 11:08:57 -04:00
agree 5967dfbfaf Add max registrations per extension setting 2021-04-11 00:28:06 -04:00
demonspork d53bac7f55 Dialplan Fix for Feature Key Sync Race
This is a dialplan approach to fix the feature key sync loop/race with yealink phones. This aproach may also need to be extended to the Call Forward dialplans as well. It limits the number of simultaneous calls for a particular user to change their DND/Forwarding status to a single call at a time. This prevents the infinite loops that the yealinks can get into if the user presses the DND button too quickly with feature key sync enabled.

I am also reverting the lua fix because it was not reliable and can still easily allow the loop to occur.
2021-04-06 15:35:40 -05:00
nemerald-voip 65c80c7d55 Fix broken script 2021-03-31 16:33:54 -07:00
nemerald-voip 6560f39c1d rebase file 2021-03-31 09:02:46 -07:00
nemerald-voip c1057293b5 Fix voicemail transcription using Google
Transcriptions using Google were broken after last commit. 
transcribe_alternate_language was not defined anywhere it Google would return 400 error.
Added variable to fix the issue
2021-03-31 08:51:59 -07:00
FusionPBX 49adc1922a
Merge pull request #5802 from netpro25/patch-1
Small error in Fax Retry.lua
2021-03-22 23:39:25 -06:00
FusionPBX 0af832a0a7
Merge pull request #5842 from junction1153/patch-9
Update record_message.lua
2021-03-22 22:06:26 -06:00
FusionPBX 325f4f1513
Change socket.sleep(0.2) to freeswitch.msleep(200) 2021-03-22 15:18:57 -06:00
Joseph 92fd572b33
Update record_message.lua
Additional flexibility for google transcription
2021-03-20 20:40:50 -04:00