Commit Graph

1406 Commits

Author SHA1 Message Date
FusionPBX 43542213bd
Update index.lua 2019-02-20 08:34:18 -07:00
FusionPBX 51802612ba
Update macro.lua 2019-02-19 19:34:40 -07:00
FusionPBX 653b5a21a1
Update macro.lua 2019-02-19 19:33:25 -07:00
FusionPBX 216ac099e3
Update index.lua 2019-02-12 18:22:35 -07:00
FusionPBX 0420d20440
Update index.lua 2019-02-09 08:17:30 -07:00
FusionPBX de5e2213f1
Update 010_user_record.lua.noload 2019-02-08 08:10:06 -07:00
FusionPBX 6909e2abf3
Update index.lua 2019-02-05 19:55:24 -07:00
FusionPBX 7ad76f2077
Update 010_get_domain.lua.noload 2019-02-05 19:34:34 -07:00
FusionPBX ce842f9bd8
Update directory.lua 2019-02-05 19:26:26 -07:00
FusionPBX 1a17d73089
Update dial_string.lua 2019-02-05 18:22:29 -07:00
FusionPBX fa232dc6c5
Update index.lua 2019-02-05 18:14:28 -07:00
FusionPBX 46203abf6a
Update languages.lua 2019-02-03 12:54:37 -07:00
FusionPBX ebd99156f1
Update dialplan.lua 2019-02-03 12:51:03 -07:00
FusionPBX 156cc06dc5
Update index.lua 2019-02-02 18:00:59 -07:00
FusionPBX cfa40bcdc5
Update call_forward.lua (#3976) 2019-01-24 22:55:52 -07:00
konradSC a90fc77176 Ring Groups with Follow-Me (#3970)
Two things:

1. Follow-me should only kick in when using "Enterprise". As it was written, follow-me was looked at for every strategy. 

2. Follow-me destinations were writing to 'destinations[x]'. They should write to 'destinations[key]' so they rewrite the current destination that is being analyzed.
2019-01-22 11:03:28 -07:00
ednt 0ffb8d4c7d To allow recording termination when the extension is entered by menu (*98) (#3956)
It was not possible to terminate a recording with a keypress when *98 was used.
*98ext was working.
2019-01-09 13:49:08 -07:00
FusionPBX a013c5fc05
Update index.lua 2019-01-03 17:20:33 -07:00
FusionPBX 21c0c3492e
Update index.lua 2018-12-23 12:07:24 -07:00
borisk1976 2771fe837a Update index.lua (#3953)
When bridge application ends with "originate_disposition: ALLOTTED_TIMEOUT" for example, the "missed call" feature doesn't work for ring group because of hangup hook isn't called. Should we just avoid using this channel variable or add additional processing at the end? Like for timeout action? I choose to call "missed" at the end of script. But may be we should add it to other places too?
2018-12-23 12:06:40 -07:00
FusionPBX 6a08d9d1cc
Update index.lua 2018-12-19 00:24:50 -07:00
FusionPBX 46976455a4
Update index.lua 2018-12-18 23:44:33 -07:00
FusionPBX 7f231c775b
Update index.lua 2018-12-18 23:43:35 -07:00
FusionPBX e1792f5612
Update index.lua 2018-12-18 20:08:42 -07:00
FusionPBX ec80177c41
Update index.lua 2018-12-18 20:06:39 -07:00
konradSC 511594a5c2 Update recordings.lua (#3941)
Keep recording descriptions when overwriting a slot.
2018-12-10 09:30:02 -07:00
konradSC b402cca8ba Update recordings.lua (#3937)
Bug fix. Allow for nil and blank entries.
2018-12-07 12:13:05 -07:00
Zachary Kitchen f4e022ec04 Fix IVR (#3898)
IVR was broken after previous update/change.
2018-12-04 00:15:02 -07:00
timando 804b7ca91e Make storage_path and storage_type = http_cache work (#3892)
* Make storage_path work

if storage_path was set, the script would fail. I have fixed it by removing the references to unset variables. I also made the recordings use the path.

* Update ivr.conf.lua

Add storage_path definition so storage_type of http_cache works correctly
2018-12-03 20:25:04 -07:00
konradSC 2843c947b0 BLF of agent status "agent+username@domain.com (#3860)
* BLF of agent status "agent+username@domain.com

Add the ability to monitor the availability status of a call center agent with "agent+agentname@domain.com".

* Update index.lua

Send notify to blf with "agent+agentname@domain.com"
2018-11-19 16:39:54 -06:00
danry25 b16bbd9536 Minor variable renaming per IRC conversation (#3758) 2018-11-08 00:58:39 -07:00
danry25 3b090e175f Selfhosted Transcription Service (#3753)
* Added a simple selfhosted voicemail transcription API client

* Minor logging cleanup

* Add some string escaping to handle transcription providers

* Add JSON handling (optional) to selfhosted API
2018-11-07 00:39:20 -07:00
FusionPBX 9d0be4c15d
Update events.lua 2018-11-01 15:07:16 -06:00
FusionPBX 4bd0295b67
Update index.lua 2018-10-30 21:44:31 -06:00
sergey-mz 2a99ebd1da Added check if transcription result is nil (#3724)
If the message is too short then the result is nil.
Error occurs in this case: record_message.lua:97: attempt to index field 'results' (a nil value) 
Added check if transcribe_json["results"] is nil.
2018-10-26 10:25:08 -06:00
FusionPBX 663d592489
Update follow_me.lua 2018-10-05 14:08:42 -06:00
FusionPBX dabcef8992
Update index.lua 2018-10-05 13:42:49 -06:00
FusionPBX 74d9df937b
Update events.lua 2018-09-19 03:01:09 -04:00
FusionPBX 27d713e790
Update events.lua 2018-09-19 02:59:51 -04:00
FusionPBX a3a626e6aa
Create events.lua 2018-09-19 02:54:56 -04:00
FusionPBX 45124a9599
Update send.lua 2018-09-19 02:51:40 -04:00
konradSC 1408cc2029 Update file_cache.lua (#3483)
A little space please!
2018-09-18 13:06:44 -06:00
FusionPBX 1e04bb4218
Create send.lua 2018-09-16 21:59:42 -06:00
FusionPBX 1bed4f35a3
Update directory.lua 2018-09-10 13:36:55 -06:00
konradSC 00966a4735 Update file_cache.lua (#3402)
Run OS command through Freeswitch for better performance. Running OS commands directly from lua can cause RTP timing issues.
2018-09-06 17:45:33 -06:00
FusionPBX 254e2448a2
Update index.lua 2018-08-26 11:30:47 -06:00
FusionPBX aa7760c9d3
Update index.lua 2018-08-24 13:57:16 -06:00
FusionPBX 9b71358cd3
Update index.lua 2018-08-24 13:55:32 -06:00
FusionPBX e47af57b08
Update directory.lua 2018-08-14 11:02:47 -06:00
FusionPBX 6ffd12adf4
Update confirm.lua 2018-08-06 12:18:22 -06:00
FusionPBX c43d682f09
Update dialplan.lua 2018-08-03 11:21:16 -06:00
FusionPBX c04e2bfe68
Update index.lua 2018-08-01 22:44:03 -06:00
FusionPBX 1da0983dbf
Update call_forward.lua 2018-06-26 11:54:26 -06:00
ednt 7fe3aac2bb Update index.lua (#3196)
A reboot for snom provisioning is not needed.
2018-06-26 11:45:12 -06:00
FusionPBX 727b8a01c2
Update index.lua 2018-06-25 10:35:47 -06:00
FusionPBX 4bd7e18e79
Update route_to_bridge.lua 2018-06-18 17:43:25 -06:00
FusionPBX 4efcb6d84f
Update index.lua 2018-06-06 23:08:34 -06:00
FusionPBX db3a4fb5f3
Update index.lua 2018-06-06 21:10:23 -06:00
FusionPBX b6336f7d21
Update disa.lua 2018-05-30 19:54:11 -06:00
Caleb 8d99ab2a1c Added support for authentication via voicemail box passwords (#3076) 2018-05-30 19:52:52 -06:00
FusionPBX 3235eadd2d
Update mkdir.lua 2018-05-30 10:54:01 -06:00
FusionPBX 45cce55fdf
Update call_forward.lua 2018-05-09 22:47:21 -06:00
FusionPBX bd48a006a8
Update call_forward.lua 2018-05-09 22:45:55 -06:00
FusionPBX 08850a4323
Update index.lua 2018-05-09 09:57:47 -06:00
konradSC ff23a9c69c Bug Fix: Wrong Variable Type (#3050)
The variable "external" is set as a String not as a Boolean. Changed the If statement to reflect.
2018-05-09 09:54:41 -06:00
FusionPBX 41a2a18a0a
Update index.lua 2018-05-09 09:48:48 -06:00
FusionPBX 8bef63a8e0
Update index.lua 2018-05-09 09:07:40 -06:00
FusionPBX ebe56cd38c
Update index.lua 2018-05-09 09:01:56 -06:00
The-Operator 57e0905a36 Enhance Call Blocking [master] (#2988)
* Added support for regular expressions in the numbers to be blocked.
Reduced the caching timeout, as the counter is only incremented when a call is blocked and the number is not cached.

* Added default sort order.

* Added option to switch on/off use of regular expression matching for pgsql and mysql.

* Added support for sqlite and updated default number match to "LIKE" as suggested by MafooUK on IRC.

* Selection of behavior (default [=], regex or like matching) is now done via the variable call_block_matching = regex|like|EMPTY - type text - in the Call Block section of Default Settings.

* Updated comment to match new matching.
2018-05-08 08:50:57 -06:00
FusionPBX 9b7d4e4f80
Update index.lua 2018-05-07 19:59:41 -06:00
FusionPBX 8f25154950
Update index.lua 2018-05-06 13:10:08 -06:00
konradSC cfff4beb2b Use Freeswitch for mkdir (#3049)
This change reduces  the strain on the system by running the OS command through Freeswitch rather than directly from Lua. When running directly from Lua it causes RTP jitter in a high capacity system.
2018-05-04 13:32:36 -06:00
FusionPBX f7b57ebb3e
Update dialplan.lua 2018-05-03 15:19:23 -06:00
FusionPBX a9458de5df
Update record_greeting.lua 2018-04-30 10:32:05 -06:00
afanucchi 0983f3ec97 Allow call forwarding to be enabled and set by argument in INVITE. Useful for softkey on hard phones. (#3035) 2018-04-27 00:44:43 -06:00
Luis Daniel Lucio Quiroz fac71ed1da Same as 4.4 (#3040)
...
2018-04-26 14:42:23 -06:00
FusionPBX c4a0d01f40
Update index.lua 2018-04-25 21:19:31 -06:00
FusionPBX dce574b987
Update index.lua 2018-04-20 09:33:33 -06:00
FusionPBX 1ed83d341b
Update index.lua 2018-04-09 16:15:52 -06:00
FusionPBX deb40fa846
Update index.lua 2018-04-09 15:26:25 -06:00
FusionPBX 1217da9668
Update index.lua 2018-04-09 10:40:05 -06:00
FusionPBX 830dd27022
Update index.lua 2018-04-05 20:02:24 -06:00
FusionPBX 92d4e8e906
Update index.lua 2018-03-31 13:05:21 -06:00
FusionPBX aa636c0c74
Update callcenter.conf.lua 2018-03-31 11:13:08 -06:00
FusionPBX 89121398aa
Update index.lua 2018-03-28 22:40:55 -06:00
FusionPBX df373bfe9c
Update index.lua 2018-03-24 17:33:49 -06:00
FusionPBX 91e5344bc1
Update index.lua 2018-03-24 17:33:10 -06:00
FusionPBX 969502f70e
Update index.lua 2018-03-24 15:45:11 -06:00
FusionPBX c140c01668
Update index.lua 2018-03-24 15:38:10 -06:00
FusionPBX d3f7c5eb2a
Update index.lua 2018-03-24 15:35:32 -06:00
FusionPBX f374f0e521
Update index.lua 2018-03-24 15:34:54 -06:00
FusionPBX 1f45620624
Update index.lua 2018-03-24 15:24:43 -06:00
FusionPBX 3fb1e146ba
Update send_email.lua 2018-03-24 15:16:33 -06:00
FusionPBX 7d002c9f2e
Update index.lua 2018-03-16 00:44:11 -06:00
Caleb 5ea386da9e Changed NOTIFY Event header for Grandstream phones (#3014)
Changed SIP NOTIFY Event header for Grandstream phones to allow provisioning with out requiring a reboot of the device. Based on communication with a Grandstream support rep. Tested on Grandstream GXP2130 and GXP2160 models.
2018-03-07 13:51:22 -07:00
FusionPBX 791fc57f5c
Update index.lua 2018-02-22 12:47:47 -07:00
FusionPBX 4db64e5085
Update index.lua 2018-02-22 10:12:45 -07:00
ednt 6132599550 Update fax_retry.lua (#2994)
If the fax transmission fails the first time, the ident and header was not transmitted during the retries.
2018-02-15 09:19:05 -07:00
FusionPBX 6704dbeea2
Ring Groups route_to_bridge was fixed re-add it to the code. 2018-02-11 10:22:25 -07:00
Alexey Melnichuk eb72f3d5ce Change. library loads only needed files. (#2987) 2018-02-11 08:56:01 -07:00
FusionPBX 13575adba3
Update index.lua 2018-02-10 15:48:18 -07:00
FusionPBX 7bd18aa44b
Update call_flow.lua 2018-02-10 15:34:27 -07:00
FusionPBX 9cc13cd7d4
Update find_file.lua 2018-02-10 15:32:36 -07:00
FusionPBX 5412489442
Update call_flow.lua 2018-02-10 15:14:42 -07:00
FusionPBX 776c2d0b93
Update call_flow.lua 2018-02-10 15:14:22 -07:00
FusionPBX 129a9b5986
Create basename.lua 2018-02-10 13:42:02 -07:00
FusionPBX 39c4530cfd
Update find_file.lua 2018-02-10 13:40:45 -07:00
FusionPBX 4e0edb644c
Create is_absolute_path.lua 2018-02-10 13:39:54 -07:00
FusionPBX 90f5a3a16a
Create find_file.lua 2018-02-10 13:38:17 -07:00
FusionPBX 0c338047cf
Create play_file.lua 2018-02-10 13:35:07 -07:00
Alexey Melnichuk f82f73bc44 Fix. Use preloaded dialplan more then once. (#2986) 2018-02-10 13:27:07 -07:00
markjcrane b32cbd537c Remove the code changes that used route to bridge code as it broke calling multiple external destinations for Ring Groups. 2018-02-08 11:33:08 -07:00
FusionPBX 776016871e
Update send_mail.lua 2018-02-06 18:15:05 -07:00
Mafoo fca2e08a7f Enhance - send_mail.lua (#2978)
use the to address when email:smtp_from:var is empty
don't use email:smtp_from_name:var when empty
2018-02-06 17:45:53 -07:00
Mafoo d92adacc28 BugFix - send_mail.lua (#2977)
use correct header to retrieve call_uuid
2018-02-06 17:28:00 -07:00
Connor Strandt fc72b2250c update index.lua (#2976)
re-formatted table.
2018-02-06 00:09:52 -07:00
FusionPBX 16ff738c5b
Update index.lua 2018-02-05 23:56:22 -07:00
FusionPBX 3db4ecb08c
Update send_mail.lua
Remove this as it caused a nil error app/hangup/index.lua.
2018-02-05 23:47:36 -07:00
FusionPBX 7f201a8097
Update send_mail.lua
Revert the previous commit as it broke send_email.lua.
2018-02-05 22:23:18 -07:00
FusionPBX 5c092b8f57
Update send_mail.lua
Fix a spelling mistake.
2018-02-02 19:35:02 -07:00
Mafoo e06f21ccf3 BugFix - LUA send_mail() (#2975)
take call_uuid from the correct header
use smtp_from_name as part of the from address
2018-02-02 19:33:43 -07:00
Mafoo 9724c1384e BugFix - make hangup and failure use send_mail() (#2974)
change the failure_handler and hangup apps use
resources.functions.send_mail so they can use the correct smtp_from*
settings
2018-02-02 19:33:30 -07:00
Connor Strandt ff1ddaa1ae Formatting and sendmail to use smtp_from fix (#2973)
* Fixed formatting.
* Sendmail to use smtp_from variable

Changed sendmail to use smtp_from as the from address to keep from being blocked by spf check during spam filtering on recieving end.
2018-02-02 01:02:57 -07:00
FusionPBX d877dd0652
Update languages.lua
Prevent a nill error when the phrase was not found.
2018-01-31 14:45:24 -07:00
FusionPBX 704494c381
Update index.lua 2018-01-22 10:46:06 -07:00
FusionPBX debb46c221
Update index.lua 2018-01-22 10:45:48 -07:00
FusionPBX c1c8c5d453
Update index.lua 2018-01-22 10:32:25 -07:00
borisk1976 1af20b8bbd Add new features to disa.lua (#2961)
1. Allow custom sound_pin & sound_extension
2. Allow customization of max_tries, pin_tries & extension_tries
3. Add fallback_destination - fall to it if caller did not entered extension number
4. Allow custom digit_timeout
2018-01-22 00:01:41 -07:00
FusionPBX a11fb1a4ef
Update cache.lua
Make the cache.lua more robust in case of missing key or value.
2018-01-19 18:39:05 -07:00
FusionPBX 894b4bf7fd
Update sofia.conf.lua
Remove an extra double quote that broke xml syntax.
2018-01-19 11:36:08 -07:00
borisk1976 878297a44c Update disa.lua (#2959)
Play user defined greeting befor asking of pin. Usage: <application action="set" data="sound_greeting=/mysounds/mygreeting.wav"/>
2018-01-19 10:58:25 -07:00
FusionPBX 9c7a64cc61
Update disa.lua 2018-01-17 01:52:59 -07:00
FusionPBX 9b6ac876f6
Update languages.lua 2018-01-11 15:31:07 -07:00
FusionPBX 6d59d535d7
Update dialplan.lua 2018-01-11 12:43:58 -07:00
FusionPBX 8a1c43775c
Update translate.conf.lua 2018-01-11 12:31:25 -07:00
FusionPBX 28e74afd8f
Update sofia.conf.lua 2018-01-11 12:29:18 -07:00
FusionPBX b793289d41
Update ivr.conf.lua 2018-01-11 12:27:11 -07:00
FusionPBX 2eae15a643
Update callcenter.conf.lua 2018-01-11 12:25:33 -07:00
FusionPBX 1cf72013f1
Update acl.conf.lua 2018-01-11 12:20:04 -07:00
FusionPBX c3affc15f2
Update acl.conf.lua 2018-01-11 12:11:49 -07:00
FusionPBX 49460503e4
Update acl.conf.lua 2018-01-11 12:10:43 -07:00
FusionPBX d38aa31031
Update local_stream.conf.lua 2018-01-11 12:07:40 -07:00
sergey-mz 929b79d5d0 Check for request errors and return empty string (#2957)
* ODBC DSN detection

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'

* Spelling errors

* Requests to speech platform can fail
2018-01-11 11:26:39 -07:00
konradSC 722021bdd7 Fix for Ring Groups with cfwd always & toll_allow (#2952)
This scenario was broken: 
A ring group member forwards their phone to a destination. The destination is an external number and the outbound route had a toll_allow condition. 

This error would be generated: [ERR] switch_cpp.cpp:1376 [route_to_bridge] Unsupportded condition: ${toll_allow}

This PR will get the toll_allow values from the RG member that is forwarding their phone. Then it will pass it to  'route_to_bridge.lua'.
2018-01-09 15:08:28 -07:00
konradSC 0a414da71d Emergency Notify lua script (#2953)
* Create index.lua

* Create email_body.tpl

* Create email_subject.tpl

* Update index.lua

* Update index.lua
2018-01-09 12:11:16 -07:00
konradSC 4bcbc7edee Ring Group Member - Call Forward (#2951)
After checking for Call Forward loops, set the destination_number to the call forward target.
2018-01-08 12:14:08 -07:00
sergey-mz 61b78ea73b Fix spelling (#2950)
* ODBC DSN detection

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'

* Spelling errors
2018-01-05 13:04:26 -07:00
FusionPBX f8575a15b1
Update index.lua 2018-01-02 19:53:03 -07:00
FusionPBX 82391b67ea
Update main_menu.lua 2018-01-02 19:51:12 -07:00
FusionPBX 0408f79676
Update send_email.lua 2017-12-17 01:59:54 -07:00