Commit Graph

226 Commits

Author SHA1 Message Date
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
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
demonspork
3ef6cf05db Merge branch 'master' into Fix-DND-Feature-Sync-Loop 2021-03-19 11:12:44 -05:00
demonspork
cf1dfe9070 Fix DND Feature Sync loop
Add Delay to prevent infinite feature key Loops on some phones (Yealink....)
2021-03-18 20:05:31 -05:00
Andrew Querol
7217da15f0 Update the feature event LUA code to match the fix in PHP
This renames `get_profile` to `get_profiles` which either returns nil for no profiles or a array of unique profiles.

Then each function that used to take the single sip_profile was updated to take this array and send events to each profile the user is part of.
2021-03-18 09:31:22 -05:00
FusionPBX
71532a0cea Merge pull request #5805 from demonspork/patch-2
Fix follow_me_uuid error when enabling DND
2021-03-17 17:44:28 -06:00
Luis Daniel Lucio Quiroz
fa12c4daea Update dtmf_handler.lua
Event-Date-Timestamp resolution is in microseconds, transfer_history is only seconds. We need have the same key.
2021-03-17 19:19:55 -04:00
Luis Daniel Lucio Quiroz
908e7f67d6 Update dtmf_handler.lua 2021-03-17 12:02:54 -04:00
Luis Daniel Lucio Quiroz
fc96e3ae77 DTMF handling
this will give the dtmf_history (similar to the transfer_history variable)

the use cases of this are only limited to the imagination
2021-03-16 15:43:21 -04:00
Andrew Querol
78276cb258 Only send MWI notifications for enabled voicemail boxes. 2021-03-11 11:55:02 -06:00
demonspork
d7eccddf25 Fix follow_me_uuid error when enabling DND
The follow me update code in do_not_disturb.lua was being executed even when the follow me uuid didn't exist. Let me know if this is the wrong approach to fix this in lua, I'm not particularly well versed in this but this seemed to have fixed it in my testing.

I have some concerns about this section of code in general though, it seems that enabling server side DND will turn off follow me, but then turning off DND won't return follow me to its original state. Is this the intended behavior? and if so we might need to make a workaround.
2021-03-11 11:29:05 -06:00
Marcel Manning
f03224cf16 Update retry.lua
Zero should not be wrapped in double quotes as it's causing an SQL error.

PGRES_FATAL_ERROR
2021-03-11 10:30:47.738673 [ERR] switch_pgsql.c:680 Error executing query:
ERROR:  invalid input syntax for type numeric: "'0'"
LINE 1: ...p/c8505148-1b02-4f6f-9157-b5cf64ebcc4d.tif','','','''0''',''...
                                                             ^
2021-03-11 10:59:11 -05:00
FusionPBX
f455e8fa94 Make sure the database object is accessible to Settings ojbect. 2021-03-08 18:12:31 -07:00
FusionPBX
5b3f849b4a Remove forward_caller_id_uuid field and minor code cleanup.
Minor code cleanup improve indentation, trailing spaces and add some line feeds.
2021-03-06 09:43:31 -07:00
FusionPBX
7cb17effe8 Remove follow_me_caller_id_uuid field. 2021-03-06 09:26:19 -07:00
FusionPBX
4f8413cc6a Remove forward_caller_id_uuid field. 2021-03-06 09:00:00 -07:00
FusionPBX
8e79821304 Remove forward_caller_id_uuid field. 2021-03-06 08:59:12 -07:00
FusionPBX
e69bebcbe8 Merge pull request #5778 from demonspork/cdr-stats-improvements
Improved Missed Call accuracy, cdr statistics, and hide duplicated CDRs from Enterprise Ring Groups
2021-02-24 17:37:27 -07:00
FusionPBX
fe92309901 Update index.lua 2021-02-23 21:00:56 -07:00
FusionPBX
d2ff58ee42 Update index.lua
Added a commented out resync option.
2021-02-23 20:56:37 -07:00
demonspork
c11589b1c3 Track Voicemail Message Success/Failure in CDR
Track whether or not a message was actually left in the voicemail box. Previously we only knew that voicemail answered, now we know whether the caller left a message.
Callers who didn't leave a message now show up in the "Cancelled" call filter in xml_cdr.php

Bonus: Fixed a bug with the originating_leg_uuid that was breaking extension summary from a previous commit and some other minor bugs/typos.
2021-02-21 21:09:37 -06:00
agree
74c7f236ff Follow me fix call recording 2021-02-11 12:59:34 -05:00
FusionPBX
34f6d3e068 Add support for extension_settings. 2021-02-09 13:23:59 -07:00
agree
b7eef0e69e Fix negative lookahead 2021-02-03 23:29:10 -05:00
FusionPBX
f43910e328 Update ivr.conf.lua 2021-02-03 16:25:08 -07:00
agree
c4dfb7ce59 IVR Menu fix menu options with same length as direct dial regex 2021-02-03 17:23:51 -05:00
agree
9ad77b64bd Ring group fix missed call alert 2021-02-03 12:18:34 -05:00
agree
a39a65d21e ring group release database handle before bridge 2021-02-02 12:58:23 -05:00
agree
5fda5d811f call center agent record 2021-01-29 13:56:04 -05:00
konradSC
5efca5afa7 Bug Fix: No beep when bypassing the greeting
We found that callers were not hearing the tone_stream if they pressed "#" to bypass the voicemail greeting. Inserting a very brief silence_stream seems to fix the issue.
2021-01-15 08:31:21 -05:00
FusionPBX
597955da06 Add a feature for global call block. 2021-01-01 23:20:17 -07:00
FusionPBX
2931445c91 Get the domain_name with a different approach to fix global inbound routes. 2020-12-21 15:35:59 -07:00
FusionPBX
64822a388c Missing message_status to listen to the recording again.
Missing message_status to listen to the recording again causes to error out and return to the main menu without it.
2020-12-17 09:00:02 -07:00