FusionPBX
57a15718ed
Update file.php
2016-08-13 13:24:32 -06:00
FusionPBX
d6158e371f
file.php
2016-08-13 10:39:30 -06:00
Mafoo
4b0f3c38a0
BugFix-Support spaces in streamfile.lua ( #1811 )
...
use table.concat as a workaround to spaces in filesames
alternative is adjust all destiantions to quote filenames, but would
require app_defaults catch to fix all exisiting written destinations.
2016-08-13 08:59:37 -06:00
minotaur01
c5d4c74631
Key assignment and Aastra provisioning ( #1814 )
...
* Update device_profile_edit.php
Changed maximum key number to be able to program phones with multiple expansion boards
* Raised Device Key Maximum Number
Changed maximum key number to be able to program phones with multiple expansion boards
Also replaced while loop with for loop to match device_profile_edit.php
* Added code for all key types
Added code for all programmable key types, Hard Keys, Soft Keys, Top Keys and Expansion keys.
Also added logic to handle key assigrnment for multiple expansion boards
* Enabled time server and disabled auto discovery settings
Enabled time servers and used system variable from default settings to set time server
Disabled Link-Layer Discovery and Universal Plug and Play because why do you need to re-discover the server after the phone is provisioned
* Updated the key number option generation line
* Updated the key number option generation line
2016-08-13 08:55:54 -06:00
Alexey Melnichuk
065a04ccb2
Add. `force_ping` option for extension ( #1809 )
...
* Add. `force_ping` option for extension
This option force FS send SIP OPTIONS message to
detect if this reged device still available.
* Update language file.
2016-08-11 09:46:54 -06:00
FusionPBX
390cfd09e2
Create forward_add_intro.lua
2016-08-10 16:10:22 -06:00
FusionPBX
2afdd589b1
Update directory.lua
2016-08-08 09:45:16 -06:00
markjcrane
7649e7f175
Change conf/lang to conf/languages this makes it identical to its section.
2016-08-08 09:11:37 -06:00
FusionPBX
0e284a1020
Update app_languages.php
...
Add label-groups to global app_languages.php.
2016-08-05 09:21:41 -06:00
FusionPBX
8b535a3d70
Update index.lua
2016-08-05 08:42:51 -06:00
FusionPBX
6d89233785
Update {$mac}.cfg
2016-08-04 13:49:56 -06:00
FusionPBX
5950d47f46
Update {$mac}.cfg
2016-08-04 13:48:45 -06:00
DigiDaz
98a184c835
Fixed scripts to get multiserver memcache working ( #1795 )
2016-08-04 11:40:36 -06:00
markjcrane
28c59d4eec
Update recur_sounds_dir to return an array rather than using a global variable.
2016-08-04 09:49:57 -06:00
FusionPBX
ec487d254a
Update {$mac}.cfg
2016-08-03 22:26:09 -06:00
FusionPBX
a0d04471a7
Update {$mac}.cfg
2016-08-03 22:25:19 -06:00
FusionPBX
2443fd7075
Update switch_settings.php
2016-08-03 16:46:44 -06:00
FusionPBX
8f3b329440
Update de.xml
2016-08-03 16:37:09 -06:00
FusionPBX
9f0d487b89
Update en.xml
2016-08-03 16:36:49 -06:00
FusionPBX
7342305672
Update fr.xml
2016-08-03 16:36:28 -06:00
FusionPBX
e120463e61
Update he.xml
2016-08-03 16:36:03 -06:00
FusionPBX
27904c88b5
Update ru.xml
2016-08-03 16:35:22 -06:00
FusionPBX
475b07b5f7
Update {$mac}.cfg
2016-08-03 10:09:16 -06:00
FusionPBX
035cd4da19
Update {$mac}.cfg
...
Add more provisioning variables to Polycom 5.x template and voicemail transfer soft key.
2016-08-03 10:05:28 -06:00
FusionPBX
7693844dde
Update index.lua
...
Set regex_match = false; before the loop.
2016-08-03 00:23:58 -06:00
Alexey Melnichuk
f214625ead
Change. Use `service::control` event to control services ( #1790 )
...
* Change. Use `service::control` event to control services
This is more FS way. E.g. sofia sends `sofia::register` event
and add all information to headers. So now `service` script
emit `fusion::service::control` event and each service responsible
for test its own name. This also allows add in future evnets to
e.g. monitor service status like `fusion::service::satus` so it
will be possible write service which will be restart services.
* Change. rename service name from `flow` to `call_flow`
2016-08-02 14:00:49 -06:00
FusionPBX
294acd84ff
Update ivr.conf.lua
...
IVR Menu direct dial move it before the options defined by the users so that users can override it.
2016-08-02 10:17:02 -06:00
markjcrane
dc3c8eac91
Fix the label for the device vendor function import and add the translation to resources/app_languages.php.
2016-07-31 18:51:57 -06:00
markjcrane
0993da997c
Move device vendor files into app/devices.
2016-07-31 17:48:50 -06:00
FusionPBX
795113c2b1
Update macro.lua
...
Add forward_add_intro to macro.lua.
2016-07-29 09:46:56 -06:00
FusionPBX
3b438f5d0e
Update login.php
...
Possible vulnerability in password reset not taking chances removing the code until it has been analyzed and fixed.
2016-07-29 03:22:27 -06:00
Alexey Melnichuk
e7c813a559
Simplify `is_uuid` function. ( #1781 )
...
* Simplify `is_uuid` function.
Also because it returns now value itself it possible write
```Lua
my_uuid = is_uuid(value1) or is_uuid(value2)
```
* Change. Ensure `is_uuid` returns only boolean value
2016-07-28 16:49:36 -06:00
Alexey Melnichuk
58ec22a759
Add. Support service stop command for odbc_pool. ( #1782 )
2016-07-28 08:16:54 -06:00
FusionPBX
8909639101
Update internal.xml.noload
...
Comment out disable-transfer and disable-register in the internal sip profile.
2016-07-27 22:55:47 -06:00
Mafoo
951bef85d4
BugFix-add missing default ringback to lua ( #1682 )
...
add processing of when ringback is set to default_ringback and correctly
set it to the current value of the globalvar for ringback
2016-07-27 20:06:41 -06:00
FusionPBX
eef8fdbc12
Update index.lua
...
Improve on the call center agent status use agent_authorized true instead of auto_authorized.
2016-07-27 19:17:10 -06:00
DigiDaz
00b2449168
Allow * 22 login/logout of queue without password by adding variable auto_authorized to dialplan ( #1776 )
2016-07-27 19:13:50 -06:00
stefanomarty
cde6de2149
Missing .wav file extension in wakeup.xml ( #1780 )
...
* Fix missing file extension
The missing "wav" extension makes Freeswitch looking for .PCMU file, which does not exist. This is the error in the logfile:
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:28:59.299530 [DEBUG] switch_ivr_play_say.c:1910 done playing file file_string://digits/1.wav!digits/1.wav!digits/3.wav!digits/0.wav
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:28:59.299530 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:28:59.299530 [DEBUG] switch_ivr_play_say.c:250 Handle execute:[sleep(750)] (en:en)
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:00.159531 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-to_accept_press] (en:en)
2016-07-23 11:29:00.159531 [ERR] mod_native_file.c:74 Error opening /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-to_accept_press.PCMU
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:00.279530 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:00.279530 [DEBUG] switch_ivr_play_say.c:250 Handle execute:[sleep(750)] (en:en)
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:01.159532 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-to_accept_press] (en:en)
2016-07-23 11:29:01.159532 [ERR] mod_native_file.c:74 Error opening /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-to_accept_press.PCMU
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:01.279530 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:01.279530 [DEBUG] switch_ivr_play_say.c:250 Handle execute:[sleep(750)] (en:en)
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:02.179543 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-to_accept_press] (en:en)
2016-07-23 11:29:02.179543 [ERR] mod_native_file.c:74 Error opening /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-to_accept_press.PCMU
* Update wakeup.xml
2016-07-27 16:41:49 -06:00
Alexey Melnichuk
a73b8680cb
Add `service` script and make timout optional for EventConsumer ctor ( #1775 )
...
* Change. Pass pid file first. Because there really no need pass timeout.
Add. `fsc` script to be able shutdown MWI and Call Flow subscribe services.
* Change. rename `fsc` to `service`.
* Change. Use `stop` command instead of `shutdown`
2016-07-26 11:58:37 -06:00
markjcrane
400192b426
Add yealink remote phonebook name and url defaults.
2016-07-25 18:51:25 -06:00
FusionPBX
238d25cd7e
Update y000000000028.cfg
...
Change provision variables so it will show up in a more logical order.
yealink_remote_phone_book_1_name to yealink_remote_phonebook_1_name
yealink_remote_phone_book_1_url to yealink_remote_phonebook_1_url
2016-07-25 18:34:15 -06:00
markjcrane
63f21e6f84
Add yealink_directory_setting_url to all remaining yealink phones.
2016-07-25 13:19:52 -06:00
FusionPBX
da6f71323c
Update languages.lua
...
Don't cache the not found.
2016-07-24 00:22:18 -06:00
FusionPBX
92f9f45e6c
Update languages.lua
...
When handling phrases get the specific phrase instead of all of them. Remove the code that tried to build the XML from the file system. Replace it with a 'not found' response so that FreeSWITCH will check the filesystem for the XML of the phrase that was not found.
2016-07-24 00:09:48 -06:00
FusionPBX
b236a737bf
Create is_uuid.lua
...
Add a new lua function to determine if a string is a uuid.
2016-07-23 13:40:57 -06:00
FusionPBX
100a0a3671
Update app_languages.php
...
Add label-domain to the global app_languages.php.
2016-07-23 00:01:45 -06:00
FusionPBX
90bd147d43
Update directory.lua
...
Add a timeout_destination option for directory.lua.
2016-07-22 11:48:29 -06:00
Mafoo
613b9c9bea
Enhance Voicemail Emails ( #1738 )
...
* Renamed template variable account to voicemail_id and adjusted all
templates
* Added ${voicemail_description}
* Added ${voicemail_name_formatted} (will render the voicemail identifier in accordance with Default/Domain Settings > Voicemail > display_domain_name)
* Updated templates to be consistent spacing
* Updated templates to include use of ${voicemail_name_formatted}
* Changed ${account} to be voicemail_name_formatted instead of id
2016-07-22 09:23:03 -06:00
Alexey Melnichuk
207cf08e88
Fix. Properly stop (e.g. remove pid file) event consumer loop in case of error. ( #1766 )
2016-07-21 07:47:54 -06:00
FusionPBX
1279c80d8a
Update lua.conf.xml
...
Add languages to xml handler and Lua module-directory commented out.
2016-07-20 14:01:01 -06:00
markjcrane
bf63ecc896
Replace $${hold_music} with local_stream://default. Remove the $${domain}, and outbound caller id name and number value as they wouldn't have a global value.
2016-07-19 10:03:51 -06:00
pixel2920
c26fc36bd1
Add silence_stream to default voicemail message ( #1761 )
...
This corrects the issue in #1760 , where the default voicemail message was not being played and instead skipped directly to recording (start recording tone).
2016-07-18 22:55:41 -06:00
FusionPBX
fda0e722b4
Update conference.conf.lua
...
Add conference controls to the xml handler.
2016-07-17 15:42:14 -06:00
FusionPBX
338936c906
Update conference.conf.lua
...
Conference profile parameters are now working from the database.
2016-07-17 01:15:35 -06:00
markjcrane
9e568e56a8
Change the file name from <name>.conf.xml.noload to <name>.conf as freeswitch only loads the files with .xml.
2016-07-16 14:19:42 -06:00
FusionPBX
dd2e18fbdd
Update orm.php
...
Reset the parent_key_exists to default of false.
2016-07-15 12:13:45 -06:00
FusionPBX
e2cdfb5f05
Update switch.sql
...
When using multiple-registrations the contact string can be longer than 255 characters.
2016-07-15 09:19:03 -06:00
FusionPBX
2373b38630
Update play_greeting.lua
...
Voicemail greeting will not play after being transferred from IVR #1749 . Replace session:streamFile( with session:execute("playback", fixes this problem.
2016-07-15 08:43:53 -06:00
Alexey Melnichuk
10f460cfd2
Fix. Lua can not generate non CUSTOM event with subclass. ( #1756 )
...
There 2 way.
First one generate `MEMCACHE` event without subclass
Second generate `CUSTOM` event with subclass e.g. `fusion::memcache`
2016-07-14 11:33:54 -06:00
FusionPBX
7996e33e4b
Update orm.php
...
Remove some debug code.
2016-07-14 01:08:14 -06:00
FusionPBX
f806e0297c
Update orm.php
...
Make this code more resilient in case the primary key or sub table primary key was provided in the data.
2016-07-14 01:06:04 -06:00
Alexey Melnichuk
1834be5042
Add. Support `onInterval` method to EventConsumer class ( #1747 )
...
* Add. Support `onInterval` method to EventConsumer class
Usage
```Lua
-- execute action each 30 sec
events:onInterval(30*1000, function() end)
-- execute action once after 5 min
events:onIntervalOnce(5*60*1000, function() end)
```
* Fix. Remove timers
* Fix. Reset timer before callback
It allows stop timer inside callback.
Also it produce more accurate interval invocation
if callback take quite a long time.
E.g. Interval = 10 sec and callback took 5 sec then
if we reset timer after this callback then gap between
invocation will be 15 sec.
* Add. Timers now have TimeEvent class type.
Add. `reset` method to IntervalTimer class.
```Lua
events:onIntervalOnce(1000, function(self, timer)
-- timer has type TimeEvent
-- restart timer so it will be invoke again
timer:restart()
-- or reset new interval
-- timer:reset(5000)
end)
```
* Fix. Typo in variable name
2016-07-13 09:43:51 -06:00
Alexey Melnichuk
9da40dc7b1
Fix. Fusion set rate=48000 to all streams. ( #1746 )
2016-07-12 08:09:54 -06:00
FusionPBX
120b37361e
Update switch.sql
...
Add accountcode to detailed_calls view.
2016-07-10 15:12:58 -06:00
FusionPBX
79117d1d83
Update switch.sql
...
basic_calls view - add AS to match freeswitch code and accountcode
2016-07-10 15:04:25 -06:00
FusionPBX
4de57b6a32
Update switch.sql
...
Add accountcode to the channels table.
2016-07-10 14:53:12 -06:00
FusionPBX
a3f0f30907
Update switch.sql
...
Update sip_registrations table.
2016-07-10 14:38:53 -06:00
Mafoo
9bc0fded96
BugFix-Add PROJECT_PATH for lua ( #1740 )
...
added project_path for lua to use where it needs to build urls
2016-07-08 13:12:37 -06:00
Alexey Melnichuk
a52e9c3626
Add. EventConsumer class. ( #1741 )
...
Rewrite MWI and CallFlow subscribe handlers based on EventConsumer class.
Also on my test VirtualBox/Debian system Lua function `os.clock` produce
very strange result(delta ~0.015 for 1 second) so I switch to `os.time`.
Now to to stop this background Lua scripts it possible send CUSTOM event
with subclass `fusion::XXX::shutdown`. Where XXX is `mwi` or `flow`.
Usage of EventConsumer class
```Lua
-- create new object with timeout one minute
local events = EventConsumer.new(60000)
-- bind to some FS event
events:bind("SHUTDOW", function(self, name, event) ... end)
-- bind to another FS event with subclass
events:bind("CUSTOM::fusion::mwi::shutdown", function(self, name, event) ... end)
-- handle timeout event
events:on("TIMEOUT", function(self, name) ... end)
--run event loop
events:run()
```
2016-07-08 13:10:43 -06:00
FusionPBX
1a76484b5f
Update local_stream.conf.lua
...
Set a default rate for chime list if one is not provided.
2016-07-06 16:27:22 -06:00
FusionPBX
0f84dbc9cd
Update page.lua
...
Update page.lua add support for rtp_secure_media=true.
2016-07-06 14:48:00 -06:00
FusionPBX
7dae4a9d25
Update app_languages.php
...
Add label-global to the global languages file.
2016-07-06 13:10:12 -06:00
Alexey Melnichuk
79cdf70ebd
Add. Support multiple events. ( #1736 )
...
Now subscriber stops and remove pid files when FS shutdown.
So if you use Status->Services you will see correct status.
2016-07-06 12:37:16 -06:00
Alexey Melnichuk
9e5ce425b5
Fix. `call_flow_monitor` use new field call_flow_alternate_label instead old `call_flow_anti_label` ( #1730 )
2016-07-04 09:32:22 -06:00
Alexey Melnichuk
dc3575c05c
Fix. Send message count in each MWI notify. ( #1728 )
...
* move send event code to separate function
* move get message count to separate function
2016-07-01 10:08:55 -06:00
FusionPBX
d74498f351
Update ringbacks.php
...
Eliminate duplicates ringbacks class for the music list.
2016-06-30 19:31:24 -06:00
FusionPBX
7c42b77e96
Update ringbacks.php
...
Update the music on hold list for the ringbacks class.
2016-06-30 19:10:07 -06:00
FusionPBX
35149d0ff3
Update page.lua
...
Add leading zero support to page.lua.
2016-06-30 15:08:14 -06:00
FusionPBX
2b9311031d
Update local_stream.conf.lua
...
Add a more generic query to make this code compatible with MySQL/Mariadb.
2016-06-30 10:03:32 -06:00
Alexey Melnichuk
ba857b6acf
Add. Event handler to support MWI. ( #1720 )
...
* Add. Event handler to support MWI.
* Fix. store cache only when get data from memcache
* Change. Use UUID as PID.
2016-06-30 09:55:37 -06:00
Chris Black
ef18ad5fbe
Add programmable keys to yealink t46 ( #1722 )
...
Add programmable keys to yealink t46.
2016-06-30 09:54:08 -06:00
FusionPBX
68f4669d48
Update local_stream.conf.xml
...
Remove the rate in the name xml handler will add it based on the rate that is defined in the param.
2016-06-30 09:50:32 -06:00
Alexey Melnichuk
a6a6a1aaac
Fix. `event_socket_mkdir` for Windows system. ( #1724 )
2016-06-30 08:11:52 -06:00
FusionPBX
3ca2b832ca
Update local_stream.conf.lua
...
Changes to the conditions that build the name to make sure it builds it correctly.
2016-06-30 01:40:48 -06:00
FusionPBX
4bbf0983bf
Update local_stream.conf.lua
...
Use the name/rate for global music on hold or domain_name/name/rate for local. If configuring as a default leave the /rate off the end of the string.
2016-06-30 01:18:17 -06:00
FusionPBX
05ff231f9a
Update local_stream.conf.lua
...
Remove the default stream will handle it another way.
2016-06-29 17:19:21 -06:00
FusionPBX
d884a18cc0
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
9d8a237bcd
Update local_stream.conf.xml
...
Remove 'moh' local stream in favor of 'default'
2016-06-28 16:14:27 -06:00
markjcrane
6f2601e32a
Use FreeSWITCH to run mkdir so it inherits its own user and group permissions.
2016-06-28 15:18:40 -06:00
FusionPBX
0354e137ea
Update local_stream.conf.lua
...
Check if row.music_on_hold_timer_name is empty.
2016-06-28 12:24:31 -06:00
markjcrane
a07b38a382
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-06-27 19:40:38 -06:00
markjcrane
6543e81b46
Remove the Polycom VVX template in favor of 4.x or 5.x templates.
2016-06-27 19:40:02 -06:00
Nate
a07134ea30
Merge pull request #1713 from mafoo/BugFix-Bootstrap-Remove-map-file
...
BugFix-Bootstrap Remove map file
2016-06-27 14:16:12 -06:00
mafoo
1d9f0f0832
BugFix-Bootstrap Remove map file
...
removed reference to pwstrength-bootstrap.min.map as it causes a 404 on
any browser with a debugger attached
2016-06-27 16:47:07 +01:00
Alexey Melnichuk
873c7ad0a2
Change. remove CC configuration dependencies from mod_commands. ( #1711 )
2016-06-27 07:52:29 -06:00
Alexey Melnichuk
ebfa71298d
Add. option to store setting in memcache. ( #1707 )
2016-06-26 11:43:32 -06:00
Alexey Melnichuk
5a58cf1436
Fix. Set default values for max length settings ( #1706 )
2016-06-26 11:42:33 -06:00
Alexey Melnichuk
c0739c4d40
Fix. Load required libraries in voicemail. ( #1705 )
2016-06-26 09:03:21 -06:00
FusionPBX
c3463392eb
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
4757123d4b
Get the settings.recordings.storage_type for the ivr menu using xml handler.
2016-06-24 14:55:16 -06:00
Chris Black
a196e23352
Fix variable names and clean up duplicate time settings in yealink files ( #1694 )
...
Fix the variable names to be consistent across all yealink provision
files. Also remove all the duplicate/redundant time settings from the
files.
2016-06-24 10:33:25 -06:00
Alexey Melnichuk
0a0383db9a
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
f88691618e
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
64d42b1225
Update app_languages.php
...
Add button-applied to app_languages.php.
2016-06-24 10:10:51 -06:00
FusionPBX
23fb7118a6
Update local_stream.conf.lua
...
Music on hold set the default timer name to 'soft'.
2016-06-23 16:42:12 -06:00
markjcrane
af0c7cfe6a
Uncomment two lines to restore the debug check.
2016-06-23 15:46:59 -06:00
markjcrane
f9d191c520
Add full path to the music on hold chime list.
2016-06-23 15:29:14 -06:00
markjcrane
8e8454ff19
Update music_on_hold_timer to timer_name.
2016-06-23 13:35:53 -06:00
Alexey Melnichuk
e44e4b4e3c
Update Escene provision. ( #1696 )
...
* Update Escene provision.
Support DNS SRV record.
Set time zone.
* Add. Date/Time formats for Escene template.
2016-06-23 12:47:42 -06:00
markjcrane
ef43f49b9e
Add sip_h_X- prefix to the accountcode in pin_number.lua.
2016-06-22 15:05:33 -06:00
markjcrane
4b17d5dac2
Add domain_uuid check to pin_number.lua.
2016-06-22 13:52:43 -06:00
markjcrane
dfb6489334
Remove some trailing spaces and update the copyright year in pin_number.lua.
2016-06-21 19:37:25 -06:00
markjcrane
5db79b687c
Add database support to pin_number.lua.
2016-06-21 19:34:17 -06:00
markjcrane
fd782483cf
Fix the Directory file path for the Cisco 7940 and 7960 phones.
2016-06-21 19:01:30 -06:00
markjcrane
2b12ace5ee
Fix the path to the 7940 and 7960 directory.xml.
2016-06-21 18:46:57 -06:00
markjcrane
2955b8447e
Increase the voicemail greeting length that is allowed to 90 seconds.
2016-06-21 18:35:05 -06:00
Alexey Melnichuk
99c9b762f2
Update Escene template to Firmware 4.2.0 ( #1680 )
...
* Update Escene template to Firmware 4.2.0
* Add. Line label.
2016-06-20 11:46:43 -06:00
FusionPBX
bca0d39b96
Update ringbacks.php
...
The default ring back disabled for now but may re-enable as a method in the class which return the correct label and value.
2016-06-19 09:44:17 -06:00
markjcrane
6991bd7649
Rename user_uuid device_user_uuid in the devices table. Add an apply button to the key dashboard and provision button to the device edit.
2016-06-17 17:34:31 -06:00
Alexey Melnichuk
ede2f8f57d
Add. Support provision programmable keys for Escene devices. ( #1674 )
2016-06-17 10:43:27 -06:00
Alexey Melnichuk
38a5cb5a3f
Fix. Make configure consistent with web interface. ( #1671 )
2016-06-16 12:20:34 -06:00
FusionPBX
b6929e3897
Update {$mac}.cfg
...
Add outbound_proxy_1_port and outbound_proxy_2 and use outbound_proxy_1_address and outbound_proxy_2_address instead of primary and secondary.
2016-06-15 15:55:55 -06:00
FusionPBX
8828ec25cd
Update {$mac}.cfg
...
Add another line feed.
2016-06-15 15:40:09 -06:00
FusionPBX
f78aa73cd4
Update {$mac}.cfg
...
Add option for outbound proxy 1 and proxy 2
{$outbound_proxy_primary}
{$outbound_proxy_secondary}
{$outbound_proxy_enabled}
2016-06-15 15:29:34 -06:00
markjcrane
07c038308f
Correct the variable name.
2016-06-13 19:06:59 -06:00
markjcrane
2e0de74055
Replace the variable with the path to the sounds directory.
2016-06-13 19:04:23 -06:00
markjcrane
787502ea48
Rename local_stream.lua to local_stream.conf.lua.
2016-06-13 18:50:41 -06:00
markjcrane
366bf5fbea
Add local_stream.lua to xml_handler.
2016-06-13 18:30:32 -06:00
FusionPBX
3ad7fe027c
Update call_flow.lua
...
Call flow feature code update to play the right audio file.
2016-06-12 14:14:52 -06:00
FusionPBX
a66324a242
Update call_flow.lua
...
Inside call_flow.lua rename anti to alternate.
2016-06-12 14:02:57 -06:00
FreeMe
9888b60334
Update {$mac}.xml ( #1647 )
...
Full configuration Linksys 942 - also disabled CF settings so that it dials *72 to mange from server rather than the phone directly
2016-06-11 15:24:32 -06:00
FusionPBX
dcb9a655cd
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
6095609c5a
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
FreeMe
5c7fcd1d9e
Update {$mac}.xml ( #1650 )
...
Fix did not {$,,,} the adminpassword field, changed and confirmed working
2016-06-10 23:03:49 -06:00
FreeMeUK
3a99301d65
Create {$mac}.xml ( #1649 )
...
A Linksys spa941 will accept the linksys942 file
2016-06-10 18:55:34 -06:00
Chris Black
96e1ad2cf4
Add ability for directory to use mod_flite or mod_cepstral ( #1644 )
2016-06-10 16:07:11 -06:00
Alexey Melnichuk
644996b1f7
Add. Support `bridge` mode to call forward from Lua. ( #1631 )
2016-06-08 07:33:55 -06:00
Mafoo
4605117d51
Enhance Ringback ( #1590 )
...
created new class to look after generating the list of ringbacks
available
adjusted MOH class so legacy method is still possible (just not recommend) and utilizes optgroups as well
converted ring_groups and ivr_menus to use new method
added translations
implemented list_recordings in switch_recordings class
2016-06-08 07:21:45 -06:00
reliberate
5d34e38da1
Functions: Add function to retrieve countries array.
2016-06-06 16:57:11 -06:00
reliberate
ccc5155d6d
Files: Add pwstrength bootstrap plugin files (sorry).
2016-06-03 07:51:44 -06:00
reliberate
72687adef2
Security: Integrate Settings and necessary functions to enforce password complexity requirements.
...
Theme: Add basic password strength indicator bar.
Default Settings: Also verify correct Type (name) on Upgrade > App Defaults.
User: Show Nickname in Contact select if no Given or Family name.
Password Reset: Integrate hide and convert password fields method to prevent browser prompt.
2016-06-02 18:26:32 -06:00
hblandford
5cc5bdc648
Update vars.xml ( #1622 )
...
Add Australian ring tone
2016-06-01 21:18:26 -06:00
markjcrane
d91369b8f7
Prevent duplicate values from being saved in the vars.xml file and remove some trailing spaces and fix some of the indentation.
2016-06-01 15:31:33 -06:00
Chris Black
69fca7ad69
set sip_trust_ctrl on all yealink profiles ( #1619 )
2016-05-27 12:14:36 -06:00
markjcrane
88a1f2dc1e
Add switch.sql to resources/install/sql
2016-05-27 10:35:11 -06:00
FusionPBX
d2219caf38
Update switch.php
...
Add a missing forward slash.
2016-05-26 19:52:03 -06:00
markjcrane
24b7b93988
Fix the syntax.
2016-05-26 11:28:30 -06:00
markjcrane
88bbd19d65
Add the include for the class.
2016-05-26 11:23:53 -06:00
markjcrane
7fff69f791
Remove save_module_xml() function and move it it into the modules class as the xml method. Eventual goal move everything out of switch.php.
2016-05-26 11:21:37 -06:00
markjcrane
404ffaed8e
Add a missing comma.
2016-05-26 10:52:37 -06:00
markjcrane
17bfd2eb35
Start using the module order.
2016-05-26 10:31:59 -06:00
Mafoo
59ddf92f1b
I got the permissions wrong ( #1616 )
...
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo
a8b667cd0b
Added sticky GID permissions ( #1615 )
2016-05-25 21:51:41 -06:00
Mafoo
a25c9a3e48
Added basic searching for moh ( #1614 )
...
added basic searching for the default moh directory
added app_defaults so moh is configured/repairable with app_defaults
changed to use PROJECT_ROOT
changed template replacement to be encased in comment so xml will
validate
changed to use preg_replace so leading spaces and tabs can be stripped
(to output clean xml)
local_stream_conf dos2unixed
made default search consistent (they should all be music/default or
music not a mixture)
2016-05-25 14:12:17 -06:00
Chris Black
4a4a613902
remove SMS ( #1612 )
2016-05-24 12:57:46 -06:00
Chris Black
2d05685103
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
markjcrane
09a6325034
Fix the remaining files that had the wrong syntax in the SPA devices.
2016-05-23 11:59:34 -06:00
FusionPBX
0fa4d7f4ba
Update {$mac}.xml
...
Fix the syntax on the spa112 template.
2016-05-23 10:02:47 -06:00
FusionPBX
5a45a7aa2a
Update {$mac}.xml
...
Fix the syntax on the spa122 template.
2016-05-23 10:01:56 -06:00
FusionPBX
c0c35d6853
Update {$mac}.cfg
...
Disable DND on the Yealink t29p
2016-05-19 23:06:26 -06:00
FusionPBX
9c53d0e031
Update {$mac}.cfg
...
Disable DND on the Yealink t28p
2016-05-19 23:06:17 -06:00
FusionPBX
5121083c4e
Update {$mac}.cfg
...
Disable DND on the Yealink t27p
2016-05-19 23:06:10 -06:00
FusionPBX
24e30bfd31
Update {$mac}.cfg
...
Disable DND on Yealink t49g
2016-05-19 23:03:37 -06:00
FusionPBX
4eec0410c0
Update {$mac}.cfg
...
Disable DND on the Yealink t41p.
2016-05-19 23:02:47 -06:00
FusionPBX
7c4cc9d934
Update {$mac}.cfg
...
Disable DND on the Yealink t42g
2016-05-19 23:01:45 -06:00
FusionPBX
7a1d194a29
Update {$mac}.cfg
...
Disable DND on the Yealink phone for t46g
2016-05-19 23:00:42 -06:00
FusionPBX
4228467fe7
Update {$mac}.cfg
...
Disable DND on phone on the Yealink T48g
2016-05-19 22:59:42 -06:00
Chris Black
a8d5033953
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
FusionPBX
664a7fd2d7
Update {$mac}.cfg
...
Persist the volume after reboot on the Polycom 5.x template.
2016-05-19 11:23:28 -06:00
FusionPBX
80e4f64c37
Update {$mac}.cfg
...
Persist volume after reboot on the 4.x template.
2016-05-19 11:22:01 -06:00
markjcrane
6f4c52d956
Prevent php warnings in the text php class.
2016-05-16 21:35:54 -06:00
markjcrane
6dda2e246d
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-05-13 08:52:49 -06:00
markjcrane
f89c2b2498
Applied changes from ronyshtamler to support exec-set in vars.xml.
2016-05-13 08:52:25 -06:00
Alexey Melnichuk
9f979b3299
Add. Support Escene phone book ( #1598 )
2016-05-13 08:35:47 -06:00
Alexey Melnichuk
6df1dae2a9
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
edfe01b0c5
Update intercept.lua
...
Account for core.db in intercept.lua
2016-05-12 23:06:45 -06:00
markjcrane
6ba188dc5e
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
Chris Black
804565549b
Yealink directory listing for extensions, groups, users contacts ( #1588 )
...
* 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
2016-05-12 11:22:40 -06:00
markjcrane
d25a904079
Remove the error reporting in the include php.php.
2016-05-11 13:18:39 -06:00
markjcrane
b39f09d442
Remove the comment on the tls-verify-policy and add enabled="false"
2016-05-11 10:24:28 -06:00
Mafoo
87d44390cd
Fix for [ERR] sofia_glue.c:329 Invalid tls-verify-policy value: none ( #1593 )
...
you cannot actually set it to none, you have to not set it to get that
value.
made ipv6 profile tls settings consistent with ipv4 profile
2016-05-11 10:13:56 -06:00
Alexey Melnichuk
6202b1e58f
Update escene config.
2016-05-11 07:44:03 -06:00
markjcrane
b2e1dd4b2e
Working on music on hold.
2016-05-10 19:09:45 -06:00
markjcrane
1427c56634
Rename gxp3275 to gxv3275.
2016-05-10 18:19:40 -06:00
FusionPBX
538e6bcc08
Update check_auth.php
...
Remove this code to fix a bug voicemail_id is numeric, extension is not always numeric, and number alias should be numeric.
2016-05-10 17:25:20 -06:00
markjcrane
55b598f2d0
Make sure the user extension arrray exists on the initial login.
2016-05-06 17:47:03 -06:00
Alexey Melnichuk
f828c1c56b
Escene provision ( #1140 )
...
* Add. Provision to Escene ES330/ES320
* Add. Look up Escene device by ext+domain.
* Update Escene template.
* Add. `provision` section in config.
Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00
reliberate
2b7c6bac00
Theme: Fix bug in web font loader.
2016-05-05 20:10:19 -06:00
reliberate
794361da95
Fix path issue in require.php.
2016-05-05 14:18:59 -06:00
markjcrane
f77e978914
Conditional includes if the config.php exists this fixes css.php for the install.
2016-05-05 13:22:08 -06:00
reliberate
2b6f51024d
Theme: Integrate ability to use Google Fonts.
2016-05-05 12:57:08 -06:00
markjcrane
3abaff004c
Check the missing array has content before processing it.
2016-05-04 00:22:35 -06:00
markjcrane
8ef1c951f8
Fix a spelling mistake in the polycom template for the parameter that was changed today.
2016-05-02 19:13:08 -06:00
markjcrane
9143ba902f
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-05-02 15:57:32 -06:00
markjcrane
253f22e432
Add quotes around the values in the Polycom 4.x and 5.x templates.
2016-05-02 15:57:13 -06:00
markjcrane
284f134903
Add default dtmf-type of rfc2833 to all the SIP profiles.
2016-05-02 15:56:20 -06:00
reliberate
5956a3a17f
Menu Manager: Add ability to customize main and sub menu icons.
2016-05-02 14:42:06 -06:00
markjcrane
46611580ac
Add dns_server_primary and dns_server_secondary to the newer yealink provisioning files.
2016-05-02 13:10:32 -06:00
markjcrane
3fa1f5b4e7
Add two new provision variables dns_server_primary and dns_server_secondary.
2016-05-02 11:46:26 -06:00
markjcrane
6570f8cf40
Define the text array before it is used.
2016-04-29 15:32:55 -06:00