FusionPBX
eb8b64dcd3
Update local_stream.conf.lua
...
Use UUID for the name of the stream. Add a default to handle systems using default.
2016-06-29 16:25:17 -06:00
FusionPBX
bc46191440
Update local_stream.conf.lua
...
Check if row.music_on_hold_timer_name is empty.
2016-06-28 12:24:31 -06:00
Alexey Melnichuk
2d49b1b211
Change. remove CC configuration dependencies from mod_commands. ( #1711 )
2016-06-27 07:52:29 -06:00
Alexey Melnichuk
f8c2904aaf
Add. option to store setting in memcache. ( #1707 )
2016-06-26 11:43:32 -06:00
Alexey Melnichuk
a4dfa0c04d
Fix. Set default values for max length settings ( #1706 )
2016-06-26 11:42:33 -06:00
Alexey Melnichuk
7a9a4bc3da
Fix. Load required libraries in voicemail. ( #1705 )
2016-06-26 09:03:21 -06:00
FusionPBX
8f26972c20
Update ivr.conf.lua
...
If the IVR Menu recordings are base64 don't update the path.
2016-06-24 18:40:14 -06:00
markjcrane
3e2dea7b70
Get the settings.recordings.storage_type for the ivr menu using xml handler.
2016-06-24 14:55:16 -06:00
Alexey Melnichuk
61d6f0be6c
Add. Handler for SUBSCRIBE method for call flow application. ( #1701 )
...
* Add. Handler for SUBSCRIBE method for call flow application.
Usage:
1. Run form fs_cli `luarun call_flow_subscribe`
2. Create new call flow extension and set feature code to `flow+<EXTENSION>`(e.g. `flow+401`).
3. Set on the phone BLF key to `flow+401`
This code based on `mod_valet_parking`.
* Add. prevent running 2 copy of script.
Remove some unused vars and simplify implementation.
* Fix. Use correct protocol for send event.
* Fix. Do escape SQL arguments
* Fix. escape `+` sign in call flow extension.
2016-06-24 10:32:19 -06:00
Mafoo
628c825201
Enhance-make voicemail length configurable ( #1702 )
...
allow the voicemail max_lengths to be configured from domain/default
settings
2016-06-24 10:28:47 -06:00
FusionPBX
653a5e007d
Update local_stream.conf.lua
...
Music on hold set the default timer name to 'soft'.
2016-06-23 16:42:12 -06:00
markjcrane
6af584afd5
Uncomment two lines to restore the debug check.
2016-06-23 15:46:59 -06:00
markjcrane
8c7be13133
Add full path to the music on hold chime list.
2016-06-23 15:29:14 -06:00
markjcrane
022247c280
Update music_on_hold_timer to timer_name.
2016-06-23 13:35:53 -06:00
markjcrane
9e175c3d3b
Add sip_h_X- prefix to the accountcode in pin_number.lua.
2016-06-22 15:05:33 -06:00
markjcrane
6847889d76
Add domain_uuid check to pin_number.lua.
2016-06-22 13:52:43 -06:00
markjcrane
2fbcf0dddb
Remove some trailing spaces and update the copyright year in pin_number.lua.
2016-06-21 19:37:25 -06:00
markjcrane
54354361c0
Add database support to pin_number.lua.
2016-06-21 19:34:17 -06:00
markjcrane
6d6a3a3574
Increase the voicemail greeting length that is allowed to 90 seconds.
2016-06-21 18:35:05 -06:00
markjcrane
7e801f0b76
Correct the variable name.
2016-06-13 19:06:59 -06:00
markjcrane
0ae7d5e2e4
Replace the variable with the path to the sounds directory.
2016-06-13 19:04:23 -06:00
markjcrane
bd6b2fb18f
Rename local_stream.lua to local_stream.conf.lua.
2016-06-13 18:50:41 -06:00
markjcrane
e026c3e5e6
Add local_stream.lua to xml_handler.
2016-06-13 18:30:32 -06:00
FusionPBX
52b5652319
Update call_flow.lua
...
Call flow feature code update to play the right audio file.
2016-06-12 14:14:52 -06:00
FusionPBX
6ee20145fe
Update call_flow.lua
...
Inside call_flow.lua rename anti to alternate.
2016-06-12 14:02:57 -06:00
FusionPBX
612098e1bc
Update call_flow.lua
...
Rename the variables in call_flow.lua to match. New variables call_flow_sound and call_flow_alternate_sound.
2016-06-11 10:02:31 -06:00
Alexey Melnichuk
03e62d9e91
Add. Support sound prompts on call flow. ( #1645 )
...
This file uses new way to load recordings from DB.
2016-06-11 07:33:16 -06:00
Chris Black
cfc20ca9bf
Add ability for directory to use mod_flite or mod_cepstral ( #1644 )
2016-06-10 16:07:11 -06:00
Alexey Melnichuk
add8222cff
Add. Support `bridge` mode to call forward from Lua. ( #1631 )
2016-06-08 07:33:55 -06:00
markjcrane
a6c4c51c7c
Add switch.sql to resources/install/sql
2016-05-27 10:35:11 -06:00
Chris Black
43543f8b0c
remove SMS ( #1612 )
2016-05-24 12:57:46 -06:00
Chris Black
a78d09cfd5
Add support for twilio ( #1610 )
...
added support for twilio and made it a bit easier to add support for
other carriers as well.
2016-05-24 02:02:36 -06:00
Chris Black
93fe11851b
Flowroute SMS ( #1603 )
...
* Fix Yealink provisioning for contacts/groups
Fix the Yealink provision templates to allow for directory_extensions,
groups and users.
* Fix group_uuid and user_uuid messup
* Yealink directory and provisioning changes
Includes the changes from PR 1582 with some fixes to the SQL.
Also merged all the directory_* options into ONE directory.xml
Will need to call the it with any of these:
http://mydomain/app/provision/?file=directory.xml&contacts=groups
http://mydomain/app/provision/?file=directory.xml&contacts=users
http://mydomain/app/provision/?file=directory.xml&contacts=extensions
http://mydomain/app/provision/?file=directory.xml&contacts=all
* Flow route SMS
2016-05-19 12:09:49 -06:00
Alexey Melnichuk
619912324c
Fix. Use correct database for Call Center while FS load. ( #1597 )
...
Problem that `mod_commands` may load after than `mod_callcenter` and there no function `global_getvar`
So current code just create database with name `INVALID COMMAND!.db`.
2016-05-13 08:03:48 -06:00
FusionPBX
38c43217ce
Update intercept.lua
...
Account for core.db in intercept.lua
2016-05-12 23:06:45 -06:00
markjcrane
295e63c704
Commented out the new database handle --local dbh = Database.new('switch') as it has a bug when freeswitch is using the DSN with the PostgreSQL driver. This change works around this problem by using the original database handler.
2016-05-12 20:43:57 -06:00
FusionPBX
cdba087744
Merge pull request #1553 from moteus/intercept_direction
...
Add. optional intercept only inbound/outbound calls.
2016-04-18 22:54:03 -06:00
FusionPBX
5b779b5882
Merge pull request #1450 from daniel-lucio/patch-3
...
Wrong variable in freeswitch.email
2016-04-18 21:20:44 -06:00
Alexey Melnichuk
07b2858852
Add. optional intercept only inbound/outbound calls.
...
Note.
* `inbound` is call to some extension
* `outbound` is call from some extension to external number.
Currently there no way to find call from extension to extension as `outbound`
2016-04-18 16:06:27 +03:00
markjcrane
c630449636
Remove contact_email from v_contacts table as this was replaced by the v_contact_emails table.
2016-04-14 10:40:25 -06:00
Alexey Melnichuk
d824e80f06
Fix. send fax file as PDF in response message
2016-04-05 13:48:50 +03:00
markjcrane
7f082bdef3
Add a missing permission on backup.
2016-04-04 19:51:22 -06:00
markjcrane
3ad26f1965
Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated.
2016-04-02 08:32:43 -06:00
markjcrane
38858b3f6b
Remove the the condition on the direct dial.
2016-03-29 20:57:47 -06:00
markjcrane
ec4f523caf
Rollback changes to is_local.lua determined that switching to regex would lower perfomance adding an 'or' with a search for prefix would perform better.
2016-03-27 20:44:14 -06:00
markjcrane
2cd979b30c
A global domain is optional. Using public context instead.
2016-03-27 04:46:01 -06:00
FusionPBX
71cdf97e5a
Merge pull request #1512 from schraegervogel/master
...
initialize call_context
2016-03-27 04:25:22 -06:00
FusionPBX
0831a99dd0
Merge pull request #1510 from moteus/databas_role
...
Add. `role` to be able select database backend in constructor.
2016-03-25 15:52:47 -06:00
schraegervogel
919b383c6e
initialize call_context
...
If you use xml_locate dialplan from fs_cli, you get an error, to prevent this I intialized call_context with the "domain"-var
2016-03-25 17:28:10 +01:00
Alexey Melnichuk
93e50ff1df
Add. `role` to be able select database backend in constructor.
...
To configure use `database.backend` option
It can be a string value like `database.backend = 'native'`.
So it will always use same backend.
Or it can be a table value like
```Lua
database.backend = {
main = 'native';
base64 = '';
}
```
Role `database.backend.main` is predefined and it equal to `native` if not set.
If there no role when Database class creates or role unknown role `main` is used
```Lua
dbh = Database.new('system') -- uses role `main`
dbh = Database.new('system', 'main') -- same as previews
dbh = Database.new('system', 'base64') -- uses role `base64`
dbh = Database.new('system', 'test') -- uses role `main`
```
2016-03-25 10:04:48 +03:00