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
markjcrane
0eee87d6c8
Move email_templates
2017-12-17 08:56:59 +00:00
FusionPBX
fc7ab309a4
Update send_email.lua
2017-12-17 01:51:39 -07:00
FusionPBX
d06b99e01e
Create email_templates.php
2017-12-17 01:51:29 -07:00
FusionPBX
fbc40c20c4
Create email_template_edit.php
2017-12-17 01:50:46 -07:00
FusionPBX
d00d4a88f6
Create email_template_delete.php
2017-12-17 01:50:19 -07:00
FusionPBX
4b17c4e2a3
Create app_menu.php
2017-12-17 01:49:52 -07:00
FusionPBX
2e1d987812
Create app_languages.php
2017-12-17 01:49:14 -07:00
FusionPBX
754110a4be
Create app_config.php
2017-12-17 01:48:42 -07:00
FusionPBX
7ee707e6f8
Create root.php
2017-12-17 01:47:49 -07:00
FusionPBX
abcbe1b95c
Create email_templates.php
2017-12-17 01:47:22 -07:00
FusionPBX
b2fb19c3d6
Update email_body.tpl
2017-12-15 20:16:42 -07:00
FusionPBX
ecd9e5ef19
Update email_body.tpl
2017-12-15 20:16:23 -07:00
FusionPBX
a47415ceca
Update email_body_transcription.tpl
2017-12-15 20:15:50 -07:00
FusionPBX
4ea67b2c17
Update wakeup.lua
2017-12-06 18:01:06 -07:00
Alexey Melnichuk
f127969fe4
Fix. Use external numbers in ring groups with global outbound routes ( #2937 )
2017-11-29 00:21:21 -07:00
Alexey Melnichuk
07a49f37bd
Add. Support variables in ring groups when use dierect dial ( #2924 )
...
Add. Support variables in ring groups when use direct dial
2017-11-29 00:20:45 -07:00
Alexey Melnichuk
bbfbf4e065
Add. Lua script to set call forward for ring group. ( #2934 )
2017-11-29 00:19:43 -07:00
Alexey Melnichuk
b0422af3e2
Add. Use `route_to_bridge` module to build routes for ring groups. ( #2907 )
...
* Add. Use `route_to_bridge` module to build routes fro ring groups.
This commit has several improvements
1. Select only needed fields. (do not select quite big XML text strings)
2. Filter routes also by context name
3. Filter dialplans also by hostname
4. Handle conditions based not only `destination_number`
5. Handle `break` and `continue` attributes for extensions
6. Escape vars inside dial-string
7. Add log messages similar as FS dialplan do
* Add. `route_to_bridge` set inline vars so it possible use then in next conditions.
Add. `route_to_bridge` can execute basic api commands from allowed lists.
`route_to_bridge` expand all known vars. If var is unknown then it pass as is.
Fix. `export nolocal:` action.
* Fix. Short variable names
* Add. some comments
* Fix. Do not try execute empty string
This produce error messages `[ERR] switch_cpp.cpp:759 No application specified`
* Fix. Export nolocal values.
2017-11-17 07:15:47 -07:00
konradSC
b192a96f84
Add Device Feature Sync ( #2905 )
...
* Update lua.conf.xml
Hook the feature_event lua script to Freeswitch "PHONE_FEATURE_SUBSCRIBE" events.
* Create index.lua
* Create feature_event_notify.lua
* Update call_forward.lua
Add trigger for feature sync.
* Update do_not_disturb.lua
Add trigger for feature sync.
* Update call_edit.php
* Create feature_event_notify.php
* Update index.lua
disable logging
2017-11-09 12:09:56 -07:00
FusionPBX
89fccdde93
Update index.lua
2017-11-04 12:37:58 -06:00
Luis Daniel Lucio Quiroz
63e33731c2
Same as 4.2 ( #2898 )
2017-10-30 12:40:05 -06:00
FusionPBX
8320353a14
Update index.lua
2017-10-27 21:50:05 -06:00
FusionPBX
58ea02ccfe
Update index.lua
2017-10-18 01:50:30 -06:00
konradSC
e6cfdd9ae0
Fix MWI for Extensions that with 0 ( #2882 )
...
* Fix MWI for Extensions that with 0
MWI was not turning off after messages were deleted for extensions that start with 0. This requires that real voicemail_id to be pulled from the database and not just taken from the destination number. To get around this we try to send mwi to the original vociemail_id (destination number) and voicemail_id_copy (from database). Index.lua is already doing something similar.
* Update listen_to_recording.lua
* Update menu_messages.lua
2017-10-17 22:23:40 -06:00
FusionPBX
9b9f2c4840
Update call_forward.lua
2017-10-16 11:34:14 -06:00
FusionPBX
9b7258fcea
Update index.lua
2017-10-10 13:07:27 -06:00
FusionPBX
6cc768bab6
Update call_forward.lua
2017-10-07 23:40:00 -06:00
FusionPBX
5c80259cd9
Update index.lua
2017-10-07 23:14:22 -06:00
Alexey Melnichuk
ae7134d908
Change. Use BasicEventService to implement MWI service. ( #2855 )
2017-10-06 13:13:33 -06:00
Alexey Melnichuk
06e351f6f3
Fix. crash when using EventCounsumer.ievents iterator. ( #2865 )
...
Problem code is
``` Lua
for event in ievents{'SHUTDOWN','CUSTOM::event'} do
end
```
2017-10-06 12:36:23 -06:00
FusionPBX
6e4eb3f73f
Set cal
2017-10-04 23:11:42 -06:00
FusionPBX
f10dbb12ea
Update ivr.conf.lua
2017-10-02 22:19:51 -06:00
FusionPBX
7b6189d010
Update ivr.conf.lua
2017-10-02 22:10:16 -06:00
FusionPBX
45f5273989
Update index.lua
2017-10-02 21:17:29 -06:00
konradSC
2bf5e15c83
Fix "invalid greeting" message played ( #2860 )
...
Fix "invalid greeting" message played on entry when pressing 5 for advanced, then 1 for record greeting.
2017-09-29 22:01:28 -06:00
Luis Daniel Lucio Quiroz
a2b5889a0f
Update ivr.conf.lua ( #2861 )
...
when debug["xml_string"] is on, it will overwrite /tmp/ivr.conf.xml file each hit an ivr goes. this makes very hard to trouble shoot in a living system. this patch allows to put one ivr menu per file.
2017-09-29 16:24:59 -06:00
FusionPBX
4c2ead3a0b
Update index.lua
2017-09-28 16:51:53 -06:00
konradSC
6d1896052d
Update to use curl instead of ssh ( #2856 )
...
SSH method never worked. I submitted the wrong file.
2017-09-27 22:01:58 -06:00
Adam Niedzwiedzki
1e6bf55869
Update index.lua ( #2858 )
...
Removal of the ( ) in the sched_api cmd string allows the start_recording.lua to function as designed.
Added "..scripts_dir.." as well.
2017-09-27 20:35:44 -06:00
FusionPBX
ec6e5c85ff
Update ivr.conf.lua
2017-09-26 22:40:30 -06:00
konradSC
73bea2f815
File cache sync via curl ( #2851 )
...
* Add sendevent when using file caching
* Create clear_cache.lua
FS receives a command via curl to call this script which deletes the single cache entry or flushes the entire cache.
* Create file_cache.lua
This scripts monitors for custom events. When an event is processed it will send out a command via curl to other FS servers telling them to clear their cache.
This must be called from conf/autoload_configs/lua.conf.xml
<param name="startup-script" value="app/server/resources/memcache.lua"/>
2017-09-20 16:19:56 -06:00
FusionPBX
7ab304399c
Update index.lua
2017-09-12 14:32:13 -05:00
konradSC
620eaf86d4
Update mwi_notify.lua ( #2836 )
...
Search all profiles for the sofia_contact. For some reason on server it would automatically search all profiles, but on the other servers I had to add "*/".
2017-09-11 08:53:57 -06:00
konradSC
19ae8a7e95
Update index.lua ( #2821 )
...
Break the ring group query into two parts. One for getting the ring group info. Another for getting the ring group user.
If a user was not assigned to a ring group, then the query will fail to return a result. This will cause forward, prefix, distinctive ring, etc to not work properly.
2017-09-05 10:57:30 -06:00
Tatermen
0c60d475a4
Use effective_caller_id_number instead of caller_id_number when storing voicemail messages. This resolves issue #2333 . ( #2728 )
2017-09-01 09:32:06 -06:00
andycol
301397c832
Add South African Prefixes ( #2811 )
2017-09-01 08:54:02 -06:00
FusionPBX
7b786a7fc7
Update index.lua
2017-08-27 15:16:01 -06:00
FusionPBX
a392cae1f8
Update index.lua
2017-08-27 15:11:31 -06:00
FusionPBX
db83ba74c2
Update mwi_notify.lua
2017-08-23 23:05:51 -06:00