markjcrane
fc99769629
Move device vendor files into app/devices.
2016-07-31 17:48:50 -06:00
FusionPBX
c87e0f6f05
Update macro.lua
...
Add forward_add_intro to macro.lua.
2016-07-29 09:46:56 -06:00
FusionPBX
5540f0013e
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
91ce171472
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
daa3d72014
Add. Support service stop command for odbc_pool. ( #1782 )
2016-07-28 08:16:54 -06:00
FusionPBX
a403c8ec01
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
e3a3bbcd9f
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
5a66d97dc2
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
f08094dea1
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
28daf96fd9
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
d47151ba8d
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
5c0d1326f2
Add yealink remote phonebook name and url defaults.
2016-07-25 18:51:25 -06:00
FusionPBX
a3909c6c92
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
af713fdcfc
Add yealink_directory_setting_url to all remaining yealink phones.
2016-07-25 13:19:52 -06:00
FusionPBX
e8ab1e4a89
Update languages.lua
...
Don't cache the not found.
2016-07-24 00:22:18 -06:00
FusionPBX
32f803a1b3
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
2c0452d591
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
49e65bbe7a
Update app_languages.php
...
Add label-domain to the global app_languages.php.
2016-07-23 00:01:45 -06:00
FusionPBX
12b79ad24f
Update directory.lua
...
Add a timeout_destination option for directory.lua.
2016-07-22 11:48:29 -06:00
Mafoo
4ed30bfe53
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
149064f5e1
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
d1d445e069
Update lua.conf.xml
...
Add languages to xml handler and Lua module-directory commented out.
2016-07-20 14:01:01 -06:00
markjcrane
204f67a2fc
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
e1feb2364d
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
77712fcbf9
Update conference.conf.lua
...
Add conference controls to the xml handler.
2016-07-17 15:42:14 -06:00
FusionPBX
da8349207a
Update conference.conf.lua
...
Conference profile parameters are now working from the database.
2016-07-17 01:15:35 -06:00
markjcrane
f2af9048eb
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
dfb9dc0664
Update orm.php
...
Reset the parent_key_exists to default of false.
2016-07-15 12:13:45 -06:00
FusionPBX
6af31a91da
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
3bf7b917d4
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
d2ce44736a
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
28215c455e
Update orm.php
...
Remove some debug code.
2016-07-14 01:08:14 -06:00
FusionPBX
d46f758000
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
9076df2302
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
44196ae739
Fix. Fusion set rate=48000 to all streams. ( #1746 )
2016-07-12 08:09:54 -06:00
FusionPBX
9993a93546
Update switch.sql
...
Add accountcode to detailed_calls view.
2016-07-10 15:12:58 -06:00
FusionPBX
4609e858fe
Update switch.sql
...
basic_calls view - add AS to match freeswitch code and accountcode
2016-07-10 15:04:25 -06:00
FusionPBX
7a67e61d96
Update switch.sql
...
Add accountcode to the channels table.
2016-07-10 14:53:12 -06:00
FusionPBX
78b7841a74
Update switch.sql
...
Update sip_registrations table.
2016-07-10 14:38:53 -06:00
Mafoo
904a52434a
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
cae644c8a1
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
39bc0cad29
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
0d73573770
Update page.lua
...
Update page.lua add support for rtp_secure_media=true.
2016-07-06 14:48:00 -06:00
FusionPBX
711bca9e97
Update app_languages.php
...
Add label-global to the global languages file.
2016-07-06 13:10:12 -06:00
Alexey Melnichuk
3d1f5b6866
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
68d65bf835
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
b7506b5b18
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
b078881da4
Update ringbacks.php
...
Eliminate duplicates ringbacks class for the music list.
2016-06-30 19:31:24 -06:00
FusionPBX
bfa76cebcd
Update ringbacks.php
...
Update the music on hold list for the ringbacks class.
2016-06-30 19:10:07 -06:00
FusionPBX
849f8fd050
Update page.lua
...
Add leading zero support to page.lua.
2016-06-30 15:08:14 -06:00
FusionPBX
069ad5d580
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
8a72e2afd8
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
ae1d180b5e
Add programmable keys to yealink t46 ( #1722 )
...
Add programmable keys to yealink t46.
2016-06-30 09:54:08 -06:00
FusionPBX
debc6da476
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
65d9424078
Fix. `event_socket_mkdir` for Windows system. ( #1724 )
2016-06-30 08:11:52 -06:00
FusionPBX
2f9c1a7c9f
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
b0c69d6703
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
bc670abb32
Update local_stream.conf.lua
...
Remove the default stream will handle it another way.
2016-06-29 17:19:21 -06:00
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
9169788abc
Update local_stream.conf.xml
...
Remove 'moh' local stream in favor of 'default'
2016-06-28 16:14:27 -06:00
markjcrane
bd23c78670
Use FreeSWITCH to run mkdir so it inherits its own user and group permissions.
2016-06-28 15:18:40 -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
markjcrane
9f9cc5271a
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-06-27 19:40:38 -06:00
markjcrane
1ff661782a
Remove the Polycom VVX template in favor of 4.x or 5.x templates.
2016-06-27 19:40:02 -06:00
Nate
060314b506
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
8f4473a0d9
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
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
Chris Black
b91c3fb511
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
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
82820c3d75
Update app_languages.php
...
Add button-applied to app_languages.php.
2016-06-24 10:10:51 -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
Alexey Melnichuk
fbd1230f05
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
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
2a682d5004
Fix the Directory file path for the Cisco 7940 and 7960 phones.
2016-06-21 19:01:30 -06:00
markjcrane
0dff13a678
Fix the path to the 7940 and 7960 directory.xml.
2016-06-21 18:46:57 -06:00
markjcrane
6d6a3a3574
Increase the voicemail greeting length that is allowed to 90 seconds.
2016-06-21 18:35:05 -06:00
Alexey Melnichuk
83ef9bb249
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
724c49a71a
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
e5020a842b
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
0741488073
Add. Support provision programmable keys for Escene devices. ( #1674 )
2016-06-17 10:43:27 -06:00
Alexey Melnichuk
375bc1b83a
Fix. Make configure consistent with web interface. ( #1671 )
2016-06-16 12:20:34 -06:00
FusionPBX
df230ab56f
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
5fa88ec040
Update {$mac}.cfg
...
Add another line feed.
2016-06-15 15:40:09 -06:00
FusionPBX
3f51c5b618
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
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
FreeMe
0dc5f9ac50
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
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
FreeMe
ba042dc8d5
Update {$mac}.xml ( #1650 )
...
Fix did not {$,,,} the adminpassword field, changed and confirmed working
2016-06-10 23:03:49 -06:00
FreeMeUK
cc7c0878dc
Create {$mac}.xml ( #1649 )
...
A Linksys spa941 will accept the linksys942 file
2016-06-10 18:55:34 -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
Mafoo
d663891bd8
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
5cae92a624
Functions: Add function to retrieve countries array.
2016-06-06 16:57:11 -06:00
reliberate
99304cdd90
Files: Add pwstrength bootstrap plugin files (sorry).
2016-06-03 07:51:44 -06:00
reliberate
0f07828d0c
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
798cf39be4
Update vars.xml ( #1622 )
...
Add Australian ring tone
2016-06-01 21:18:26 -06:00
markjcrane
102120d55e
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
2daa5f735e
set sip_trust_ctrl on all yealink profiles ( #1619 )
2016-05-27 12:14:36 -06:00
markjcrane
a6c4c51c7c
Add switch.sql to resources/install/sql
2016-05-27 10:35:11 -06:00
FusionPBX
a2cfab7b52
Update switch.php
...
Add a missing forward slash.
2016-05-26 19:52:03 -06:00
markjcrane
ef35214f93
Fix the syntax.
2016-05-26 11:28:30 -06:00
markjcrane
4ddfb68822
Add the include for the class.
2016-05-26 11:23:53 -06:00
markjcrane
c92606353e
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
213c612e14
Add a missing comma.
2016-05-26 10:52:37 -06:00
markjcrane
4c4a1bd15e
Start using the module order.
2016-05-26 10:31:59 -06:00
Mafoo
71525c26b0
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
86c4742347
Added sticky GID permissions ( #1615 )
2016-05-25 21:51:41 -06:00
Mafoo
b8e3070cdc
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
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
markjcrane
8e4076c96e
Fix the remaining files that had the wrong syntax in the SPA devices.
2016-05-23 11:59:34 -06:00
FusionPBX
62a76617ce
Update {$mac}.xml
...
Fix the syntax on the spa112 template.
2016-05-23 10:02:47 -06:00
FusionPBX
2b5f43421f
Update {$mac}.xml
...
Fix the syntax on the spa122 template.
2016-05-23 10:01:56 -06:00
FusionPBX
cf3620f9d0
Update {$mac}.cfg
...
Disable DND on the Yealink t29p
2016-05-19 23:06:26 -06:00
FusionPBX
dcd61c7a41
Update {$mac}.cfg
...
Disable DND on the Yealink t28p
2016-05-19 23:06:17 -06:00
FusionPBX
f84e16eaf7
Update {$mac}.cfg
...
Disable DND on the Yealink t27p
2016-05-19 23:06:10 -06:00
FusionPBX
8c0d146427
Update {$mac}.cfg
...
Disable DND on Yealink t49g
2016-05-19 23:03:37 -06:00
FusionPBX
aa40d91479
Update {$mac}.cfg
...
Disable DND on the Yealink t41p.
2016-05-19 23:02:47 -06:00
FusionPBX
6beb19881c
Update {$mac}.cfg
...
Disable DND on the Yealink t42g
2016-05-19 23:01:45 -06:00
FusionPBX
45a867b96c
Update {$mac}.cfg
...
Disable DND on the Yealink phone for t46g
2016-05-19 23:00:42 -06:00
FusionPBX
d90b369893
Update {$mac}.cfg
...
Disable DND on phone on the Yealink T48g
2016-05-19 22:59:42 -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
FusionPBX
93f7c3c6f9
Update {$mac}.cfg
...
Persist the volume after reboot on the Polycom 5.x template.
2016-05-19 11:23:28 -06:00
FusionPBX
cbd3a5785d
Update {$mac}.cfg
...
Persist volume after reboot on the 4.x template.
2016-05-19 11:22:01 -06:00
markjcrane
0ad7a4d82b
Prevent php warnings in the text php class.
2016-05-16 21:35:54 -06:00
markjcrane
7c1eeac3c9
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-05-13 08:52:49 -06:00
markjcrane
0b9ca2da7f
Applied changes from ronyshtamler to support exec-set in vars.xml.
2016-05-13 08:52:25 -06:00
Alexey Melnichuk
2bc963c82b
Add. Support Escene phone book ( #1598 )
2016-05-13 08:35:47 -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
Chris Black
7b99a14f67
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
20564c108f
Remove the error reporting in the include php.php.
2016-05-11 13:18:39 -06:00
markjcrane
a94b0fc611
Remove the comment on the tls-verify-policy and add enabled="false"
2016-05-11 10:24:28 -06:00
Mafoo
8de955d673
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
71ab444034
Update escene config.
2016-05-11 07:44:03 -06:00
markjcrane
d5b69dec32
Working on music on hold.
2016-05-10 19:09:45 -06:00
markjcrane
06d372d746
Rename gxp3275 to gxv3275.
2016-05-10 18:19:40 -06:00
FusionPBX
bdfc6fe563
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
f64e41301e
Make sure the user extension arrray exists on the initial login.
2016-05-06 17:47:03 -06:00
Alexey Melnichuk
f1c31e0935
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
7a1d650359
Theme: Fix bug in web font loader.
2016-05-05 20:10:19 -06:00
reliberate
6db45055c4
Fix path issue in require.php.
2016-05-05 14:18:59 -06:00
markjcrane
7bcb0037f4
Conditional includes if the config.php exists this fixes css.php for the install.
2016-05-05 13:22:08 -06:00
reliberate
df22a29ed4
Theme: Integrate ability to use Google Fonts.
2016-05-05 12:57:08 -06:00
markjcrane
097a5d8ade
Check the missing array has content before processing it.
2016-05-04 00:22:35 -06:00
markjcrane
8672970d36
Fix a spelling mistake in the polycom template for the parameter that was changed today.
2016-05-02 19:13:08 -06:00
markjcrane
166fc0c5f3
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-05-02 15:57:32 -06:00
markjcrane
6476805b29
Add quotes around the values in the Polycom 4.x and 5.x templates.
2016-05-02 15:57:13 -06:00
markjcrane
e5368dd5dd
Add default dtmf-type of rfc2833 to all the SIP profiles.
2016-05-02 15:56:20 -06:00
reliberate
5a178625d5
Menu Manager: Add ability to customize main and sub menu icons.
2016-05-02 14:42:06 -06:00
markjcrane
04dfb86640
Add dns_server_primary and dns_server_secondary to the newer yealink provisioning files.
2016-05-02 13:10:32 -06:00
markjcrane
9e0b3cf827
Add two new provision variables dns_server_primary and dns_server_secondary.
2016-05-02 11:46:26 -06:00
markjcrane
e7dd30113b
Define the text array before it is used.
2016-04-29 15:32:55 -06:00
markjcrane
3b79ec85d9
Add the missing function to pdo.php.
2016-04-29 11:21:26 -06:00
markjcrane
434d2a8fe2
Change phpsqlitedatatype to php_sqlite_data_type.
2016-04-29 11:15:02 -06:00
markjcrane
c3b12c217d
Cleanup the indentation ... tabs and whitespace after the last pull request.
2016-04-28 16:56:44 -06:00
Harry G. Coin
cb98d74ccd
add tls, support ldaps
2016-04-25 22:22:03 -05:00
Harry G. Coin
2a070aff4f
last fixes needed to support mariadb 10.1
2016-04-25 22:20:31 -05:00
Harry G. Coin
cc553a70c5
Cleanups.
...
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined. Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05:00
Harry G. Coin
f02028629a
fixes so cli installs/upgrades work.
...
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin
4fad23f4aa
small orm bug fix
2016-04-25 21:12:39 -05:00
Harry G. Coin
42a78d8d5e
Fix to cure uninitialized variable warnings whenever schema is called.
...
Also many minor warning bug fixes in schema.php
Might as well take the plunge and go to default show warnings.
Uninitialized variable and small bug fixes install fusionpbx
2016-04-25 21:09:14 -05:00
Harry G. Coin
077059eeb1
Fix so fusionpbx doesn't fail on servers with php versions later than 5. (e.g. php7).
...
Also a few warning causes fixed.
Also, one step along the way to allow freeswitch to be u freeswitch g freeswitch and fusionpbx to run www-data:www-data.
2016-04-25 20:52:21 -05:00
Harry G. Coin
bda6861f88
\r\n --> \n
...
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
Harry G. Coin
8abe003a71
The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
...
So, please find in this set numerous small changes which eliminate numerous php warning messages.
Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.
If any of the proposed changes are omitted, the relevant page will experience php warnings.
There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05: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
7a8587184c
If the event socket information is not set then use the defaults.
2016-04-15 18:22:28 -06:00
markjcrane
403ab64339
Add missing 'this'
2016-04-15 18:07:47 -06:00
markjcrane
2b5075b2f4
Add the switch default settings in a more efficient way.
2016-04-15 17:59:34 -06:00
markjcrane
9dac571bdb
Use intuitive names for the arrays and move one of the queries out of the loop.
2016-04-15 00:47:49 -06:00
markjcrane
4b55af24f7
Add class_exists
2016-04-14 23:23:14 -06:00
markjcrane
3ecb6afea2
Update groups.php.
2016-04-14 23:12:57 -06:00
markjcrane
e9415fd26c
Missed two of the $db connections.
2016-04-14 23:05:05 -06:00
markjcrane
8392bdeafa
Remove the global $db connection in switch.php. Future will move all of these functions to php class methods.
2016-04-14 23:00:36 -06:00
markjcrane
a6cd585315
Update the constructor and $db connection handling in the groups and switch_settings classes.
2016-04-14 22:38:28 -06:00
markjcrane
c2ecb23413
Add a contructor to the dialplan class.
2016-04-14 22:34:10 -06:00
markjcrane
45c391ab76
Update domains and schema classes.
2016-04-14 22:10:47 -06:00
markjcrane
d34d709e37
Schema use $this->$db instead of $db.
2016-04-14 21:51:11 -06: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
reliberate
e31985db96
Login: Add IDs to submit buttons.
2016-04-13 16:32:40 -06:00
reliberate
8b0c01c772
Theme: Integrate settings to control button styles and form input styles.
...
Dashboard: Remove table row hover and pointer cursor if not linked.
2016-04-11 17:52:58 -06:00
reliberate
a887eab36a
Fun Stuff: http://pasteboard.co/1ormWYp.png
...
Login: Add settings to style Reset Password (and related) text links, add (disabled) settings to display domain name field.
Theme: Add settings to control login box border size, color, radius and padding. Explicitly defined placeholder text color/opacity (where possible).
2016-04-07 19:35:39 -06:00
reliberate
798f94125f
Theme: Integrate settings to customize the style of edit form tables (label, field, heading and row cells).
...
Editor: Prevent / (slashes) in clip name.
Dialplan Editor: Code cleanup, and minor adjustments for theme compatibility.
Functions: Add option to check_str() to skip string trim.
2016-04-07 12:00:19 -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
25da5713be
Update the yealink timezone settings.
2016-04-04 19:50:05 -06:00
markjcrane
9c9e59a0c3
Fix the changes to the Cisco SPA templates.
2016-04-04 12:18:04 -06:00
markjcrane
6aea821381
Build the apps array so that the groups class defaults method can use it for the group permissions.
2016-04-03 13:18:45 -06:00
markjcrane
f6920838c7
Add a default group check.
2016-04-03 11:54:09 -06:00
markjcrane
4292386b6c
Add users and groups php class.
2016-04-03 11:47:06 -06:00
markjcrane
233fb08d32
Prevent switch duplicates.
2016-04-02 20:28:45 -06:00
markjcrane
2156d17da8
Rename to the switch_settings class.
2016-04-02 20:11:51 -06:00
markjcrane
3fff96ee68
Set some of the switch directories to enabled false.
2016-04-02 19:57:37 -06:00
markjcrane
e3d1514f2b
Add a missing semi-colon.
2016-04-02 19:42:18 -06:00
markjcrane
0eafc921b7
Update the database connection.
2016-04-02 19:41:16 -06:00
markjcrane
b5fbf389dd
Change the switch class to freeswitch.
2016-04-02 19:37:37 -06:00
markjcrane
637a3fadb5
Rename the EventSocket file to math current naming standard.
2016-04-02 19:24:32 -06:00
markjcrane
51ea37ed18
Rename the EventSocket class.
2016-04-02 19:23:16 -06:00
markjcrane
7fa92ef54f
Fix a syntax problem on the new class.
2016-04-02 19:13:49 -06:00
markjcrane
562f000356
Add a new switch class with a method to get the directories needed for FreeSWITCH and add them to default settings -> switch category.
2016-04-02 17:53:51 -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
ed6bba7250
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-04-02 08:23:18 -06:00
reliberate
4a4517a5ab
Functions: Enhance img_spacer() function.
...
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
markjcrane
c7ac0febda
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-04-01 13:37:30 -06:00
markjcrane
0e74ce140b
Fix the cisco load or image on the 7940 and 7960 templates.
2016-04-01 13:37:22 -06:00
reliberate
9cfedbf2e9
Function: Created key_press function to dynamically generate key detection javascript.
...
Voicemail: Ctrl+A checks all checkboxes, pressing Delete deletes the checked Voicemails.
Editor: Integrated key_press function.
Command: Integrated key_press function.
2016-03-31 17:11:37 -06:00
FusionPBX
688b65867e
Merge pull request #1521 from moteus/mysql_escape
...
Fix. use `mysqli_real_escape_string` instead or deprecated `mysql_real_escape_string`
2016-03-31 09:04:35 -06:00
reliberate
5ad7291333
Default Settings: Enhance swatch display on color values.
2016-03-30 17:43:57 -06:00
FusionPBX
e241bd383a
Merge pull request #1527 from moteus/menu_array_default_arg
...
Fix. Use default value in function definition.
2016-03-30 08:49:29 -06:00
FusionPBX
7228cf2c62
Merge pull request #1528 from moteus/no_menu_warning
...
Fix. warning about using NULL as first argument in `foreach`.
2016-03-30 08:46:46 -06:00
FusionPBX
6b917d7fbd
Merge pull request #1529 from moteus/select_language
...
Fix. Display language name on Install page.
2016-03-30 08:41:39 -06:00
Alexey Melnichuk
987eebdf7d
Fix. Display language name on Install page.
...
This is special case because all this names should be displayed
in same time on single page on different languages.
So not translate in strict way.
2016-03-30 10:27:04 +03:00
Alexey Melnichuk
594a353fab
Fix. warning about using NULL as first argument in `foreach`.
...
Problem now in `tepmplate.php`
```PHP
$menu_array = $menu->menu_array();
...
foreach ($menu_array as $index_main => $menu_parent) {
```
It appear while install process because in this moment there not `$db`
and `$menu->menu_array()` returns nothing.
This problem also can be solved in `tepmplate.php` like
```PHP
if(is_array($menu_array)){
foreach ($menu_array as $index_main => $menu_parent) {
...
```
2016-03-30 10:15:49 +03:00
Alexey Melnichuk
645f493b11
Fix. Use default value in function definition.
...
On `themes/default/template.php` it called without args
```PHP
$menu_array = $menu->menu_array();
```
And it produce PHP warning.
2016-03-30 09:39:15 +03:00
reliberate
93a4f00e8b
Functions: Added color adjustment and color format conversion functions.
2016-03-30 00:34:15 -06:00
markjcrane
38858b3f6b
Remove the the condition on the direct dial.
2016-03-29 20:57:47 -06:00
Alexey Melnichuk
b2c5bd85a3
Fix. use `mysqli_real_escape_string` instead or deprecated `mysql_real_escape_string`
...
From PHP.net
```
Warning
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0.
Instead, the MySQLi or PDO_MySQL extension should be used.
...
Alternatives to this function include:
* mysqli_real_escape_string()
* PDO::quote()
```
2016-03-29 16:34:36 +03:00
markjcrane
13792ebd59
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-29 02:35:59 -06:00
markjcrane
ac853eebaa
Add http authentication option to all Cisco SPA phones.
2016-03-29 02:35:33 -06:00
reliberate
5974b686e9
Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric).
2016-03-28 23:02:11 -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
markjcrane
4fa0649eba
Only call the scripts class if its installed.
2016-03-27 00:33:19 -06:00
markjcrane
fa2b753e62
Add the menu_default method to app_defaults.php.
2016-03-26 22:59:00 -06:00
markjcrane
c0b93e849c
Change the method name to menu_default.
2016-03-26 21:22:52 -06:00
markjcrane
d5b3fffda8
Add methoed 'default' to the menu class.
2016-03-26 21:18:02 -06:00
markjcrane
a836d7985b
Remove the include to the resources/menu.php file that is no longer in use.
2016-03-26 19:37:42 -06:00
markjcrane
d71f1323c3
Update the install.php.
2016-03-26 19:17:33 -06:00
markjcrane
e3175814bd
Fix the reference to the prepared statement.
2016-03-26 14:03:44 -06:00
markjcrane
c6f0759a5c
Change the code in the menu to return immediately if the database object is not ready in this case its not ready until the install.php is finished.
2016-03-26 13:36:00 -06:00
markjcrane
ba095f3852
Additional work to improve the install, template and the menu.
2016-03-26 12:22:15 -06:00
markjcrane
0e649f9020
Don't error if the menu is not available for the install.php.
2016-03-26 11:45:57 -06:00
reliberate
87f598d6e7
Added (Really!): Moment.js - used by jQuery DateTimePicker plugin.
2016-03-25 16:52:07 -06:00
reliberate
31ff4e69a8
Added: Moment.js - used by jQuery DateTimePicker plugin.
2016-03-25 16:39:19 -06:00
reliberate
c37520cb6f
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-25 16:33:54 -06:00
reliberate
0f11beead9
Added: Moment.js framework (used by jQuery DateTimePicker plugin)
2016-03-25 16:33:05 -06:00
markjcrane
8c33f72ed5
Set the default theme as the default.
2016-03-25 16:30:35 -06:00
reliberate
d5c60df4fc
Added: Bootstrap Framework - initial integration.
...
Added: Bootstrap Plugins - DateTimePicker, ColorPicker (in multiple apps)
Added: Default Theme - responsive
Removed: RightJS Framework - no longer needed.
Removed: Accessible Theme - superseded by Default theme.
Removed: Minimized Theme - superseded by Default theme.
Enhanced: Menu - responsiveness added.
Enhanced: Dashboard - responsiveness added.
Etc.
2016-03-25 16:29:20 -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
FusionPBX
4ce2bb5c8f
Update acl.conf.lua
...
Change expire acl.conf to acl_conf
2016-03-25 01:00:43 -06:00
markjcrane
bb4113e210
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-24 23:08:45 -06:00
markjcrane
4a31b2343e
Change to the new context require renaming two variables to be consistent and to prevent a problem.
2016-03-24 23:08:23 -06:00
FusionPBX
ddcb4cab28
Revert "Revert "Revert "search selects"""
2016-03-24 22:25:18 -06:00
FusionPBX
d7b95e462b
Revert "Revert "search selects""
2016-03-24 22:03:37 -06:00
FusionPBX
f9096f9cf1
Revert "search selects"
2016-03-24 22:02:41 -06:00
FusionPBX
e9904a03da
Merge pull request #1497 from blackc2004/master
...
search selects
2016-03-24 21:56:20 -06:00
FusionPBX
b1a0e9026a
Merge pull request #1503 from blackc2004/patch-37
...
Update directory_extensions.xml
2016-03-24 21:37:06 -06:00
FusionPBX
3c423e7f40
Merge pull request #1504 from blackc2004/patch-38
...
Update directory_extensions.xml
2016-03-24 21:28:46 -06:00
FusionPBX
7b90f54a67
Merge pull request #1505 from blackc2004/patch-39
...
Update directory_extensions.xml
2016-03-24 21:28:26 -06:00
FusionPBX
e0d80a1c11
Merge pull request #1506 from blackc2004/patch-40
...
Update directory_extensions.xml
2016-03-24 21:28:01 -06:00
markjcrane
0047f48f45
Use regex with is_local.
2016-03-24 18:43:51 -06:00
markjcrane
9249e1db9a
On windows force to / instead of the backslash \ as path. This fixes a problem where recording c:\pathtofusionpbx\recordings fails because the \r gets understood as a carriage return in the session:record in FreeSWITCH.
2016-03-24 15:02:04 -06:00
blackc2004
b69a21947b
Update directory_extensions.xml
2016-03-24 08:38:53 -07:00
blackc2004
7479b73ff1
Update directory_extensions.xml
2016-03-24 08:38:39 -07:00
blackc2004
75829a94c9
Update directory_extensions.xml
2016-03-24 08:38:25 -07:00
blackc2004
2234dfae70
Update directory_extensions.xml
2016-03-24 08:38:07 -07:00
blackc2004
137d604e04
fix directory_extension for new contacts variable
2016-03-23 12:23:41 -07:00
markjcrane
08ea915070
In the IVR Menu make sure direct dial checks if the destination is an extension before sending the call to it.
2016-03-23 12:49:32 -06:00
markjcrane
33aed1c15d
Update the disa.lua to prevent errors when caller hangs up before the destination is called.
2016-03-23 11:42:20 -06:00
blackc2004
c2e1755931
search selects
2016-03-22 15:42:46 -07:00
markjcrane
4a28244650
SPA122 - Set message waiting light to No when provisioning the device.
2016-03-21 23:45:05 -06:00
markjcrane
fafe273c18
Fix a spelling mistake in xml handler ivr.conf.lua.
2016-03-20 00:49:21 -06:00
markjcrane
2a280afea9
Fix direct dial for IVR using the xml handler.
2016-03-19 18:13:49 -06:00
markjcrane
08b4e3138c
Add destination number regex and string_to_regex function.
2016-03-17 13:22:03 -06:00
markjcrane
9cd30165d4
Change daylight_savings_start_date to daylight_savings_start_day as it is more accurate for representing the data. Add daylight_savings_start_time and daylight_savings_stop_time
2016-03-15 16:15:32 -06:00
markjcrane
d1d041dc62
Update default settings add daylight_savings_start_month and date for the polycom templates.
2016-03-15 13:51:01 -06:00
markjcrane
36529ae05a
Rolling back PHPMailer from version 5.2.14 to 5.2.2. The latest version had a problem with smtp authentication set to false it still tried to authenticate.
2016-03-15 02:58:23 -06:00
markjcrane
56350a8468
Update the Cisco 79xx templates to work with the new contacts array.
2016-03-14 18:56:00 -06:00
markjcrane
27829859b9
Add a missing semi-colon.
2016-03-12 22:16:22 -07:00
markjcrane
f924453e1c
Change $language_name to $text['language-name'] this will follow current naming standards in app_languages.php and reduces code needed in the text class.
2016-03-12 22:06:57 -07:00
markjcrane
61987425af
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-11 14:21:28 -07:00
markjcrane
c11459fae8
Get the domain_name from the array.
2016-03-11 14:21:08 -07:00
FusionPBX
8a8629404a
Merge pull request #1475 from mafoo/WhitespaceClean-resources/provision/polycom
...
WhitespaceClean-resources/provision/polycom
2016-03-11 13:34:49 -07:00
FusionPBX
3c85bc5999
Merge pull request #1476 from mafoo/WhitespaceClean-resources/provision/yealink
...
WhitespaceClean-resources/provision/yealink
2016-03-11 13:34:22 -07:00
FusionPBX
55993a1db7
Merge pull request #1474 from mafoo/WhitespaceClean-resources/provision/grandstream
...
WhitespaceClean-resources/provision/grandstream
2016-03-11 13:32:31 -07:00
FusionPBX
bd6efe903c
Merge pull request #1477 from mafoo/WhitespaceClean-resources/provision/mitel
...
WhitespaceClean-resources/provision/mitel
2016-03-11 13:32:01 -07:00
FusionPBX
489f1ef95f
Merge pull request #1478 from mafoo/WhitespaceClean-resources/provision/others
...
WhitespaceClean-resources/provision/others
2016-03-11 13:31:33 -07:00
FusionPBX
a22660bbff
Merge pull request #1481 from mafoo/WhitespaceClean-resources/jquery
...
WhitespaceClean-resources/jquery
2016-03-11 13:27:02 -07:00
FusionPBX
ee0df44e0d
Merge pull request #1461 from mafoo/BugFix-ring_groups
...
corrected function definition
2016-03-11 13:25:20 -07:00
FusionPBX
54c1dcfdf1
Merge pull request #1472 from mafoo/WhitespaceClean-resources/classes
...
WhitespaceClean-resources/classes
2016-03-11 13:22:57 -07:00
FusionPBX
260bf24100
Merge pull request #1479 from mafoo/WhitespaceClean-resources/install/scripts
...
WhitespaceClean-resources/install/scripts
2016-03-11 13:20:17 -07:00
FusionPBX
55a8bb2686
Merge pull request #1473 from mafoo/WhitespaceClean-resources/provision/cisco
...
WhitespaceClean-resources/provision/cisco
2016-03-11 13:19:13 -07:00
FusionPBX
919eacb2a7
Merge pull request #1480 from mafoo/WhitespaceClean-resources/templates/conf
...
WhitespaceClean-resources/templates/conf
2016-03-11 13:18:21 -07:00
FusionPBX
88fe82308f
Merge pull request #1482 from mafoo/WhitespaceClean-resources/edit_area
...
WhitespaceClean-resources/edit_area
2016-03-11 13:16:31 -07:00
FusionPBX
41dfdcef23
Merge pull request #1483 from mafoo/WhitespaceClean-resources/templates/engine/smarty
...
WhitespaceClean-resources/templates/smarty
2016-03-11 13:16:14 -07:00
FusionPBX
2be9c13080
Merge pull request #1484 from mafoo/WhitespaceClean-resources/others
...
WhitespaceClean-resources/others
2016-03-11 13:15:09 -07:00
markjcrane
f5c2222f97
Prevent custom sip port from breaking provision.lua and add prevent nil concatenation errors.
2016-03-11 10:31:11 -07:00
mafoo
5e97c0df2c
WhitespaceClean-resources/others
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:57:01 +00:00
mafoo
3f5d003c71
WhitespaceClean-resources/templates/smarty
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:45:32 +00:00
mafoo
aca80b09c0
WhitespaceClean-resources/edit_area
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:29:29 +00:00
mafoo
b0f383479a
WhitespaceClean-resources/jquery
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:26:36 +00:00
mafoo
893216a2d2
WhitespaceClean-resources/templates/conf
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:24:27 +00:00
mafoo
0eb7d5ddac
WhitespaceClean-resources/install/scripts
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:21:52 +00:00
mafoo
d68833f588
WhitespaceClean-resources/provision/others
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:22:24 +00:00
mafoo
5cae1fef28
WhitespaceClean-resources/provision/mitel
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:20:37 +00:00
mafoo
d018f74ed3
WhitespaceClean-resources/provision/yealink
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:18:50 +00:00
mafoo
1f8f01cabb
WhitespaceClean-resources/provision/polycom
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:16:24 +00:00
mafoo
713b29998b
WhitespaceClean-resources/provision/grandstream
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:12:47 +00:00
mafoo
9a6cf80f06
WhitespaceClean-resources/provision/cisco
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:10:46 +00:00
mafoo
1726744f4e
WhitespaceClean-resources/classes
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:08:26 +00:00
markjcrane
66ba2802bd
The last two changes to xml handler dialplan.lua did not work well with global dialplans. Removed some of the changes to fix the regression.
2016-03-11 00:58:52 -07:00
markjcrane
7b5d8f08c5
Add missing call_direction for ring group destinations.
2016-03-10 18:10:49 -07:00
markjcrane
833860e067
Use a more efficient way to get the domain name for xml handler - dialplan.
2016-03-10 08:18:46 -07:00
markjcrane
d14d4aeb8a
Increase efficiency xml handler section dialplan.
2016-03-09 13:09:25 -07:00
mafoo
8ceec465ac
corrected function definition
...
fixed bug introduced on 2/1/2016 in destination.lua
fixed bug introduced on 2/1/2016 in ring_member.lua
2016-03-09 17:54:44 +00:00
markjcrane
6804772e06
Fix the phrases_dir if statement. If the phrases_dir is not null then need to include xml from the file system.
2016-03-07 10:30:29 -07:00
markjcrane
90a9e55b77
Handle the phrases_dir nil in a more flexible way.
2016-03-04 15:51:10 -07:00
markjcrane
9ffcf3d872
Ensure the phrases_dir is not nil.
2016-03-04 15:08:58 -07:00
markjcrane
093235cca5
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-04 12:36:19 -07:00
markjcrane
ac0f620302
Prevent a nil error for xml handler languages.
2016-03-04 12:35:37 -07:00
reliberate
39a31432ba
User Dashboard: Minor layout optimizations.
...
Follow Me: Added search and minimized paging controls.
Extensions: Added minimized paging controls.
2016-03-03 19:01:58 -07:00
markjcrane
cb8aaac1f7
Add ring_member.lua to app/ring_groups/resources/scripts/ring_member.lua.
2016-02-29 18:52:04 -07:00
Alexey Melnichuk
f2c43cb441
Fix. FreeSWITCH also breaks loop if return string value which contain number.
...
```Lua
dbh:query(sql, function()
return "1" -- breaks loop
end)
2016-02-26 14:17:28 +03:00
Alexey Melnichuk
bd4fa2a537
Fix. LuaSQL db backend breaks loop only on positive numbers.
2016-02-26 13:57:32 +03:00
Alexey Melnichuk
b797775720
Fix. ODBC db backend should breaks loop only when callback returns number ~= 0
...
```Lua
dbh:query(sql, function(row)
-- return 0 -- should not break loop
-- return true -- should not break loop
return 1 -- should break loop
end)
```
2016-02-26 13:52:27 +03:00
reliberate
c469e12226
Languages: Corrected capitalization on 'false'.
2016-02-25 11:13:18 -07:00
FusionPBX
bb13ec5063
Merge pull request #1443 from moteus/database_backend
...
Database backend
2016-02-25 08:39:07 -07:00
Luis Daniel Lucio Quiroz
56121737a9
Wrong variable in freeswitch.email
...
https://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.email
same as my other pull request
2016-02-24 19:59:54 -05:00
reliberate
baf579c03e
Edit: Added Find/Replace and Go To (Line) features in toolbar, rename Ace application folder.
2016-02-24 14:44:32 -07:00
reliberate
e736538654
Edit: Addition of Ace editor application files in /resources
2016-02-24 12:32:41 -07:00
markjcrane
cda89cd03c
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-02-24 10:43:16 -07:00
markjcrane
3d61355494
Update the wallpaper variable yealink_t29g_wallpaper.
2016-02-24 10:42:50 -07:00
Alexey Melnichuk
7c225b404a
Fix. Add `#` to caller ID name when call from IVR
2016-02-24 16:28:38 +03:00
Alexey Melnichuk
466f85a0be
Move scripts to separate dirs.
2016-02-24 14:44:50 +03:00
markjcrane
fddef99e40
Update PHPMailer 5.2.2 to 5.2.14.
2016-02-22 15:00:57 -07:00
markjcrane
af18c963c0
Rename .project.ROOT to project_root.php this conforms better with current file naming standards.
2016-02-22 14:01:18 -07:00
markjcrane
976fc1bc8f
Increase the HTTPS security.
2016-02-22 13:18:37 -07:00
markjcrane
33192164ad
Fix a spelling mistake in the log message in dialplan.lua.
2016-02-22 13:17:04 -07:00
markjcrane
724ea56dd5
Set max rotate on the FreeSWITCH logs to 10.
2016-02-22 13:15:55 -07:00
Alexey Melnichuk
4735d9f41c
Fix. `unpack` moved to `table` in Lua 5.2
2016-02-20 15:22:28 +03:00
Alexey Melnichuk
6035d4033c
Fix. `connected` method on LuaSQL backend.
2016-02-20 15:20:38 +03:00
Alexey Melnichuk
80746dbe3b
Add. Support multiple database backends.
...
```Lua
local Database = require 'resources.functions.database'
-- Default backend configured via xml_handler.db_backend = 'native'
dbh = Database.new("system")
-- To use other backends you can use
dbh = Database.backend.luasql("system")
```
2016-02-19 17:03:45 +03:00
FusionPBX
7e8e1996f0
Merge pull request #1441 from moteus/page_caller_id_name
...
Fix. set caller id name in `page` application
2016-02-19 00:56:19 -07:00
markjcrane
acda022e25
Company directory allow only setting the first or last name.
2016-02-16 13:05:25 -07:00
Alexey Melnichuk
270508bf95
Fix. set caller id name in `page` application
2016-02-16 13:36:14 +03:00
markjcrane
9e029b27eb
Fix a spelling problem in the demo_ivr.xml.
2016-02-11 13:35:12 -07:00
markjcrane
4e0f3e7918
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-02-10 13:49:46 -07:00
markjcrane
e18a556643
Prevent nil from crashing the lua script.
2016-02-10 13:49:31 -07:00
bdstephenson
3e5353b9aa
Update W52P Provisioning Template
...
account.1.subscribe_mwi should be set to '1' as per Yealink documentation. Not setting this may cause MWI to not work on the W52P.
2016-02-08 08:48:37 -05:00
Alexey Melnichuk
b616736a29
Fix. Declare vars in correct scope.
2016-02-05 10:20:09 +03:00
Alexey Melnichuk
b3764e21f9
Update log.
2016-02-04 20:00:12 +03:00
Alexey Melnichuk
9f818dfbbf
Fix. Infinity loop. IVR ignores `max_failures`.
2016-02-04 19:42:42 +03:00
Alexey Melnichuk
a9e4f5a3e6
Fix. Allow multiple actions in IVR
2016-02-04 19:05:24 +03:00
Alexey Melnichuk
1f9fbc6b7b
Use logger class.
2016-02-04 16:05:35 +03:00
Alexey Melnichuk
2fe1337494
Simplify code
2016-02-04 13:20:30 +03:00
Alexey Melnichuk
834c0bce86
Merge remote-tracking branch 'upstream/master' into ivr_menu
2016-02-04 12:14:27 +03:00
FusionPBX
254ecafad3
Merge pull request #1420 from moteus/fix_partial_dialplan
...
Fix. Do not build context if there error.
2016-02-03 21:32:15 -07:00
markjcrane
5f5b70891c
Update for provisioning. Add a new phone the Yealink t49g.
2016-02-03 20:02:59 -07:00
markjcrane
58bbf9ae7b
Remove trailing whitespaces.
2016-02-03 19:03:16 -07:00
markjcrane
aa020308d4
In vars.xml switch from hostname to the switchname.
2016-02-03 19:02:10 -07:00
markjcrane
b7512ecc88
Include the mkdir function for the IVR Menu.
2016-02-03 10:43:22 -07:00
markjcrane
986784e3fa
Base64 - Make sure the directory structure exists.
2016-02-03 10:01:43 -07:00
FusionPBX
a698b32b2a
Merge pull request #1421 from moteus/cache_support
...
Fix. cache.support always returns `false`
2016-02-03 08:31:27 -07:00
Alexey Melnichuk
2f8e950d34
Fix. Can not pick any options after IVR play `streamfile.lua`
...
Rewrite ivr functions to easy read code.
2016-02-03 16:53:22 +03:00
Alexey Melnichuk
a1170e1396
Fix. Use domain name in streamfile.lua.
...
Fix. Unset input callback after play file done.
2016-02-03 15:20:50 +03:00
Alexey Melnichuk
05188ffd24
Fix. cache.support always returns `false`
2016-02-02 19:54:23 +03:00
Alexey Melnichuk
69be506311
Add. debug message to log.
2016-02-02 19:32:27 +03:00
Alexey Melnichuk
b6ed2eebe9
Fix. Do not build context if there error.
2016-02-02 19:08:19 +03:00
markjcrane
1a0301f6f7
Call center used with xml handler does not have access to the session. Remove session and replace it with api global_getvar as session is not always available.
2016-02-01 11:16:23 -07:00
markjcrane
28b7905c76
LUA function format_ringback the session:getVariable must have quotes around the 'hold_music' string. Next check to see if the ringback is nil or an empty string first before trying to use 'match'.
2016-01-31 10:10:08 -07:00
markjcrane
167e3061aa
Add polycom_digitmap variable for Polycom variable for provisioning.
2016-01-29 16:02:32 -07:00
markjcrane
df78108b18
Mitel provisioning ensure the user_id is set for all keys.
2016-01-29 13:45:25 -07:00
markjcrane
b61cf0cff7
More work on the Mitel key handling.
2016-01-29 12:10:55 -07:00
markjcrane
6b2949e9b2
Fix the Mitel key type.
2016-01-29 12:04:37 -07:00
markjcrane
0f420f275f
Mitel Provisioning add a value for 'Addr'
2016-01-29 11:34:10 -07:00
markjcrane
73d2360b8a
Remove the indentation on the Mitel key assignments so the resulting provisioning file is easier to read.
2016-01-29 11:14:49 -07:00
markjcrane
147bb801fe
Update the Mitel template for Key Line use the key_id instead of key_line.
2016-01-29 11:05:05 -07:00
markjcrane
b8c0c5f2dc
Fix the syntax for the Mitel template.
2016-01-29 10:53:36 -07:00
markjcrane
861153fb05
Add Mitel 5330 provisioning templates.
2016-01-29 10:34:18 -07:00
markjcrane
e763848e1d
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-01-29 10:32:03 -07:00
markjcrane
bbc49caacc
Improve the key handling in the Mitel.
2016-01-29 10:31:44 -07:00
FusionPBX
85218c9133
Merge pull request #1415 from mafoo/Enhance-ringback
...
Enhance ringback
2016-01-29 07:24:14 -07:00
mafoo
b573f65410
converted callcenter to use common function
2016-01-29 11:26:21 +00:00
markjcrane
e27ecec310
Change spandsp.conf.xml use-ecm from true to false.
2016-01-28 19:42:39 -07:00
mafoo
b655a064fd
Converted uses of ringback to common function
2016-01-28 15:51:50 +00:00
markjcrane
9787fe2087
Update the Cisco 794x personal contacts.
2016-01-25 20:42:48 -07:00
markjcrane
cf2a4601ff
Remove the recordings_dir with automatic domain_name and add domain_name in a few places where it was missing.
2016-01-25 16:53:09 -07:00
markjcrane
48d220b93e
Add recording file handling to the ivr xml handler.
2016-01-25 16:32:27 -07:00
markjcrane
46fd506ed2
Add domain name to the recordings path in ivr_menu.lua.
2016-01-25 16:31:04 -07:00
markjcrane
d3e89f0540
Change the comment in check_password.lua.
2016-01-22 12:24:18 -07:00
Alexey Melnichuk
da1aa87b9e
Fix. Do not prompt password if there no mailbox.
2016-01-22 11:37:34 +03:00
markjcrane
1b79c30ce0
Update the constructor in the vcard class.
2016-01-20 23:56:06 -07:00
markjcrane
fe14179f0f
Remove the polycom/tftp/site.cfg as its currently not working as expected.
2016-01-20 20:33:50 -07:00
markjcrane
3d687d3f39
Add a new polycom template for tftp.
2016-01-20 16:27:17 -07:00
Mafoo
56b34c34ca
changed throw Exception to die
...
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
markjcrane
5efc4dd0b7
Add personal directory array for provisioning.
2016-01-19 22:14:02 -07:00
Mafoo
87dbd6b428
Added check for if .project.ROOT is missing
...
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
markjcrane
fa081456b1
Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"].
2016-01-17 00:01:13 -07:00
markjcrane
4a1c02973d
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-01-16 21:42:40 -07:00
markjcrane
87b0a2344f
Rename the cisco provision files for consistency.
2016-01-16 21:42:13 -07:00
blackc2004
e842e06f53
change file name
2016-01-16 11:30:49 -08:00
FusionPBX
d298dad5cc
Merge pull request #1331 from mafoo/BugFix-root.php_logic
...
Rollout new root.php
2016-01-16 10:09:44 -07:00
markjcrane
912e9dab28
Consolidate the SQL Queries for better performance.
2016-01-16 09:54:01 -07:00
FusionPBX
6e2cc41caf
Merge pull request #1139 from joernott/master
...
Allow provisioning with internal addressbook and update snom320 tpl
2016-01-15 22:45:32 -07:00
FusionPBX
40d6c3f601
Merge pull request #1385 from blackc2004/master
...
yealink remote phone book
2016-01-15 22:40:55 -07:00
FusionPBX
697ddb08c9
Merge pull request #1384 from moteus/lua_conf_run_example
...
Add. Example of how run fax queue monitor.
2016-01-15 21:43:34 -07:00
FusionPBX
eb77a26998
Merge pull request #1387 from mafoo/BugFix-Languages
...
BugFixes in languages.lua
2016-01-15 21:42:48 -07:00
blackc2004
6dc1f9b631
Update cidlookup.conf.xml
2016-01-15 20:11:38 -08:00
markjcrane
1a896d3cd2
Fix the domain name in MN_Generic.cfg.
2016-01-15 17:54:06 -07:00
markjcrane
7d5312520a
Make the domain in MN_Generic.cfg dynamic.
2016-01-15 17:35:00 -07:00
markjcrane
4c5d644757
Mitel provisioning add MN_Generic.cfg and update the 5324 and 5340 templates.
2016-01-15 17:09:16 -07:00
markjcrane
492653b1e0
Add a line feed to the mitel/5324/MN_{$mac}.cfg template.
2016-01-15 14:27:53 -07:00
markjcrane
9d61033b87
Default mitel tftp_config to 2.
2016-01-15 14:15:53 -07:00
markjcrane
dd7f473f8d
Fix the domain_name syntax.
2016-01-15 13:45:32 -07:00
markjcrane
3da1d0b521
A few more adjustments for the Cisco 79xx directories.
2016-01-15 13:43:40 -07:00
markjcrane
725fc133ea
Fix the syntax in the 7940 and 7960 directory-personal.xml configuration.
2016-01-15 13:36:46 -07:00
Matthew Vale
b0e4f19993
BugFixes in languages.lua
...
removed extra ;'s
fix file_handle:close to be inside the if null check
2016-01-15 10:35:19 +00:00
Matthew Vale
6999198492
added logic in cli mode to chdir to the correct directory first
...
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale
b7e350b845
changed text.php to use $_SERVER["PROJECT_ROOT"]
2016-01-14 16:15:41 +00:00
blackc2004
526a20169e
start of local extensions as remote phone book
2016-01-13 10:08:38 -08:00
Matthew Vale
a41e89af76
Added full logic to support cli as well
2016-01-13 17:38:54 +00:00
Alexey Melnichuk
a2d29679a8
Add. Example of how run fax queue monitor.
2016-01-13 10:40:21 +03:00
Alexey Melnichuk
aaf9e52e48
Change. Move `fax_queue_*` scripts to `app/fax/resources/scripts`
2016-01-13 10:22:32 +03:00
markjcrane
3853bd85dc
Complete adding application hangup.
2016-01-12 23:16:45 -07:00
markjcrane
f0b57b1516
Add hangup to the destination select list.
2016-01-12 21:07:49 -07:00
markjcrane
56fa5dafba
Comment out the languages not in use until they are needed.
2016-01-12 21:04:39 -07:00
markjcrane
f63d786ca4
Remove the rss feed from the Mitel template.
2016-01-12 20:50:48 -07:00
markjcrane
0c39c98213
Show when we are clearing the cache for *78 or *79.
2016-01-12 19:34:57 -07:00
Matthew Vale
0176d30312
change to use '/' instead of DIRECTOR_SEPERATOR
2016-01-12 14:47:50 +00:00
Matthew Vale
e6ad46cfbf
Rollout of root.php
2016-01-12 13:55:39 +00:00
markjcrane
595f10ef2f
Change array extensins to contact_extensions and add a new extension array. Remove trailing spaces. And add a new cisco 79xx directory called Our Phones.
2016-01-12 02:42:59 -07:00
markjcrane
352a630f42
Add dsn_callcenter and improve the indentation.
2016-01-12 01:48:11 -07:00
markjcrane
86b0e88d16
Fix the PostgreSQL query in cidlookup.conf.xml.
2016-01-08 18:15:45 -07:00
markjcrane
7ea8a14384
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-01-06 11:10:37 -07:00
blackc2004
7269520f99
another directory setting url typo
2016-01-06 09:43:25 -08:00
markjcrane
0da3b9fe4a
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-01-05 13:19:18 -07:00
markjcrane
ce78189a80
Fix the FAX retry email.
2016-01-05 13:19:02 -07:00
blackc2004
9d99de26bc
fix two files
2016-01-05 12:16:53 -08:00
blackc2004
868affab3a
change ldap settings to be consistent across all yealink files
2016-01-05 12:14:03 -08:00
blackc2004
84a420d8df
Update y000000000036.cfg
2016-01-05 11:20:33 -08:00
blackc2004
f022a5d104
Update y000000000029.cfg
2016-01-05 11:19:08 -08:00
FusionPBX
5ab294996f
Merge pull request #1365 from blackc2004/patch-26
...
Update y000000000005.cfg
2016-01-05 11:40:50 -07:00
FusionPBX
38861efcf7
Merge pull request #1367 from blackc2004/patch-28
...
Update y000000000029.cfg
2016-01-05 11:40:07 -07:00
FusionPBX
b5f9dfb69e
Merge pull request #1364 from blackc2004/patch-27
...
Update y000000000046.cfg
2016-01-05 11:39:58 -07:00
blackc2004
f4ab98828d
Update y000000000035.cfg
2016-01-05 09:58:00 -08:00
blackc2004
3303d0d907
Update y000000000029.cfg
2016-01-05 09:54:38 -08:00
blackc2004
4365535429
Update y000000000046.cfg
2016-01-05 09:53:43 -08:00
blackc2004
fe75094087
Update y000000000005.cfg
2016-01-05 09:51:58 -08:00
markjcrane
98f0389947
Another adjustment to the xml.
2016-01-04 19:33:02 -07:00
markjcrane
31a395ab45
A few more xml adjustments for the IVR Menu and add a desription attribute for each IVR option.
2016-01-04 19:29:39 -07:00
markjcrane
aa384869cc
Fix a small bug with the ivr.
2016-01-04 19:19:39 -07:00
markjcrane
752a5acf8b
Update the ivr menu to use memcache with the uuid as part of the key.
2016-01-04 19:09:29 -07:00
markjcrane
451b106c1e
Continue work to make IVR menu work from XML handler.
2016-01-04 19:05:31 -07:00
markjcrane
2c22aea566
Rename ivr.lua to ivr.conf.lua.
2016-01-04 19:03:28 -07:00
markjcrane
1a4dc2a658
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-01-04 17:16:27 -07:00
markjcrane
5daf58be72
Using phrase uuid instead of the phrase name reason is this prevents the phrase from breaking when the phrase name is changed.
2016-01-04 17:16:14 -07:00
FusionPBX
f062ddf289
Revert "cherry picked changes from 4.0 branch"
2016-01-04 13:13:48 -07:00
markjcrane
724afd7c17
FusionPBX source coding standard uses tabs instead of spaces for indentation.
2016-01-04 13:04:51 -07:00
markjcrane
72c1e23d56
Update destination.lua some preparation to extend it further.
2016-01-04 12:56:50 -07:00
Alexey Melnichuk
bc9ffa431f
Fix. Definition of `uuid` function in destination.lua.
2016-01-04 09:56:06 +03:00
markjcrane
ccc44825e8
Change lang_path to phrases_dir in languages.lua.
2016-01-03 00:42:40 -07:00
markjcrane
e83b727b7b
Rename ring_member.lua to destination.lua.
2016-01-02 16:38:59 -07:00
markjcrane
122f0bb0a2
Remove the + from the format_phone function.
2016-01-02 16:22:19 -07:00
markjcrane
2c4101e8d0
Move ring_member.lua to ring_groups/resources/scripts/ring_member.lua.
2016-01-02 13:21:34 -07:00
markjcrane
89b2da603f
Improve ring_member.lua with consistent indentation, notes, and more if session:ready to prevent errors.
2016-01-02 13:09:28 -07:00
Matthew Vale
7c74d5cf48
cherry picked changes from 4.0 branch
2015-12-31 10:11:31 +00:00
markjcrane
73b5c22b65
Add odbc-dsn to fifo.conf.xml
2015-12-29 23:47:20 -07:00
markjcrane
7d92c4e4a4
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-12-29 14:54:09 -07:00
markjcrane
fe99226aa2
Trim the default codecs slightly.
2015-12-29 14:53:53 -07:00
Alexey Melnichuk
8ac7d708d3
Change. Reuse same esl connection to send cache event and command.
...
Fix. Implicitly close esl connection after do cache command.
2015-12-24 13:19:53 +03:00
markjcrane
3e09e32390
Change the .wav to ${record_ext} in the internal sip profiles.
2015-12-23 13:23:54 -07:00
markjcrane
6788b15184
Add record_ext to the recordings.lua.
2015-12-23 12:02:14 -07:00
markjcrane
6dea6e653c
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-12-22 21:30:55 -07:00
markjcrane
18e0ea3376
AND r.enabled = 'true' shows up on two lines change one to m.enabled and then add m.enabled to the second query.
2015-12-22 21:30:36 -07:00
FusionPBX
c9a9182e72
Merge pull request #1341 from moteus/directory_acl_directory
...
Fix. Generate XML for mod_directory.
2015-12-22 20:54:25 -07:00
Alexey Melnichuk
e708d38e01
Fix. Remove unused code.
2015-12-22 17:19:14 +03:00
markjcrane
4479760618
Fix the ring back on the XML handler -> callcenter.conf.lua.
2015-12-21 23:31:46 -07:00
markjcrane
5da1286329
Add session cookie httponly and set it to true.
2015-12-21 20:52:54 -07:00
Alexey Melnichuk
57a4970c77
Fix. Generate XML for mod_directory.
...
Fix. Generate XML for ACL only for ext which contain `cidr` attr.
Fix. Do not generate entire XML with all ext when sofia request gateways
2015-12-21 17:17:06 +03:00
markjcrane
e2feca300a
Remove this->write_debug from the recursive functions.
2015-12-21 04:31:44 -07:00
markjcrane
302238dc67
Remove 'protected' from the function.
2015-12-21 04:28:23 -07:00
FusionPBX
73daad6e10
Merge pull request #1339 from mafoo/Enhance-resouce/functions.php
...
migrated install_switch's recursive_* routines
2015-12-21 04:25:29 -07:00
Matthew Vale
c0cc276601
migrated install_switch's recursive_* routines
2015-12-21 10:54:48 +00:00
markjcrane
4fd6c57828
Shorten the Sofia User Agent to reduce SIP header size. User Agent by default includes version and git version number.
2015-12-21 03:41:37 -07:00
markjcrane
4df39487d0
Test if email_validate function exists and fix change the indentation from spaces to tabs.
2015-12-20 22:36:34 -07:00
markjcrane
a089c6a76c
Add all domain users to XML handler.directory.domain.
2015-12-20 01:01:52 -07:00
markjcrane
fba3fb039f
Add one line between each function.
2015-12-19 15:00:10 -07:00
FusionPBX
bd914ba376
Merge pull request #1315 from mafoo/Enhance-Languages
...
Enhance languages
2015-12-19 09:20:42 -07:00
FusionPBX
6f7538bc9c
Merge pull request #1334 from kpabijanskas/master
...
XML Handler incorrectly handling 'date-time' time conditions
2015-12-18 08:47:47 -07:00
markjcrane
1c592d5f39
Fix the sip_profiles/internal-ipv6 correct core-db-dsn to odbc-dsn.
2015-12-17 10:43:06 -07:00
markjcrane
7c061fab0f
Change the version to 4.1 to represent that their are bug fixes and features added since 4.0.x.
2015-12-15 22:06:35 -07:00
markjcrane
401fbb56e2
Add 'to' variable to the first two parameters for freeswitch.email.
2015-12-15 21:10:18 -07:00
Karolis Pabijanskas
e3520b9f5b
This pull requests fixes XML Handler support for 'date-time' time codition. With this, date-time gets rendered as:
...
<condition date-time="2015-12-15 15:00~2015-12-16 15:00">
Without this, the time condition WOULD get redered as:
<condition field="date-time" expression="2015-12-15 15:00~2015-12-16 15:00">
which is incorrect and would always match false in FreeSWITCH.
FreeSWITCH docs for this are here: https://freeswitch.org/confluence/display/FREESWITCH/Time+of+Day+and+Holiday+Routing#TimeofDayandHolidayRouting-Variables
All other time condition variables documented seem to be included in FusionPBX'es XML Handler.
2015-12-15 16:31:27 +00:00
Matthew Vale
81b85c3caf
Merge branch 'fusionpbx/master' into Enhance-Languages
...
Conflicts:
app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
blackc2004
0a08484546
CDR Stats Add ADV Search options request 1173
...
CDR Stats Add ADV Search options request 1173
2015-12-10 11:06:42 -08:00
Matthew Vale
fe949cf048
Initial consolidation of common terms
2015-12-10 10:06:48 +00:00
Matthew Vale
fc9a45d313
Added initial version of app/languages
...
for analyzing missing or overlapping with global text
2015-12-10 10:04:35 +00:00
Matthew Vale
e2cc65874d
Add Fallback language support to en-us
2015-12-10 09:57:54 +00:00
Matthew Vale
e3f1e919da
Migrate app_languages.php from core to resources
2015-12-10 09:57:08 +00:00
FusionPBX
daa0f9bb70
Merge pull request #1294 from moteus/fax_queue_mail_template
...
Add. mail templates for fax server responses.
2015-12-09 16:28:35 -08:00
FusionPBX
0547e9fce7
Merge pull request #1303 from blackc2004/patch-19
...
Update directory.lua
2015-12-09 15:02:48 -08:00
blackc2004
8d072ae13f
Update index.lua
2015-12-09 14:04:59 -08:00
blackc2004
dca392fcc5
Update directory.lua
2015-12-09 14:03:17 -08:00
Alexey Melnichuk
92ea882398
Fix. Use task db connection to build template.
2015-12-09 14:56:02 +03:00
Alexey Melnichuk
7a45e14c8c
Add. mail templates for fax server responses.
2015-12-09 12:43:40 +03:00
markjcrane
bc1fcebad3
Fix the domain name in the path for the inbound fax dialplan.
2015-12-08 22:34:23 -07:00
markjcrane
6387f37009
Prevent the conference alone sound from playing twice.
2015-12-07 16:30:03 -07:00
markjcrane
310b7f2b92
Correct the provision time zone variables used in the t48g template.
2015-12-06 14:53:20 -07:00
markjcrane
cde9debb29
After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used.
2015-12-06 13:37:35 -07:00
markjcrane
16abb2849f
Remove the domain name from the switch recordings SESSION variable. The path for single and multi-tenant are handled the same and all will used their domain name.
2015-12-06 12:36:08 -07:00
markjcrane
689300e9cd
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-12-04 17:35:27 -07:00
markjcrane
5291abfe17
Update the wakeup phrases.
2015-12-04 17:35:02 -07:00
Alexey Melnichuk
5c8aa45d44
Fix. send_mail without file.
2015-12-04 16:18:53 +03:00
Matthew Vale
47ff30bce0
fix to the external IPv6
2015-12-03 15:42:52 +00:00
markjcrane
8ac5852137
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-12-02 20:37:26 -07:00
markjcrane
7f0f8ff1cd
Change ntp server variable for Cisco 7940 and 7960 ntp_server_primary.
2015-12-02 20:36:47 -07:00
FusionPBX
6c10eaf21a
Merge pull request #1271 from mafoo/Enhance_Install
...
Enhance install based on feedback
2015-12-02 10:22:44 -07:00
Matthew Vale
96a22b5321
made reference to install resource literal
2015-12-02 16:07:23 +00:00
markjcrane
5d2c76b7e2
Seperate Cisco 7940/7960 from Cisco SPA so that both can work with check-sync for reboot and reprovision.
2015-12-01 21:12:52 -07:00
markjcrane
906cb13145
Add check-sync support for Linksys SPA.
2015-12-01 20:48:47 -07:00
markjcrane
64c6dd0181
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-12-01 14:10:01 -07:00
markjcrane
706b80ea30
Add syncinfo.xml for cisco 7940 and 7960.
2015-12-01 14:09:44 -07:00
FusionPBX
8bb6d70e64
Merge pull request #1273 from moteus/fax_queue
...
Add. `Tasks.send_mail_task` function to send task reply.
2015-12-01 11:01:32 -07:00
Matthew Vale
f0e2e8d735
Merge remote-tracking branch 'remotes/fusionpbx/master' into Enhance_Install
...
Conflicts:
core/install/resources/classes/install_fusionpbx.php
2015-12-01 16:21:10 +00:00
Matthew Vale
a936bbcf74
moved config_lua responsibility to install_switch
2015-12-01 15:13:33 +00:00
Alexey Melnichuk
efc62b064b
Remove unused code.
2015-12-01 16:24:53 +03:00
Alexey Melnichuk
f8c86b42bc
Add. `Tasks.send_mail_task` function to send task reply.
2015-12-01 15:46:52 +03:00
Matthew Vale
42e9771791
use fixed value for the replacement as DIRECTORY_SEPARATOR changes per platform
2015-12-01 11:44:24 +00:00
Matthew Vale
d520226c87
corrected the normalizer
2015-12-01 11:35:23 +00:00
Alexey Melnichuk
20a84ee9b5
Fix. Remove global variable.
2015-12-01 14:35:17 +03:00
Matthew Vale
db1e53296e
db_create not create_db
...
corrected version detection
corrected constant
2015-12-01 10:23:24 +00:00
Matthew Vale
d305dd2f79
added normalize_path
2015-12-01 10:11:39 +00:00
markjcrane
e7ee8fb0f8
Add an additional line feed to the grandstream/gxp21xx template.
2015-11-30 13:42:06 -07:00
markjcrane
d4303df93a
Adjust the spaces and remove the extra device key type.
2015-11-30 13:39:17 -07:00
markjcrane
ea16b7ea8c
Add a missing plus in the template.
2015-11-30 13:35:31 -07:00
markjcrane
1f7923908f
Adjust the type / mode in the Grandstream gxp21xx template.
2015-11-30 13:33:46 -07:00
markjcrane
675544a655
Add a few more keys parameters to the Grandstream gxp21xx template.
2015-11-30 12:50:41 -07:00
markjcrane
170260a8a5
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-11-30 12:33:48 -07:00
markjcrane
ba0a00bc84
Add expansion aka side car support to the Grandstream gxp21xx template.
2015-11-30 12:33:27 -07:00
FusionPBX
10380a619b
Merge pull request #1267 from moteus/fax_queue
...
Add. Send reply message after fax task done.
2015-11-30 11:05:19 -07:00
Alexey Melnichuk
6cfc24f8eb
Fix. Send mail when fail create outbound channel.
2015-11-30 12:08:26 +03:00
Alexey Melnichuk
5339e39db8
Add. Send reply message after fax task done.
2015-11-30 11:57:09 +03:00
Alexey Melnichuk
fedd5ba9fc
Add. Text class to manage translate texts.
2015-11-30 10:22:55 +03:00
markjcrane
6fa7dcfa30
Synchronize the cisco 7940 with the 7940 template.
2015-11-28 21:12:16 -07:00
markjcrane
f9a5aa2461
Complete the directory for Cisco 7940 template.
2015-11-28 21:09:12 -07:00
markjcrane
37741c0926
Remove the mac address from the path in one more location.
2015-11-28 19:56:06 -07:00
markjcrane
1a46a38c04
Add option to get the mac address from &name=SEPxxxxx
2015-11-28 19:48:45 -07:00
markjcrane
42b0cf5c76
Escape the & in the directory url with &
2015-11-28 19:31:07 -07:00
markjcrane
7e67cbc16f
Correct the paths to the Cisco 7940 directory xml files.
2015-11-28 18:47:52 -07:00
markjcrane
7ac51b5664
Improve the white space handling in the 7940 directory.xml files.
2015-11-28 18:39:38 -07:00
markjcrane
71b7e1c0ff
Another adjustment to the Cisco 7940 template for nat_enable.
2015-11-28 18:03:47 -07:00
markjcrane
20eae285a9
Set nat_enabled = 1 as a default, and add sync 1 to the Cisco 7940 template.
2015-11-28 17:53:44 -07:00
markjcrane
be5fb172d5
Fix the device label for the Cisco 7940.
2015-11-28 17:31:31 -07:00
markjcrane
f949334989
Update the Cisco 7940 template.
2015-11-28 17:08:41 -07:00
markjcrane
dde6c07a3f
Clear the SIPDefault.cnf better to have full control per device of all setttings.
2015-11-28 16:50:50 -07:00
FusionPBX
3bf31f0c5b
Merge pull request #1263 from moteus/v_mailto
...
Change. Rename v_mailto.bat to mailto.bat
2015-11-28 12:49:29 -07:00
Alexey Melnichuk
85634c801e
Change. Move fax_queue to app/fax.
2015-11-28 11:40:54 +03:00
Alexey Melnichuk
a5d6c85e6f
Change. Rename v_mailto.bat to mailto.bat
2015-11-28 11:17:46 +03:00
markjcrane
1691c3e5f0
Use the new config class in the domains and schema classes.
2015-11-27 19:59:50 -07:00
markjcrane
82e602e93a
Missed a set of round brackets on this->exists.
2015-11-27 19:53:30 -07:00
markjcrane
9d9f2597bb
Correct the variable name and add the additional code examples.
2015-11-27 19:48:22 -07:00
markjcrane
c0394ba790
Remove some of the comments and an extra curly bracket.
2015-11-27 19:29:56 -07:00
markjcrane
ddcd8a5f23
Update the config php class.
2015-11-27 19:25:16 -07:00
markjcrane
e4d850aa10
Rename the config.php file and a few minor adjustments to install_fusionpbx.
2015-11-27 19:03:25 -07:00
markjcrane
377ab8cfd9
Add a new config.php class.
2015-11-27 18:57:23 -07:00
markjcrane
744ba6f9a4
Correct the file names of the Mitel templates.
2015-11-27 13:56:53 -07:00
FusionPBX
962dad91ad
Merge pull request #1261 from moteus/mailto_windows
...
Fix. Use wrapper bat file to v_malito.php on Windows.
2015-11-27 10:27:53 -07:00
Alexey Melnichuk
83022b60b2
Fix. json encode x-headers
2015-11-27 16:29:52 +03:00
Alexey Melnichuk
406e95ab29
Add. `send_mail` wrapper function to freeswitch.email and v_mailto.php.
...
Fix. Send voicemail when set unknown language/dialect.
2015-11-27 15:47:14 +03:00
Alexey Melnichuk
2aaba3b440
Fix. Use wrapper bat file to v_malito.php on Windows.
...
Tested on WAMP and OpenServer.
2015-11-27 14:50:08 +03:00
FusionPBX
a203d730a8
Merge pull request #1257 from mafoo/bugfix-ft_install
...
Bugfix ft install
2015-11-26 10:22:55 -08:00
Alexey Melnichuk
a439e7caa6
Add. log session uuid
2015-11-26 17:41:48 +03:00
Alexey Melnichuk
ed595a3708
Fix. Remove task in next.lua (Fix preview commit)
2015-11-26 17:30:56 +03:00
Alexey Melnichuk
b00229e5fc
Fix. Remove task in next.lua
2015-11-26 17:25:15 +03:00
Alexey Melnichuk
ac44787e36
Fix. problem when same session can release task multiple times.
...
It can be when originate has group dial-string. So it call `api_hangup_hook`
for each channel.
Now we release task in `retry.lua` only if originate success and this is same channel
which execute `exec.lua`.
If originate fail we release task `next.lua`
2015-11-26 17:23:33 +03:00
markjcrane
759a375f5e
Remove trailing tabs. Fix some spelling mistakes. And update core/upgrade/app_defaults.php to fix advanced -> upgrade.
2015-11-25 18:06:27 -07:00
markjcrane
89c2f4ecb5
Correct the primary key of v_fax_tasks table. Coding standards require primary key to remove v_ prefix, singular form and add a _uuid postfix. Result is task_uuid has been changed to fax_task_uuid.
2015-11-25 08:51:54 -07:00
FusionPBX
b562c4e5ec
Merge pull request #1251 from moteus/fax_queue
...
Fax queue
2015-11-25 07:37:28 -08:00
FusionPBX
6ac4d8a25c
Merge pull request #1252 from mafoo/Install_Rewrite
...
Install rewrite
2015-11-25 07:35:50 -08:00
Alexey Melnichuk
3e9222d3ab
Fix. cleanup old tasks.
2015-11-25 13:21:02 +03:00
Alexey Melnichuk
e51c890c41
Fix. Log output in retry.lua
2015-11-25 12:42:56 +03:00
markjcrane
818a0be88d
Fix the path on the provisioning file.
2015-11-24 16:31:25 -07:00
Alexey Melnichuk
e4c51396c8
Add. option to work with broken `affected_rows` FS 1.4
2015-11-24 18:49:21 +03:00
Alexey Melnichuk
6d1e73ca13
Fix. Add `split` function (required by lazy_settings).
2015-11-24 14:26:21 +03:00
markjcrane
faad283331
Clear the dial_string variable so that it to prevent duplicate destinations.
2015-11-22 19:07:56 -07:00
markjcrane
93ff09e8b1
Add a new variable mitel_vlan_id.
2015-11-20 10:50:35 -07:00
markjcrane
ff9e302768
Add Mitel 5324 and 5340 templates.
2015-11-20 09:23:41 -07:00
Matthew Vale
0227b11822
Merge remote-tracking branch 'remotes/fusionpbx/master' into Install_Rewrite
...
Conflicts:
themes/enhanced/app_defaults.php
2015-11-20 10:50:27 +00:00
Alexey Melnichuk
b95410387e
Merge branch 'master' into fax_queue
2015-11-20 11:00:44 +03:00
Alexey Melnichuk
b3cc3a8887
Add. Supports MySQL/SQLite to fax queue.
2015-11-20 10:38:51 +03:00
FusionPBX
d004db6866
Merge pull request #1248 from blackc2004/master
...
vlan id's in yealink
2015-11-19 17:40:11 -08:00
markjcrane
e93e225515
Add underscore between the words in the variables.
...
{$ldap_name_filter}
{$ldap_number_filter}
{$yealink_directory_setting_url}
2015-11-19 15:20:14 -07:00
blackc2004
0bcde0707c
Update y000000000036.cfg
2015-11-19 13:47:38 -08:00
blackc2004
824287ef76
Update y000000000037.cfg
2015-11-19 13:47:17 -08:00
blackc2004
29ef0453a7
Update y000000000035.cfg
2015-11-19 13:47:05 -08:00
blackc2004
71c8630f00
Update y000000000029.cfg
2015-11-19 13:46:37 -08:00
blackc2004
003c86c015
Update y000000000028.cfg
2015-11-19 13:45:06 -08:00
FusionPBX
bc37dd18d7
Merge pull request #1245 from mafoo/Enhance-Sip_Profiles
...
Enhance sip profiles
2015-11-19 09:17:22 -08:00
Matthew Vale
850a1af0c0
Added more ringer types
...
corrected reference to ssl dir to use $conf_dir
moved countries list out to its own file so it can be maintained easier
(and used by other apps)
2015-11-19 14:54:04 +00:00
Matthew Vale
116298f721
Added External IPv6 support
...
created the external IPv6 profile
2015-11-19 13:57:23 +00:00
Alexey Melnichuk
82d858c2b8
Add. Basic fax_queue_monitor script.
...
To start
From cli: `luarun fax_queue_monitor.lua`
Autostart with FS: Add `<param name="startup-script" value="fax_queue_monitor.lua"/>` to `lua.conf.xml`
From shell: call from `script_dir` `lua fax_queue_monitor.lua` (require installed Lua and some additional libraries).
To stop
remove `fax_queue.tmp` file from `script_dir/run`
2015-11-19 13:19:59 +03:00
Matthew Vale
75efd1bd58
Resolved install issues, environment now in tact enough to run app_defaults
2015-11-18 17:30:43 +00:00
Matthew Vale
192ef9fc3f
Merge remote-tracking branch 'remotes/fusionpbx/master' into Install_Rewrite
2015-11-18 17:08:37 +00:00
Matthew Vale
9db81bdcb6
re-added file to file conflict
2015-11-18 17:05:10 +00:00
FusionPBX
ed8c7ee732
Merge pull request #1239 from mafoo/Enhance-Languages
...
Enhance languages
2015-11-18 08:51:03 -08:00
Alexey Melnichuk
1944c01820
Remove some log.
2015-11-18 16:41:13 +03:00
Alexey Melnichuk
21e3c62816
Rome some comments.
2015-11-18 16:32:00 +03:00
Alexey Melnichuk
e769a0eafe
Add. Lua part of fax_queue.
...
To poll active task you can run `luarun fax_queue_poll_once.lua`
2015-11-18 16:27:55 +03:00
Matthew Vale
9c1277f85c
removed old installers
2015-11-17 17:02:39 +00:00
Matthew Vale
e66b2f831a
added support to name the languages
...
added remaining flags i have from the famfamfam set and renamed them to country names
2015-11-17 16:20:14 +00:00
markjcrane
9761699ae7
Add voicemail record-silence-threshold variable and change the default threshold from 30 to 300.
2015-11-16 16:59:11 -07:00
Matthew Vale
b53999069c
Enhancements to language support (for future use)
...
optimized the text.php to check the language code once, not every time
2015-11-16 09:41:34 +00:00
markjcrane
286283bcf0
Correct polycom template logic and change the && (and) to || (or).
2015-11-12 18:51:44 -07:00
markjcrane
d729d77f4d
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-11-12 16:40:48 -07:00
markjcrane
c13ed1323f
Add additional Polycom key types.
2015-11-12 16:40:02 -07:00
Alexey Melnichuk
31a0392577
Fix. Call intercept - a scenario where an outgoing call can be intercepted
...
This is same changes as in #1209 .
2015-11-12 14:11:05 +03:00
FusionPBX
7bb1079dd6
Merge pull request #1229 from moteus/ivr_menu_exec_without_args
...
Fix. IVR menu option without arguments.
2015-11-10 18:12:03 -07:00
markjcrane
c385f5fc0f
New database class was implemented in call_forward.lua when using first_value must change select * from with the specific value desired.
2015-11-10 17:26:39 -07:00
markjcrane
0215800778
Change the Database:query to make the fn optional which will make it more backwards compatible with current code. This fixes an issue with recent movement to the database class in call_forward.lua.
2015-11-10 17:04:42 -07:00
markjcrane
ca48132e40
Change enquote to quote.
2015-11-10 13:37:25 -07:00
Alexey Melnichuk
bea4a02056
Fix. Intercept can find wrong channel.
2015-11-10 22:41:34 +03:00
FusionPBX
c5cb52707f
Merge pull request #1174 from moteus/intercept_load_balance
...
Add. Support intercept FIFO/CallCenter/Enterprise in load balancing mode
2015-11-10 11:55:18 -07:00
Alexey Melnichuk
5506d7ce80
Fix. function name
2015-11-10 20:49:46 +03:00
Alexey Melnichuk
2fe16021a1
Fix. always escape quote.
2015-11-10 19:33:01 +03:00
Alexey Melnichuk
5be99e2801
Fix. hungup_rx.lua works on Windows
...
1. Command should use only double quotes.
2. Application should not be quoted (I am not sure may be it is bug in FS `system` command).
So I use double quote on Windows and single quote on other system.
Also I quote strings only if they contain spaces.
To escape quote in string i just double it.
`you got "some text"` become to `you got ""some text"""`
2015-11-10 19:29:06 +03:00
Alexey Melnichuk
30109b4523
Fix. IVR menu option without arguments.
2015-11-10 17:56:40 +03:00
Alexey Melnichuk
85041fabea
Merge branch 'master' into intercept_load_balance
...
# Conflicts:
# resources/install/scripts/intercept_group.lua
2015-11-10 12:30:45 +03:00
markjcrane
00eee7aca3
Fix a problem where the ring group is only calling one external number when there are multiple to call.
2015-11-09 18:42:29 -07:00
markjcrane
c3c8931d02
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-11-09 16:54:16 -07:00
markjcrane
aaadffea1f
Update the wakeup phrases.
2015-11-09 16:53:58 -07:00
Alexey Melnichuk
927e495a0e
Update. call_forward.lua script
...
Fix. Set outbound caller id
Remove. Nested if
Use. cache class
Use. database class
2015-11-09 16:55:35 +03:00
Alexey Melnichuk
27d7369328
Merge branch 'master' into follow_me_lua
2015-11-09 16:45:57 +03:00
markjcrane
efdd731d2a
Remove /scripts from the path as it is redundant.
2015-11-08 13:40:08 -07:00
markjcrane
a309776883
Change base_dir to script_dir in <param name="script-directory" value="$${script_dir}/scripts/?.lua"/>
2015-11-08 07:44:45 -07:00
markjcrane
80ab4cb339
Add the following to all yealink provisioning templates.
...
account.1.nat.udp_update_enable = 3
In order to setup keep alive with sip notify.
2015-11-08 07:30:29 -07:00
Alexey Melnichuk
dc0b71987b
Update follow_me.lua
...
1. Use `cache` class so now it generates memcache events.
2. Do not use nested if (simplify code)
3. Use local variables.
4. Remove redundant checks.
2015-11-05 18:02:08 +03:00
markjcrane
f28b6aab4c
This renables polycom line key value of 2 would use 2 keys or a value of 3 would be 3 keys.
2015-11-03 19:28:10 -07:00
markjcrane
be5a8a31dd
Add the functions to the path for channel_utils.
2015-11-03 16:44:51 -07:00
markjcrane
9e25d4d49a
Add functions to the config require 'resources.functions.config'
2015-11-03 16:41:59 -07:00
Matthew Vale
b9e8b3ef03
fix to use phrases_dir
...
changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths
2015-11-03 11:16:05 +00:00
FusionPBX
fd397f53c1
Merge pull request #1179 from moteus/call_flow
...
Fix small bugs and clear code in call_flow.
2015-11-03 03:30:02 -07:00
FusionPBX
d937f29813
Merge pull request #1186 from moteus/cache_emit_event
...
Add. `cache` class emit MEMCACHE events.
2015-11-03 03:19:36 -07:00
FusionPBX
63a9865c5f
Merge pull request #1176 from moteus/callcenter_config_clear_cache
...
Fix. Clear the cache when callcenter config changed.
2015-11-03 03:17:26 -07:00
FusionPBX
4a73bf880f
Merge pull request #1202 from moteus/show_channels
...
Fix. Use `api show channels like` did not work on fusion with BDR.
2015-11-03 03:13:27 -07:00
Matthew Vale
c1b5895219
reverted so branch is consistent for patch
2015-11-02 17:32:43 +00:00
Matthew Vale
3a9f2b0f24
changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths
2015-11-02 09:53:42 +00:00
Matthew Vale
63bf36ac81
Fix. use settings for the phrases path rather than assuming
2015-10-30 16:16:56 +00:00
FusionPBX
8770332b5f
Merge pull request #1214 from blackc2004/patch-10
...
Update directory.lua
2015-10-30 09:31:06 -06:00
Alexey Melnichuk
82d22322df
Fix. Get DTMF in IVR when using phrases.
2015-10-30 17:33:26 +03:00
markjcrane
e701b5a1b3
MWI only turn on the light for new messages.
2015-10-29 17:34:39 -06:00
blackc2004
3fbec7c0f1
Update directory.lua
2015-10-29 12:26:06 -07:00
markjcrane
78d6b30e53
Enable the directory for speed dial and enterprise categories.
2015-10-28 22:07:43 -06:00
FusionPBX
1a1a05bc61
Merge pull request #1209 from badcrc/master
...
Fix. Call intercept - a scenario where an outgoing call can be intercepted
2015-10-26 12:02:41 -06:00
koldoa
b9c7b13e21
This fixed a scenario where an outgoing call can be picked up if the callee returns a 183 session progress with sdp
2015-10-26 17:17:02 +01:00
Alexey Melnichuk
fb0aea39df
Update comment.
2015-10-26 12:27:14 +03:00
Alexey Melnichuk
e3a324a302
Use database class
2015-10-25 10:05:44 +03:00
Alexey Melnichuk
8b931e7751
Merge branch 'master' into show_channels
2015-10-25 10:00:05 +03:00
Alexey Melnichuk
54aca55836
Use local variables.
2015-10-25 09:57:20 +03:00
Alexey Melnichuk
55318897f6
Merge branch 'master' into intercept_load_balance
...
# Conflicts:
# resources/install/scripts/resources/functions/database.lua
2015-10-25 09:34:19 +03:00
markjcrane
51087791e6
Play the message number first then the caller id number.
2015-10-24 21:12:43 -06:00
markjcrane
cdd4cb5ccd
Add vm_say_caller_id_number option for true or false.
2015-10-24 21:00:22 -06:00
markjcrane
448b681b91
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-10-24 20:09:54 -06:00
markjcrane
09e645ac2b
Add voicemail caller id number announce as iterated.
2015-10-24 20:09:36 -06:00
FusionPBX
494afd97ca
Merge pull request #1152 from moteus/database_class
...
Add. database class
2015-10-24 19:50:43 -06:00
markjcrane
6f5adff669
Fix the variable syntax for the yealink templates.
2015-10-20 13:20:35 -06:00
Alexey Melnichuk
64cb9fd01f
Add. cache `switchname`
2015-10-20 20:29:57 +03:00
Alexey Melnichuk
c7197c1ccf
Fix. Use `api show channels like` did not work on fusion with BDR.
2015-10-20 15:15:42 +03:00
markjcrane
af64f66cc7
Fix a null error and translation for select option voicemail.
2015-10-19 20:58:16 -06:00
markjcrane
5d3ecc30c8
Add hold music option and update the call_block dialplan.
2015-10-19 18:30:55 -06:00
FusionPBX
63c44c4b34
Merge pull request #1183 from blackc2004/patch-3
...
Update {$mac}.cfg
2015-10-16 15:17:47 -07:00
markjcrane
25ed768eb5
Add ${time_zone} and ${time_zone_name} to several Yealink files.
2015-10-16 11:51:22 -07:00
markjcrane
59fc0f02dc
Remove out of place characters from the t48g template.
2015-10-16 11:26:31 -07:00
markjcrane
de306a6ca7
Add dns srv port 0 to more yealink phones.
2015-10-16 11:10:59 -07:00
markjcrane
42fad3d597
Switch the hostname for conference center to switchname.
2015-10-16 10:34:54 -07:00
FusionPBX
7c454ccec2
Merge pull request #1197 from badcrc/master
...
This should do a better job detection active calls per extension in t…
2015-10-14 16:15:05 -07:00
markjcrane
d850ac2e37
Listen for dtmf key presses when voicemail message is played.
2015-10-14 16:03:33 -07:00
koldoa
f234e765b1
This should do a better job detection active calls per extension in the ring group with skip_active
2015-10-14 12:00:09 +02:00
markjcrane
ced5f29a87
Add more to the Cisco 7940 template.
2015-10-13 00:33:01 -07:00
markjcrane
35a3233581
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-10-11 10:38:54 -07:00
markjcrane
65590f2b14
Disable direct ip call features.direct_ip_call_enable = 0 for better security.
2015-10-11 10:36:03 -07:00
FusionPBX
9427fca71c
Merge pull request #1189 from blackc2004/patch-4
...
{$mac}.cfg
2015-10-10 19:37:47 -07:00
FusionPBX
b94b663bd9
Merge pull request #1190 from blackc2004/patch-5
...
Update {$mac}.cfg
2015-10-10 19:37:01 -07:00
markjcrane
b44b009321
Call flow monitor reduce the sleep to 60 seconds.
2015-10-08 18:54:11 -07:00
markjcrane
d667a31140
Change xml handler load balancing to xml_handler/resources/scripts/directory/directory.lua["fs_path"]
2015-10-08 11:03:48 -07:00
markjcrane
d0ac25c265
Move the xml handler expire and debug settings to config.lua.
2015-10-08 08:34:35 -07:00
markjcrane
a72eebfbe5
Enable aggressive nat detection and rport by default.
2015-10-08 08:33:34 -07:00
blackc2004
4784df0964
Update {$mac}.cfg
...
fix for yealink dns srv to work.
2015-10-07 13:43:17 -07:00
blackc2004
a9ffc2ecac
{$mac}.cfg
...
fix the port # for yealink DNS SRV
2015-10-07 13:41:17 -07:00
markjcrane
0d3da4dcbe
Set presence-hosts as disabled by default.
2015-10-07 11:52:06 -07:00
FusionPBX
71c3550c23
Merge pull request #1185 from moteus/enterprise_ring_group_timout
...
Fix. use timeout handler in Enterprise ring group
2015-10-06 19:33:50 -07:00
markjcrane
53bee05f8a
Fix Gateways and SIP profiles for single tenant systems.
2015-10-06 19:28:57 -07:00
Alexey Melnichuk
94240c769b
Add. `cache` class emit MEMCACHE events.
2015-10-06 16:01:24 +04:00
Alexey Melnichuk
5cb4e7b9b9
Fix. use timeout handler in Enterprise ring group
...
see e5a0134ec6 (commitcomment-13601198)
2015-10-06 11:05:15 +04:00
markjcrane
58edf1613d
Add h hostname to option for the gateways.
2015-10-04 01:29:03 -06:00
blackc2004
0b4a406359
Update {$mac}.cfg
...
added support for second expansion module and tested the changes.
2015-10-03 08:58:41 -07:00
markjcrane
ef3b08b081
Fix sip_to_user and dialed_user for voicemail.
2015-10-02 17:46:39 -06:00
FusionPBX
cbbe5acdad
Update functions.php
...
Minor version update to 4.0.1
2015-10-02 17:23:52 -06:00
Alexey Melnichuk
679905e171
Fix small bags and clear code in call_flow.
...
Move code to turn on/off BLF to separate function.
```Lua
presence_in.turn_lamp( toggle == "false",
call_flow_feature_code.."@"..domain_name,
call_flow_uuid
);
```
Close temp file in call_flow_monitor because on Windows it prevent to remove it.
Connect/release to database inside call_flow_monitor loop.
Check successful connection to database in call_flow_monitor loop so monitor did not crash
if connection temporary lost.
2015-10-02 14:02:13 +04:00
markjcrane
b8823225c5
Remove absolute_codec_string='PCMU,PCMA' from fax_retry.lua as it is not allowing PCMA.
2015-09-30 21:01:17 -06:00
Alexey Melnichuk
87441198b1
Fix. Clear the cache when callcenter config changed.
2015-09-28 12:10:31 +04:00
Alexey Melnichuk
c38d19b899
Change. Reduce search parent host name.
...
This can be done because child and parent channels have to be on same FS.
2015-09-28 11:35:12 +04:00
markjcrane
b374e5bdc5
Fix the ring group missed call email body.
2015-09-27 00:52:47 -06:00
markjcrane
01d4219e1a
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-09-26 09:00:11 -06:00
markjcrane
b27bcdd820
After event socket class was added it created a bug in FAX email and forward. It was unable to find the new EventSocket class adding the include resolves the problem.
2015-09-26 08:59:36 -06:00
Alexey Melnichuk
e8aee11931
Add. Support intercept FIFO/CallCenter/Enterprise in load balancing mode.
...
Change. `intercept.lua` and `intercept_group.lua` merge in one `intercept.lua` file.
Call `intercept.lua` without arguments behave like `intercept_group.lua`.
2015-09-25 15:30:57 +04:00
FusionPBX
d4e8be5b75
Merge pull request #1164 from moteus/intercept_enterprise_group
...
Fix. Intercept enterprise ring group.
2015-09-24 15:45:08 -06:00
FusionPBX
6548daf40a
Merge pull request #1168 from rdissauer/fix/fax-destination
...
fixed fax destination with * or + in number
2015-09-24 15:32:19 -06:00
FusionPBX
9617b9d6cf
Merge pull request #1171 from rdissauer/fix/suppress-debug-messages
...
Fix. suppress debug messages
2015-09-24 15:19:20 -06:00
roman.dissauer
e47632f8d9
fixed fax destination with * or + in number
2015-09-24 09:37:58 +02:00
roman.dissauer
29ec9f7d18
forgot commenting out end
2015-09-24 09:29:57 +02:00
roman.dissauer
c5036298b8
do not display voicemail sql debug messages
2015-09-24 09:29:57 +02:00
markjcrane
b62818b911
Allow a device that is logged in already to be replaced with a new alternate device.
2015-09-23 20:09:16 -06:00
Alexey Melnichuk
9e538f4b71
Add. intercept for fifo calls
2015-09-23 14:40:05 +04:00
Alexey Melnichuk
8720866ce9
Add. intercept for call center calls
2015-09-23 13:08:22 +04:00
Alexey Melnichuk
279f194b39
Fix. Intercept enterprise ring group.
...
With enterprise call each outbound channel has its own call_uuid.
But we have to use `intercept` for call_uuid of inbound channel.
2015-09-22 19:33:41 +04:00
markjcrane
9debc5a617
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-09-15 21:53:39 -06:00
markjcrane
a7915f6dd9
Remove the is_numeric on format_phone.
2015-09-15 21:53:14 -06:00
FusionPBX
0b77b33d9a
Merge pull request #1155 from moteus/cache_delete
...
Fix. `cache.del` method.
2015-09-15 21:04:59 -06:00
markjcrane
9eba74f645
Get the channel variable in a way that will work with hangup.
2015-09-15 10:09:16 -06:00
markjcrane
bd1551a369
Add multi-lingual support to the missed call emails.
2015-09-15 08:49:37 -06:00
Alexey Melnichuk
0c35f41e65
Fix. `cache.del` method.
...
Fix. cache.set returns boolean value.
Add. basic self_test
2015-09-15 18:02:46 +04:00
FusionPBX
36a7d342b0
Merge pull request #1146 from badcrc/master
...
Random ring groups
2015-09-14 10:38:18 -06:00
FusionPBX
5b95f27207
Merge pull request #1149 from moteus/cache_class
...
Add Log and Cache classes
2015-09-14 10:27:47 -06:00
markjcrane
5f7565b07c
Email template add indentation to make it more readable.
2015-09-11 16:18:40 -06:00
markjcrane
16e0ea7e8c
Change the directory.lua xml parameter from sip_force_contact to sip-force-contact.
2015-09-11 14:04:38 -06:00
Alexey Melnichuk
d146029f59
Fix. load `file_exists` function
2015-09-10 14:36:30 +04:00
Alexey Melnichuk
60b0f48228
Add. database class
...
```Lua
local Database = require "resources.functions.database"
local dbh = Database.new('system')
--get the domain_uuid
if (domain_uuid == nil) and (domain_name ~= nil) then
local sql = "SELECT domain_uuid FROM v_domains "
sql = sql .. "WHERE domain_name='" .. domain_name .. "';"
domain_uuid = dbh:first_value(sql)
end
local dbh_switch = Database.new('switch') -- check also SQLite file.
local row = dbh_switch:first_row(sql)
if row then
...
end
```
2015-09-10 14:29:13 +04:00
Alexey Melnichuk
59823f97dc
Fix. Not found is treat as success for delete operation.
2015-09-09 16:52:52 +04:00
Alexey Melnichuk
8c2ea6e093
Add. Basic log class.
2015-09-09 10:45:49 +04:00
Alexey Melnichuk
029b806006
Add. Basic cache class
...
Fix. When memcache stopped and mod_memcache loaded dialplan did not build from DB.
2015-09-09 10:22:14 +04:00
markjcrane
ec0479712c
Change DND from loopback/*99[ext] to error/user_busy.
2015-09-08 14:38:46 -06:00
koldoa
c52fd6c013
This should add better compatibility for more database backends
2015-09-07 12:51:12 +02:00
koldoa
a737d217b6
Better code for ring groups
2015-09-07 11:48:10 +02:00
koldoa
05cdf54596
Script for enterling/leaving a ring group, based on the fifo code
2015-09-07 08:51:22 +02:00
koldoa
5eeb5081e9
Detection of SQL backend for random functions
2015-09-07 08:33:34 +02:00
koldoa
7a65bf2148
Random strategy for ring groups
2015-09-07 08:33:34 +02:00
markjcrane
672f2dffaf
This last change will enable do not disturb to update the user status which will then show in the operator panel.
2015-09-05 11:26:13 -06:00
markjcrane
337dc7c822
Fix the sql in the do_not_disturb.lua.
2015-09-05 10:42:22 -06:00
markjcrane
29ac20c1be
When *78 or *79 are used for DND update the user status and agent status.
2015-09-05 10:05:43 -06:00
FusionPBX
9a20e3c80e
Merge pull request #1144 from blackc2004/patch-2
...
y000000000037.cfg
2015-09-04 12:55:08 -06:00
blackc2004
1feb945505
y000000000037.cfg
2015-09-04 09:44:51 -07:00
blackc2004
1c395e255b
{$mac}.cfg
2015-09-04 09:38:48 -07:00
markjcrane
5f7e8a663b
Restore sip_from_user and 2 lines for continue to directory.lua.
2015-09-04 02:52:14 -06:00
markjcrane
c2b0645c50
Restore directory.lua - this fixes load balancing as taught in the FusionPBX Advanced Class.
2015-09-04 02:38:17 -06:00
Jörn Ott
66425ae25c
Allow provisioning with internal addressbook and update snom320 template for it
2015-09-03 15:57:57 +02:00
FusionPBX
d5d075ef4f
Merge pull request #1136 from moteus/record_ring_groups
...
Fix. Start recording only after call start and only for certain extension
2015-08-31 11:02:37 -06:00
FusionPBX
7b8b2fa984
Merge pull request #1135 from rdissauer/master
...
added german voicemail templates and modified language file
2015-08-31 09:02:18 -06:00
Alexey Melnichuk
73cb5b02f1
Fix. Start recording only after call start and only for certain extension.
...
Fix. Always use record dir with domain name like it does `user_record` extension.
2015-08-31 15:47:06 +04:00
roman.dissauer
3864e64198
added german voicemail templates and modified language file
2015-08-31 12:52:15 +02:00
ippbx
c8ea1f2431
Update {$mac}.xml
...
added subscription_expiry
2015-08-30 01:47:28 -04:00
ippbx
9ac503ef55
Update {$mac}.xml
...
add port and transport
2015-08-30 01:05:11 -04:00
markjcrane
5d9f711816
Change the object from pdo to db.
2015-08-29 12:18:44 -06:00
markjcrane
770abd3fcc
Fix an error that could occur during upgrades. This will make the upgrade from older versions a little easier.
2015-08-29 12:06:56 -06:00
markjcrane
b7b8984d2f
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-08-27 13:27:40 -06:00
markjcrane
5457427df3
Change require("mime") to require("mime.core").
2015-08-27 13:27:24 -06:00
Alexey Melnichuk
398e126fd7
Fix. Delete number-alias from cache when set DND/Follome/Forward.
2015-08-26 13:44:34 +04:00
Alexey Melnichuk
89ccb51144
Fix. Parse ESL response more accurate.
...
Problem with commands that do not return Content (e.g. sendevent)
In this case `event_socket_request` go to busy wait cycle without chance to success.
On my system it require alot process time and may take >30 sec to save one extension.
2015-08-25 14:14:28 +04:00
markjcrane
1b68a563df
Change directory hostname to switchname which is a little more flexible.
2015-08-22 23:25:27 -06:00
markjcrane
23fa8e4715
Add new yealink models and update grandstream gxp21xx.
2015-08-22 11:57:06 -06:00
FusionPBX
20620be954
Merge pull request #1119 from moteus/store_number_alias_in_memcache
...
Store number alias in memcache
2015-08-21 15:44:37 -06:00
markjcrane
0a41b069fc
Add a new default settings -> security -> session_rotate.
2015-08-21 11:21:08 -06:00
Alexey Melnichuk
d248168044
Fx. Comment
2015-08-21 17:20:55 +04:00
Alexey Melnichuk
01127ded32
Add. Flag to switch mode for building dial-string.
...
You can configure ether you register with UserID=number-alias or UserID=Extension
In both cases to dial user you should use `user/<number-alias>@domain` or `user_data <number-alias>@domain`
Need test setting of presence_id for case when UserID=Extension.
2015-08-21 16:57:13 +04:00
Alexey Melnichuk
9463beeaa0
Change. Store data in cache based on UserID.
...
Change. Support register with AuthID==UserID==Extension for extension with number-alias.
1. We need only one record in memcache.
When we get SIP request we can find record by userid.
When we want check AuthID we do `user_data userid@domain attr id`
which also search record by userid.
2. We do not need check AuthID if we get record from DB. There already has check.
So we can reduce number of request to
* if there no record in memcached
- one memcache get (returns not found)
- database auth
- one memcache set
* if record in memcache
- one memcache get to retrieve XML
- one memcache get to check Extension==AuthID
2015-08-21 16:18:52 +04:00
FusionPBX
e7c8cbd59b
Merge pull request #1116 from moteus/verify_number_alias
...
Fix. Verify number-alias and user id.
2015-08-20 18:45:45 -06:00
Alexey Melnichuk
7fb9a7f15e
Fix. Verify number-alias and user id.
...
This replaces `inbound-reg-force-matching-username` profile option.
So if your extension has number-alias you can use
UserID=number-alias
AuthID=Extension
It also supports such check on INVITE not only on REGISTER.
2015-08-20 12:27:27 +04:00
Alexey Melnichuk
911fd65aa1
Revert. Both legs can control of call.
2015-08-19 10:06:22 +04:00
Alexey Melnichuk
6d7271c793
Fix. Concatenate record extension
2015-08-18 15:49:56 +04:00
Alexey Melnichuk
ae341a6aba
Change. Use bind_bind_digit instead of bind_meta_app.
...
Change. Allow transfer and turn on recordings only for authorized users.
Fix. Use record_ext in recording in ring_group.
This allow configure other dtmf sequence like `*#` and `##`
2015-08-18 15:38:41 +04:00
FusionPBX
85c6f7de59
Merge pull request #1101 from moteus/eavesdrop_operator_panel
...
Fix. Eavesdrop by operator_panel with extension with number-aliases
2015-08-17 08:18:41 -06:00
Alexey Melnichuk
34beaff9e3
Fix. Eavesdrop by operator_panel with extension with number-aliases
2015-08-17 16:46:53 +04:00
markjcrane
145e630158
Add the t41p template.
2015-08-16 10:54:28 -06:00
markjcrane
f978a397fb
Update the version from 4.0 to 4.0.0.
2015-08-16 03:05:19 -06:00
markjcrane
b3a29bbe2f
FusionPBX Official version 4.0 released.
2015-08-16 02:03:09 -06:00
markjcrane
ee40ff8d4c
Fax keep local updates.
2015-08-16 02:01:37 -06:00
markjcrane
59bfdde8d8
Fix the order by for the destinations class.
2015-08-15 23:24:57 -06:00
markjcrane
8ca1eaf93e
Give precedence to number_alias over extension in destinations class that generates the destination select list.
2015-08-15 21:49:27 -06:00
markjcrane
ea03a6bc28
Make the destinations class easier to read.
2015-08-15 19:58:47 -06:00
reliberate
361e20e6de
Destinations (Class): Enable preferred number formatting for Destination options.
2015-08-14 20:32:56 -06:00
markjcrane
10312a912a
Update ring group rollover so that it works like standard roll over. If busy it moves to the next line. If not busy and timeout it moves to the timeout action.
2015-08-14 15:27:48 -06:00
markjcrane
8fdd55c917
IVR Menu allow one of the options to override direct dial to an extension.
2015-08-14 11:26:11 -06:00
markjcrane
7a7895e9ef
Fix the label for the custom select destination.
2015-08-14 10:33:18 -06:00
markjcrane
0aacb224aa
If select_found is false then show the custom select.
2015-08-14 10:15:31 -06:00
markjcrane
1852360fc9
Change odbc-dsn to core-db-dsn for the ipv6 sip profile. Thanks DigiDaz
2015-08-14 09:55:10 -06:00
markjcrane
5fe418910d
Remove an extra line and change the console message.
2015-08-14 09:47:00 -06:00
FusionPBX
7ff1ed2124
Merge pull request #1098 from moteus/toll_allow_forward
...
Set Toll Allow for call forward/follow me
2015-08-14 08:34:17 -06:00
FusionPBX
8703dc1ab7
Merge pull request #1097 from moteus/toll_allow
...
Change. toll_allow use ordered template-list.
2015-08-14 08:33:19 -06:00
Alexey Melnichuk
bfe2fb97f6
Change. Use toll_allow of extension who set call forward.
2015-08-14 13:27:47 +04:00
Alexey Melnichuk
3f3240e7c8
Fix. Off debug output
2015-08-14 12:26:34 +04:00
Alexey Melnichuk
8a5ad23d55
Change. toll_allow use ordered template-list.
...
Add. Russian toll_allow templates.
This needs because we need
89%d is mobile except 8940%d which one is international.
2015-08-14 12:07:38 +04:00
markjcrane
a666d65be7
Remove hostname on the acl memcache variable name.
2015-08-13 19:49:09 -06:00
markjcrane
b0ea34d38d
Abbreviation for variables are discouraged because they aren't intuitive especially for those from other languages. Replace 'ep' variable no idea what it represented to 'user' which is what freeswitch calls ans extension that you register to.
2015-08-13 11:34:48 -06:00
markjcrane
79296d89fa
Remove and extra space.
2015-08-13 11:29:33 -06:00
FusionPBX
41e24835a9
Merge pull request #1095 from moteus/extension_exists_chekc_number_alias
...
Fix. `extension_exists` function also check `number_alias` field.
2015-08-13 11:26:47 -06:00
FusionPBX
3c7e6e16fd
Merge pull request #1093 from moteus/dnd_number_alias
...
Fix. Use number alias to forward call to VM when DND is on.
2015-08-13 11:25:08 -06:00
FusionPBX
3d54c8a507
Merge pull request #1092 from moteus/logging_create_file
...
Fix. Create log file only if necessary.
2015-08-13 11:22:35 -06:00
Alexey Melnichuk
0debd40fa3
Fix. `extension_exists` function also check `number_alias` field.
2015-08-13 13:39:39 +04:00
Alexey Melnichuk
ebe55cf7c8
Fix. Use number alias to forward call to VM when DND is on (Lua part)
2015-08-13 13:14:46 +04:00
markjcrane
e032e5815b
base_dir is not dependable as its irrelevant for freeswitch package installs replace it with settings['switch']['voicemail']['dir'].
2015-08-12 23:45:27 -06:00
markjcrane
46e9bdc49f
Remove outbound restriction for intercept.
2015-08-12 23:38:46 -06:00
FusionPBX
6987bf9c49
Merge pull request #1091 from moteus/intercept_outbound
...
Fix. Allow intercept only outbound calls.
2015-08-12 23:34:43 -06:00
markjcrane
e5d7a7c7b9
Add expire["acl.conf"] = "3600";
2015-08-12 23:31:21 -06:00
markjcrane
11b94be767
Remove acl.conf.xml.
2015-08-12 23:30:38 -06:00
markjcrane
941415fe13
Add acl.conf.lua to the xml handler.
2015-08-12 23:21:10 -06:00
Alexey Melnichuk
654e0b0516
Fix. Create log file only if necessary.
2015-08-12 12:44:42 +04:00
Alexey Melnichuk
1bac6fa097
Fix. Allow intercept only outbound calls.
...
Now it is possible intercept call from local extension to the world.
Fix. intercept channels also in EARLY state.
One of my softphones return 180 Ringing with SDP (no 183 Progress).
And FreeSWITCH shows such channel as `EARLY` not as `RINGING`)
2015-08-12 10:09:56 +04:00
markjcrane
55f32aa3c0
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-08-11 20:57:11 -06:00
markjcrane
16df326486
Change the vertical grouping of script-directory.
2015-08-11 20:56:53 -06:00
FusionPBX
e6a85e776b
Merge pull request #1018 from moteus/number_alias_as_vm_id
...
Change. Use number_alias as voicemail_id.
2015-08-11 20:43:20 -06:00
markjcrane
907a04a6da
XML Handler - directory.lua change ext to username.
2015-08-11 20:36:01 -06:00
FusionPBX
1364725916
Merge pull request #1080 from moteus/dial_number_alias
...
Fix. Use number_alias in dial-string.
2015-08-11 20:31:42 -06:00
FusionPBX
77fd3dfc7b
Merge pull request #1081 from moteus/number_alias_as_caller_id
...
Fix. Use number-alias as caller_id_number variable.
2015-08-11 20:30:19 -06:00
markjcrane
82b7d6fd79
Change '//' to '/'. This fixes a problem where its calling require when it should call dofile.
2015-08-11 20:25:34 -06:00
FusionPBX
237d6c5d90
Merge pull request #1087 from moteus/revert-1086-revert-1053-require_config
...
Change. Use `require` function to load Lua libraries
2015-08-11 20:05:48 -06:00
FusionPBX
32872d8c0d
Merge pull request #1088 from moteus/number_alis_group_intercept
...
Fix. Group intercept extension with number alias
2015-08-11 20:05:04 -06:00
markjcrane
87eb5a0399
Add a break to prevent call the failover bridge statement at the same time the primary bridge statement is called.
2015-08-11 13:42:46 -06:00
Alexey Melnichuk
5b291a896a
Fix. Include config file.
2015-08-11 14:40:02 +04:00
Alexey Melnichuk
024abb1ac1
Fix. Group intercept extension with number alias
2015-08-11 14:18:25 +04:00
Alexey Melnichuk
69717e31d5
Revert "Revert "Change. Use `require "resources.functions.config"` to load co…"
2015-08-11 05:06:33 +03:00
FusionPBX
d1f3b05cf6
Revert "Change. Use `require "resources.functions.config"` to load config file."
2015-08-10 11:50:29 -06:00
FusionPBX
8d9430352b
Merge pull request #1053 from moteus/require_config
...
Change. Use `require "resources.functions.config"` to load config file.
2015-08-10 11:31:35 -06:00
FusionPBX
75aaf20cfa
Merge pull request #1017 from moteus/no_default_domain
...
Change. Does not use `default` dialplan/directory.
2015-08-10 11:27:19 -06:00
markjcrane
9b885b807d
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-08-10 11:22:11 -06:00
markjcrane
51b398f984
Ring group external destinations use the | as the delimiter for fail-over.
2015-08-10 11:21:48 -06:00
FusionPBX
0bff93f3a4
Merge pull request #1079 from moteus/temp_dir
...
Fix. Use `temp_dir` variable instead of hard coded `/tmp`
2015-08-10 10:25:22 -06:00
FusionPBX
e78d4dc370
Merge pull request #1084 from moteus/page_active_conf
...
Fix. Allow monitoring page conferences via `Active Conferences` app.
2015-08-10 10:23:03 -06:00
FusionPBX
5f000d1906
Merge pull request #1083 from daniel-lucio/master
...
Use os.time instead of mysql native function
2015-08-10 10:22:22 -06:00
markjcrane
144e22094e
Add translations for check_voicemail, company_directory and record.
2015-08-10 10:09:37 -06:00
Alexey Melnichuk
c27e9cef9a
Fix. add functions/count.lua to preview commit.
2015-08-10 13:01:49 +04:00
Alexey Melnichuk
a8142f527a
Change. Use only `require` to load function.
...
Fix. Remove multiple definition of same function.
2015-08-10 12:43:06 +04:00
Alexey Melnichuk
c5432630f3
Fix. Allow monitoring page conferences via `Active Conferences` app.
2015-08-10 11:43:32 +04:00
Luis Daniel Lucio Quiroz
780b69a253
Use os.time instead of mysql native function
...
Odd, but on some deployments LUA wont accept unixtime stamp functions (regardless it works on CLI). So, to workaround this, lets use os.time() which it returns the same value expected.
2015-08-09 21:56:28 -06:00
markjcrane
ade62be0f1
Change $name to ${name}
2015-08-09 12:14:47 -06:00
markjcrane
5c11a3f103
Change array from ['result']['field'] to ['field'].
2015-08-09 12:00:42 -06:00
markjcrane
078cef0a78
Add Other options to the list of destinations.
2015-08-09 11:20:08 -06:00
markjcrane
c0a0cb308b
If there is no item in the group of destinations then don't the group name.
2015-08-07 19:50:06 -05:00
markjcrane
d2147cb133
Remove switch_select_destination function from the remaining features that used it and replace with the destination php class.
2015-08-07 15:06:07 -05:00
Alexey Melnichuk
b42aa40677
Fix. Use number-alias as caller_id_number variable.
2015-08-07 16:17:25 +04:00
Alexey Melnichuk
596cdb1184
Fix. Use number_alias in dial-string.
2015-08-07 15:18:52 +04:00
Alexey Melnichuk
59c1fbe2ef
Fix. Always use `/` separator on FS command.
...
Fix. Override `temp_dir` from `config.lua` file.
2015-08-07 12:11:27 +04:00
Alexey Melnichuk
73e0e7a3a8
Fix. Use `temp_dir` variable instead of hard coded `/tmp`
2015-08-07 11:52:18 +04:00
markjcrane
2ceb8ce4c3
Add an empty select option and finish moving to $this->destinations array.
2015-08-06 15:30:43 -05:00
markjcrane
8cc1d98598
Move the destinations array generation into the constructor and add selected support.
2015-08-06 12:11:26 -05:00
markjcrane
e413e61a3b
Use the same array consistently.
2015-08-06 00:25:38 -05:00
markjcrane
944216a372
Change domain_name to domain_uuid.
2015-08-06 00:13:57 -05:00
markjcrane
9110c877e7
Remove the round brackets.
2015-08-05 17:30:18 -05:00
markjcrane
3caaf665b3
Add the database connection.
2015-08-05 17:24:37 -05:00
markjcrane
70b96ad053
A few minor adjustments to the new class.
2015-08-05 17:02:34 -05:00
markjcrane
cab4d65600
Initial commit a new php destinations class. Builds a list of destinations dynamically. Typically this contains extensions, ivr menus, ring groups, voicemail and more.
2015-08-05 16:43:22 -05:00
Rich Breton
e0bc3f51cb
T46g-template-dhcp-fix
2015-08-03 17:03:07 -06:00
markjcrane
6c549b0517
Remove the insert to v_settings as this is being done in app_defaults.php.
2015-08-03 09:32:48 -06:00
markjcrane
2a4621daaf
Fix a problem with custom public context and XMl handler.
2015-07-31 21:03:22 -06:00
markjcrane
aaf6f1f145
When writing the call center conf file use the .noload template file.
2015-07-31 10:05:04 -06:00
markjcrane
c4639445d9
Fix fax_retry.lua for domain_name and domain_uuid. Add [FAX] to the logging to the console.
2015-07-30 19:32:18 -06:00
markjcrane
edda2df18c
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-07-30 17:18:53 -06:00
reliberate
14f2705cb3
Menu: Updated code to create menu HTML from array, instead of database directly.
2015-07-30 11:49:51 -06:00
markjcrane
4f9143758c
Remove get user defined variables from advanced -> variables should use default or domains settings instead.
2015-07-28 11:30:28 -06:00
markjcrane
4e6d1515b1
Adjust the vertical line spacing to make it more consistent with the rest of the project.
2015-07-28 11:18:20 -06:00
markjcrane
1ed020ceda
The email_validate is a generic function so moving it to resources/functions.php.
2015-07-28 11:17:33 -06:00
markjcrane
73b9f61290
Remove code that is no longer being used.
2015-07-28 11:12:42 -06:00
markjcrane
594ab6fa00
Change the indentation. Add a conditional include.
2015-07-28 10:42:07 -06:00
Alexey Melnichuk
7e481f20b6
Fix. Correct path when user on `group_confirm_file`
2015-07-28 15:59:04 +04:00
markjcrane
68d2578eb8
Simplify adding items to the domains array.
2015-07-25 17:44:56 -06:00
markjcrane
4243764010
Remove trailing tabs.
2015-07-23 17:50:16 -06:00
markjcrane
b1087f5a43
Remove one trip to the database.
2015-07-23 14:03:24 -06:00
markjcrane
5ff664246b
Prevent nil errors in settings.lua.
2015-07-22 09:42:35 -06:00
Alexey Melnichuk
2234b42c07
Change. Use `require "resources.functions.config"` to load config file.
...
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04:00
Alexey Melnichuk
18491ea2c0
Merge branch 'master' into no_default_domain
...
Conflicts:
app/hot_desking/extension_edit.php
2015-07-21 11:24:59 +04:00
Alexey Melnichuk
a4b0b2d271
Merge branch 'master' into number_alias_as_vm_id
...
Conflicts:
app/hot_desking/extension_edit.php
2015-07-21 11:19:13 +04:00
FusionPBX
7cf424003c
Merge pull request #1047 from moteus/page_concat_conf_name
...
Fix. Concat conf name in page.lua
2015-07-20 16:52:23 -06:00
markjcrane
5dfbc2e183
Improve code to update the scripts directory.
2015-07-20 15:32:52 -06:00
markjcrane
c0d694a62b
After call forward has been set with feature code *72 or *74 play back the number that call forward is set to.
2015-07-20 12:59:45 -06:00
markjcrane
d283075d64
Voicemail to email send the email in the send_email.lua rather than with email.lua. So that the delete doesn't occur until after email is sent.
2015-07-20 11:40:31 -06:00
Alexey Melnichuk
018aeb392e
Fix. Concat conf name in page.lua
2015-07-20 12:44:05 +04:00
FusionPBX
6b48f88955
Merge pull request #1013 from moteus/issues_1008
...
Disable of sip profile does not work
2015-07-18 13:08:10 -07:00
FusionPBX
4b7604e4a4
Merge pull request #1037 from moteus/copy_voice_mail
...
Fix. Use OS specific copy function.
2015-07-18 12:55:05 -07:00
FusionPBX
be89d5bce3
Merge pull request #1023 from moteus/ext-dial-string
...
Fix. Use extension to generate dial-string in xml_handler
2015-07-18 12:54:24 -07:00
FusionPBX
b8d2a9fd2b
Merge pull request #1014 from moteus/domain_name_on_install
...
Add. Allow edit domain name while installing.
2015-07-18 12:50:52 -07:00
FusionPBX
0302b112ac
Merge pull request #1045 from moteus/page_domain
...
Page domain
2015-07-18 12:47:55 -07:00
FusionPBX
a109375100
Merge pull request #1040 from moteus/vm-phrase
...
Change. Use predefined phrases in vm menu.
2015-07-18 12:45:34 -07:00
Alexey Melnichuk
42ebf34104
Fix. Use `temp_dir` to debug dialplan xml file
2015-07-16 12:56:13 +04:00
Alexey Melnichuk
f029aeff24
Fix. Use correct conf name on originate
2015-07-16 12:11:57 +04:00
Alexey Melnichuk
928a843794
Fix. Make page extension domain specific.
2015-07-16 11:50:07 +04:00
markjcrane
fefdfc626e
Enable XML Handler by default.
2015-07-15 23:43:03 -07:00
Alexey Melnichuk
3796a66df8
Change. Use predefined phrases in vm menu.
...
Current implementation produces not correct phrases e.g. on Russian language.
2015-07-14 13:42:05 +04:00
Alexey Melnichuk
8f554cf889
Fix. Use OS specific copy function.
2015-07-13 10:44:47 +04:00
markjcrane
36c4ac0e45
Change 'is null' to 'is not null'.
2015-07-10 08:00:08 -03:00
markjcrane
42cad993d7
Change {#server_address_2} to {$server_address_2} for the GX42xx template.
2015-07-09 00:05:29 -03:00
markjcrane
b6d95174b0
Play voicemail messages with the newest messages first.
2015-07-08 15:46:34 -03:00
markjcrane
58311a8d98
Prevent nil from causing problems with functions/settings.lua.
2015-07-08 15:36:33 -03:00
Alexey Melnichuk
b4435c974e
Fix. xml_handler/directory generate vm params based on number_alias
2015-07-07 18:16:21 +04:00
Alexey Melnichuk
86b0b21e7b
Fix. Use extension to generate dial-string in xml_handler
...
When uses number_alias contact should be searched by extension name.
2015-07-07 17:47:50 +04:00
markjcrane
3ba9759bed
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-07-05 23:11:29 -06:00
markjcrane
4742fac8f9
Adjustments to event_socket_request to make it faster.
2015-07-05 23:08:10 -06:00
FusionPBX
677d2f069f
Update confirm.lua
...
Add a domain_name nil check.
2015-07-04 04:16:44 -06:00
markjcrane
b0e24db2fa
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2015-07-03 09:52:36 -06:00
markjcrane
b46d68777a
Use originate_delay_start to fix the enterprise ring group delay.
2015-07-03 09:51:02 -06:00
reliberate
e24526fb92
Upgrade: Converted Advanced > Upgrade to use Git instead of SVN (untested).
...
Misc: Added provisions elsewhere to account for .git/* files, as currently done with .svn/* files.
2015-07-02 17:25:41 -06:00
Alexey Melnichuk
9097861e30
Change. Does not use `default` dialplan/directory.
...
I think it more consistent that it allows edit domain in single place.
Also on my Windows machine while installing all users/context creates not in `default` directory.
And I have problem because remove users did not work, `default.xml` file contain `$${v_domain}` variables.
2015-07-02 13:14:35 +04:00
Alexey Melnichuk
d61f2b2817
Fix. indent.
2015-07-02 12:24:58 +04:00
Alexey Melnichuk
d05d294225
Add. Allow edit domain name while installing.
...
On my Windows machine default domain now is `127.0.0.1` which is quite useless.
2015-07-02 12:21:53 +04:00
Alexey Melnichuk
d1edcbd2c5
Disable of sip profile does not work
...
Close #1008
2015-07-02 12:09:09 +04:00
Mark Crane
22203b66b0
Fix a problem where the inbound context has public in the name with public@ as a prefix and .public as a suffix.
2015-06-30 18:42:52 +00:00
Mark Crane
bb4bab2fa8
FAX sure domain_uuid is set at the right time.
2015-06-30 18:01:30 +00:00
Mark Crane
c99e249f71
Add beginTransaction and commit to speed up the install and upgrade.
2015-06-25 21:00:15 +00:00
Mark Crane
336a8d763d
SIP profiles comment and disable the following params inbound-use-callid-as-uuid and outbound-use-callid-as-uuid if set to true even temporarily they will cause the call UUID not to be a UUID which FusionPBX is dependent on.
2015-06-25 20:27:00 +00:00
Mark Crane
5d4a2375a0
Write the call center dialplan with the new call center class.
2015-06-25 08:25:00 +00:00
Mark Crane
197420d6c9
Minor adjustments for confirm.lua and ring groups ensure domain_name and domain_uuid are set.
2015-06-24 19:31:53 +00:00
Mark Crane
72f7285a0a
Add the call screen recording to work with call forward and follow me.
2015-06-23 23:41:15 +00:00
Mark Crane
e40abdda91
Set call_screen_enabled as a variable in directory.lua.
2015-06-23 20:33:22 +00:00
Mark Crane
22dd5b6658
Add extension_call_screen permission, and add call_screen_enabled to extensions/extension_edit.php.
2015-06-23 20:06:44 +00:00
Mark Crane
e70436bb86
Update the phrases in en/us/ivr/sounds.xml.
2015-06-23 19:37:09 +00:00
Mark Crane
a3e3ed5a97
Add menu array to the menu class.
2015-06-22 17:56:40 +00:00
Mark Crane
b3f1d8fabb
A few more adjustments to get the ring group missed call working.
2015-06-20 04:06:20 +00:00
Mark Crane
c2370a4a6d
Add missed call option to ring groups.
2015-06-20 03:43:38 +00:00
Mark Crane
e13582eb28
Fix call center xml handler domain.
2015-06-18 20:08:54 +00:00
Mark Crane
5b95222742
Add a missing quote fixes a problem with call center using xml handler and fix the indentation.
2015-06-18 19:25:42 +00:00
Mark Crane
732e1230fa
Add a missing quote fixes a problem with call center using xml handler.
2015-06-18 19:20:51 +00:00
Mark Crane
6fe3c0fecf
When dialing *74 clear the call forward destination which will allow it to set a new one with *73.
2015-06-18 06:55:46 +00:00
Mark Crane
3751cc7d58
Add variable for Ring Group Distinctive Ring ${domain_name} and ${local_ip_v4}
2015-06-15 23:26:02 +00:00
Mark Crane
fdf4cb2cc8
Help with NAT keep alive.
2015-06-11 17:38:06 +00:00
Mark Crane
42357f443e
When leaving a voicemail use the message_waiting function.
2015-06-11 06:31:10 +00:00
Mark Crane
5dad058dc8
Use the mwi_account under accounts -> extensions to allow sending MWI to multiple extensions.
2015-06-11 06:30:21 +00:00
luis daniel lucio quiroz
27bb9d1735
load balancing fixed
2015-06-11 01:43:30 +00:00
Mark Crane
291e9d7b15
Improve vertical line spacing.
2015-06-08 18:11:56 +00:00
Mark Crane
6b8bb6a1d5
Add ring_group_distinctive_ring to the destinations array.
2015-06-07 16:26:53 +00:00
Mark Crane
c1b3bccc86
Add a prefix of Alert-Info=
2015-06-07 04:10:41 +00:00
Mark Crane
511f856d94
Add ring group distinctive ring option to the lua.
2015-06-07 04:06:39 +00:00
Mark Crane
4699d4c8e8
Synchronize the translations.
2015-06-06 02:37:26 +00:00
Mark Crane
14dea03d06
Fix hold music when used with Conference Center and XML Handler.
2015-06-04 22:43:46 +00:00
Mark Crane
57ceca4590
Account for the fact that mb_strtolower is not always available.
2015-06-01 04:54:21 +00:00
Mark Crane
4831d0c133
Seems that Polycom needs this set to 1.
2015-05-31 04:12:09 +00:00
luis daniel lucio quiroz
f32397252e
mod_verto xml handler support
2015-05-30 22:14:01 +00:00
Mark Crane
fc06cb3661
More work to make domain names case insensitive.
2015-05-30 20:59:11 +00:00
Mark Crane
163413cb85
Minor version update for the development branch updated to 3.9.0.
2015-05-30 20:33:12 +00:00
Mark Crane
af6cd139c2
Sync the changes to fix conference recording from the dev branch. Add a few comments and make the indentation consistent.
2015-05-30 20:32:01 +00:00
Mark Crane
641958b220
Improve the indentation.
2015-05-30 20:19:36 +00:00
Mark Crane
4a4d331532
Polycom add feature.broadsoftUcOne.enabled="0" to disable a default that created an error.
2015-05-30 20:17:44 +00:00
Mark Crane
666be71f7c
Reduce the security footprint, number of files, and bandwidth used by removing the template engines that are not being used. They can be added at any time if we need to use them in the future.
2015-05-30 15:35:13 +00:00
Mark Crane
01b7734f8b
Change always reboot on sync for Polycom to false.
2015-05-30 05:08:55 +00:00
Mark Crane
629db232ab
A little more polish for this feature.
2015-05-30 04:50:19 +00:00
Mark Crane
fb3a50b9d2
Add the api object to the failur handler.
2015-05-29 05:53:02 +00:00
Mark Crane
3af1851e47
Update failure handler with the necessary changes for missed calls.
2015-05-29 05:46:21 +00:00
Mark Crane
d588f9c4c5
Add trim include to the failure_handler.
2015-05-29 05:36:50 +00:00
Mark Crane
06588fdaad
Add a hangup hook to dialplan local_extension and remove originator cancel from the failure_handler.
2015-05-29 05:16:34 +00:00
Mark Crane
05c81e2649
Add app/hangup to support originator cancel for missed calls.
2015-05-29 05:12:41 +00:00
Mark Crane
68fab86633
Add missed call email notification.
2015-05-29 03:56:49 +00:00
Mark Crane
6eb4e7ab6e
Change the file from ANSI to UTF-8 no BOM.
2015-05-29 02:55:25 +00:00
luis daniel lucio quiroz
14235811ed
conference_session_uuid issue fixed, the recording path is now fixed with/without multitenant
2015-05-28 18:41:43 +00:00
Mark Crane
1028bc645c
Change how the previous alternate device is handled.
2015-05-25 16:31:08 +00:00
Mark Crane
2096b22485
Yealink provisioning if using Conference Meet-Me or BLF use the pickup value instead of the key extension.
2015-05-20 07:31:17 +00:00
Mark Crane
bbbf30cbe6
Increment <sd>
2015-05-19 01:01:35 +00:00
Mark Crane
c50a12f9b3
Add a file to the template.
2015-05-19 00:38:01 +00:00
Nate Jones
1ff7d1c1ba
Contacts: Added Times/Timer to track support.
2015-05-17 06:16:43 +00:00
Mark Crane
d6c4267243
Handle Do Not Disturb set on the extension for ring groups.
2015-05-16 23:38:07 +00:00
Mark Crane
e6a0740375
Remove the code that is attempts and succeeds to prevent DND extension from affecting the Ring Groups because it also prevents calling external numbers and using bridge statements in the ring group. Will commit a fix soon that does an alternative way of removing extensions that are set to DND in FusionPBX's GUI.
2015-05-15 19:14:18 +00:00
Mark Crane
22276c3cf2
Remove session:sleep from scripts/confirm.lua.
2015-05-15 01:38:09 +00:00
Mark Crane
eab67c97bc
Polycom option to set headset_mode in provisioning.
2015-05-14 02:22:00 +00:00
Mark Crane
c800fc3b67
Page conference settings need page caller controls. For non modertor 0 mute and press again to unmute.
2015-05-14 01:56:11 +00:00
Mark Crane
77100085b4
Remove ;; from the XML Handler.
2015-05-13 16:43:30 +00:00
Mark Crane
4ff324bfcf
Fix a nil error for fax_remote_station_id and make the caller id name and number work for inbound FAX.
2015-05-13 06:46:36 +00:00
Mark Crane
dd9ade256f
Update release to fix big for systems where GLOB_BRACE is not available.
2015-05-13 04:37:36 +00:00
Nate Jones
fe8032b1c3
Misc: Removed use of GLOB_BRACE as doesn't work on some systems, use non-GLOB_BRACE method instead. Thanks [xming] and Risk64. Should resolve Issue 916, as well.
2015-05-12 18:11:05 +00:00
Mark Crane
acaac84edc
Minor version update to FusionPBX 3.8.3.
2015-05-12 06:51:01 +00:00
Nate Jones
ca9e59eca8
Menu: Re-enable Restore Default button for menus other than default, adjust other code to work better with non-default menus.
2015-05-12 06:31:34 +00:00
Nate Jones
b2dd3ba7ad
Ring Groups: DND extensions not included when retrieving Ring Group destinations (real fix for Issue 927, re: r8338).
2015-05-12 05:59:33 +00:00
Nate Jones
7a0895de4d
Menu: Restore Default now restores unprotected menu items and their default groups. Removed Restore All function (no longer necessary). Hide Restore Default button for menus other than the default menu.
2015-05-12 03:03:09 +00:00
Nate Jones
51ae30fc10
Fax: Fix fax-to-email, better conversion to PDF.
2015-05-11 23:41:11 +00:00
Mark Crane
19e1500170
Minor version upgrade FusionPBX 3.8.2.
2015-05-10 06:36:19 +00:00
Mark Crane
1297133d8d
Minor version update FusionPBX 3.8.1
2015-05-09 18:34:02 +00:00
Nate Jones
b904214d59
Fax: Prevent fax_destination field from being populated on received faxes.
2015-05-09 06:21:53 +00:00
Nate Jones
7fab6d2e88
Fax: Upgrade script to generate and store meta-data from existing fax files, fix Lua script to insert correct fax file path into db, JavaScript prompt corrections, adjust redirect after send to use new interface, fix delete so files on file system are removed (using path from db), fix paging and sorting on Inbox and Sent, fix TIF to PDF conversion for viewing sent/received faxes (if PDF version not present).
2015-05-09 05:22:29 +00:00
Mark Crane
032643bcc8
Fix call forward no answer by changing originate_disposition from "ALLOTTED_TIMEOUT" to "NO_ANSWER".
2015-05-08 14:48:48 +00:00
Mark Crane
af71ca0001
Update the comments on provision/index.lua
2015-05-06 04:39:26 +00:00
Mark Crane
8731aa60cd
Put the message date back in the email template but comment it out. It's removed by default because it doesn't respect the timezone per domain.
2015-05-05 17:23:25 +00:00
Mark Crane
6b4c4e8c73
Remove the message_date from the voicemail to email template.
2015-05-05 16:25:51 +00:00
Mark Crane
86af85d039
Release the official version of FusionPBX 3.8.
2015-05-05 08:20:49 +00:00
Mark Crane
6b552b7025
Change leg_timeout for call_timeout in the xml handler directory.
2015-05-05 07:34:19 +00:00
Mark Crane
ea714ebf35
Change the copyright year on the ring groups lua script.
2015-05-05 07:12:44 +00:00
Mark Crane
9080e5eba0
Add domain_uuid to the ring group SQL query.
2015-05-05 07:11:31 +00:00
Mark Crane
ab4326c7cf
Remove the DND check on the ring groups as it caused the query to return duplicate destination numbers.
2015-05-05 06:35:43 +00:00
Mark Crane
a1fdee00c6
Fix the sip profile enabled by changing the alias from 's' to a 'p'.
2015-05-05 05:34:00 +00:00
Mark Crane
e616fad12e
Add the format number to destinations list and adjust the function to only process numeric.
2015-05-05 04:50:23 +00:00
Nate Jones
0acd0922ff
Devices: Prevent duplicate username within domain (if device assigned to a domain) or globally (if domain set to Global).
...
Functions: Added is_mac() and format_mac() functions.
2015-05-04 20:07:51 +00:00
Mark Crane
d4dd114ebe
Change scripts directory from user_status to agent_status.
2015-05-04 18:40:54 +00:00
Mark Crane
52fb65f114
Lua script app/user_status updated to use agent_id and agent_password.
2015-05-04 18:34:43 +00:00
Mark Crane
614f7f3165
Add support for the new sip profiles enabled field.
2015-05-02 05:08:41 +00:00
Mark Crane
3526897a0c
Update the version from 3.7.1 to 3.8 Release Candidate 1. We have tested it heavily so anticipate it will be a short RC version.
2015-05-01 13:48:42 +00:00
Mark Crane
e36dc93986
Add domain_uuid to the provision SQL queries and add debug SQL option.
2015-05-01 13:37:04 +00:00
Mark Crane
b28b9d5988
Add additional auhtorized checks and comment out debugging code.
2015-05-01 12:57:06 +00:00
Nate Jones
3e53a658b2
Default Settings: Fix set() function in domains class to first clear ALL default/domain settings, then only load settings that are currently enabled.
2015-05-01 12:14:52 +00:00
Mark Crane
73dcc7321f
Change device_model to device_uuid_alternate.
2015-04-30 10:21:23 +00:00
Nate Jones
b7e91bdca2
Paging: Ability to grant caller moderator status/controls, auto-generate random pin.
...
Conference: Add missing caller-controls and moderator-controls parameters in autoload_config.
2015-04-30 09:45:41 +00:00
Mark Crane
f82a23aa13
Get the login details from devices table.
2015-04-30 09:33:19 +00:00
Nate Jones
b62d377712
XML Handler: Include missing language macros.
2015-04-30 06:59:24 +00:00
Mark Crane
5185137093
Add lua script app/provision.
2015-04-30 05:42:30 +00:00
Mark Crane
8815578914
Remove two trailing tabs from the end of the lines.
2015-04-29 21:48:08 +00:00
Mark Crane
26f643ed31
Additional work with temporary permissions.
2015-04-29 21:45:05 +00:00
Nate Jones
a8c7fb9f02
SIP: Return "NO_ANSWER" instead of "NORMAL_CLEARING" if an extension is called with voicemail disabled. Implements patch suggested in Issue 920. Thanks.
2015-04-29 21:21:00 +00:00
Nate Jones
d480333003
Recordings: Add sleep (1s) before ID prompt.
2015-04-29 21:05:19 +00:00
Mark Crane
66b9b59d44
Fix the delete method.
2015-04-29 07:30:58 +00:00
Mark Crane
b175fbfec9
Update the permission delete method one more time.
2015-04-29 07:06:23 +00:00
Mark Crane
4e0779d31c
Modify the delete permission.
2015-04-29 06:33:48 +00:00
Mark Crane
c931201a04
Add a new permission class.
2015-04-29 06:24:04 +00:00
Nate Jones
d53d574be7
Ring Group: Fixes Issue 927 - Assigned extensions set to DND (via the GUI) will not be included when the Ring Group executes.
2015-04-29 00:29:20 +00:00
Nate Jones
04c9e31f63
Phrases: Include full path for recordings (not sounds), when not using base64.
2015-04-28 19:06:27 +00:00
Nate Jones
75f8cb0a9e
Phrases: Save phrases xml and delete phrases from memcache after converting to/from base64 in app_defaults.
...
IVR: Using phrase greetings, DTMF tones now captured and executed, but only after playback completes (uses session:variable). Still searching for a better solution.
2015-04-28 17:24:32 +00:00
Nate Jones
ddee7be012
Phrases: App Defaults now converts phrases between base64 compatible and back, enhanced interface with better js manipulation, easily add pauses to a phrase.
...
Note: Currently DTMF tones are not recognized during phrase playback in IVR (rrrrr!).
2015-04-28 09:54:02 +00:00
Mark Crane
915c2c8d94
Add the new fax hangup hook.
2015-04-28 06:44:11 +00:00
Mark Crane
391bbfee1d
Fix some line spacing and one tab in fax_retry.lua.
2015-04-27 16:45:23 +00:00
Mark Crane
9685315023
Update fax retry to use fax_files.lua.
2015-04-27 14:32:29 +00:00
Nate Jones
6ae74a8591
Voicemail Greetings: Better base64 support in gui (playback, download, etc) and lua scripts, some lua mods to allow re-recording without having to enter greeting # again, fixed choose greeting function, new greeting recordings now only save when told to (uses a temp file prior to), fix sorting on greetings list, app_defaults to move greetings from file system to base64 in db (and vice versa).
...
Recordings: Fix sorting and paging.
IVRs: Code cleanup.
(... and some other stuff I can't remember at this hour.)
2015-04-25 12:26:31 +00:00
Mark Crane
ef920567d9
Fix the indentation on lua app/avmd/index.lua.
2015-04-24 20:44:47 +00:00
Mark Crane
83992c2fe0
Prevent nil errors in the ivr_menu.lua also change file_name_only to file_name as the name already implies name only.
2015-04-24 05:24:43 +00:00
Mark Crane
a9fce962df
Increase the limit in the loop to allow more data across event socket.
2015-04-24 04:43:32 +00:00
Nate Jones
dfaa7b1aed
Lua: Remove debug console output from streamfile.lua.
2015-04-24 02:54:03 +00:00
Nate Jones
c91b4b0b5d
IVR: Better support for the use of base64 Recordings, added option to use Phrases in a couple places, fixed the Exit Sound. (Note: A selected Sound with the same file name as a Recording will get trumped.)
2015-04-24 02:47:10 +00:00
Nate Jones
f99b2e8c30
Voicemail: local and base64 fixes.
2015-04-23 05:25:21 +00:00
Mark Crane
a9aa74209b
If mod_shout exists then record to mp3 using it if it doesn't exist then use lame.
2015-04-23 00:05:56 +00:00
Mark Crane
990ef61c2f
Replace voicemail_message_uuid for uuid in two additional places.
2015-04-22 23:33:25 +00:00
Mark Crane
2d43e5e6d7
Use the call uuid for the voicemail_message_uuid.
2015-04-22 23:23:59 +00:00
Mark Crane
9ad4a5850a
Fix conference sound file problem and add the missing profiles that are in the standard conference.conf.xml file.
2015-04-22 22:45:05 +00:00
luis daniel lucio quiroz
67e96c27e6
use numeric not alphanumeric on variables & logging options
2015-04-21 16:56:58 +00:00
Mark Crane
8ed38d3d1b
Change the behavior of BLF.
2015-04-20 23:53:33 +00:00
Mark Crane
9885c0dfb4
Comment the sql string again as its no longer needed.
2015-04-18 22:51:43 +00:00
Mark Crane
08014dc042
Change the row table array to field to prevent a conflict with the existing row table / array.
2015-04-18 22:49:09 +00:00
Mark Crane
4cf051d1f8
Show the sql statement.
2015-04-18 22:46:09 +00:00
Mark Crane
35c39d14d0
Connect to the database earlier in the script.
2015-04-18 22:41:45 +00:00
Mark Crane
6044be7f8e
Add the scripts_dir to directory.lua.
2015-04-18 22:39:14 +00:00
Mark Crane
3523a316e4
Update the company directory.lua.
2015-04-18 22:36:26 +00:00
Mark Crane
e716be53d6
Additional work on base64 optional storage in the database.
2015-04-18 19:59:50 +00:00
Mark Crane
911bbe32b9
After saving the base64 remove the file.
2015-04-18 18:42:39 +00:00
Mark Crane
1500937808
When using base64 after playing the greeting remove the file from the file system. When sending the email get it from the database save it to the file system. Then send the email and afterwards remove it.
2015-04-18 18:19:22 +00:00
Nate Jones
3fb697fccf
Voicemail: Removed settings code (redundant?)
2015-04-18 00:22:09 +00:00
Nate Jones
0f7424f9fb
Voicemail: Fix greeting path.
2015-04-18 00:08:54 +00:00
Mark Crane
e52ee06142
Additional work on voicemail with base64.
2015-04-17 20:10:36 +00:00
Nate Jones
c03bcd76bb
Conference Center: Add ability to use a Phrase for the Greeting, resolving Issue 921 and Issue 818.
2015-04-17 18:41:31 +00:00
Mark Crane
b0f569ad1c
Fix the greeting using base64.
2015-04-17 18:08:29 +00:00
Nate Jones
f14176e55d
Adjust switch_select_destination() function logic to match selected option better.
2015-04-17 02:46:25 +00:00
Nate Jones
b8ba43410e
Remove debug SQL echo from previous commit.
2015-04-17 01:12:17 +00:00
Nate Jones
4680f40924
Prevent select option groups from displaying in switch_select_destination() function if no options available.
2015-04-17 01:04:29 +00:00
Nate Jones
8c740f11bb
Prevent 'XMPP Gateways' option group from displaying in switch_select_destination() function if none found.
2015-04-17 00:21:29 +00:00
Nate Jones
cf9f52c6d3
Prevent 'Recordings' option group from being repeated in switch_select_destination() function
2015-04-17 00:18:03 +00:00
Nate Jones
2a044cdfe2
IVR: Prevent option from losing it's value on edit.
2015-04-17 00:11:55 +00:00
Mark Crane
4996fb3d98
Add the database dbh connection to recordings.lua.
2015-04-16 19:13:05 +00:00
Mark Crane
1451d2984c
Add record in recordings table no matter what type of storage type is used.
2015-04-16 14:47:21 +00:00
Mark Crane
9567a98c15
Remove the mkdir that isn't needed in recordings.lua.
2015-04-15 21:16:11 +00:00
Mark Crane
f20438838c
Connect to the database before using this function and it will use the database connection.
2015-04-15 03:13:10 +00:00
Mark Crane
50010ed5ae
Remove mysql_connect.
2015-04-15 01:35:15 +00:00
luis daniel lucio quiroz
18ca473bc2
numeric version function
2015-04-14 23:58:03 +00:00
Nate Jones
5d794db32d
Login: Display error message on invalid login credentials.
2015-04-14 01:36:01 +00:00
Mark Crane
8c5a330b04
Update the base64 code.
2015-04-13 17:52:59 +00:00
luis daniel lucio quiroz
a4a76efb49
missing space & mysql support
2015-04-12 17:40:58 +00:00
Digital Daz
659e10a8c0
First part of fix for load balancing - Prevent stale hostname being used for expired registration that has not yet been purged by freeswitch
2015-04-12 10:08:47 +00:00
Mark Crane
48bbced278
Remove the Yealink hot desking as I believe I have created a better way that is more secure.
2015-04-12 01:22:02 +00:00
Nate Jones
32785cabcf
Voicemail: Fix confirmed and applied as suggested in Issue 905. Thanks.
2015-04-10 01:22:17 +00:00
Nate Jones
3d802ddb5e
Voicemail: Fix file storage location, restores playback/download functionality of GUI.
2015-04-10 00:24:43 +00:00
Mark Crane
3b8b7ad0ca
Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome.
2015-04-08 13:38:58 +00:00
Mark Crane
9a0deb435a
Some people are experiencing problems with challenge-realm with auto_from so setting the default for new installs to auto_to.
2015-04-07 11:59:50 +00:00
Nate Jones
23186f9bf5
Voicemail: Mods to make it work as expected, if non-admins/superadmins are given access to it.
2015-04-06 21:57:06 +00:00
Mark Crane
b0dab63136
Update the URI with the file name change.
2015-04-06 21:29:34 +00:00
Mark Crane
5022197086
Rename index.xml in favor of config.xml as this file provides the XML configuration.
2015-04-06 21:19:13 +00:00
Mark Crane
a64961cc66
Complete http_cache for the IVR Menu and Recordings.
2015-04-06 14:14:32 +00:00
Mark Crane
4312b05c50
Add http_cache to IVR Menu.
2015-04-06 14:06:11 +00:00
Mark Crane
b41bbe8d8d
One more attempt to improve the spacing.
2015-04-06 09:46:38 +00:00
Mark Crane
7a29003447
Additional work on the spacing for the template.
2015-04-06 09:44:56 +00:00
Mark Crane
29686f685f
Fix register expires and attempt to fix the vertical spacing.
2015-04-06 09:35:43 +00:00
Mark Crane
0dfe0f6732
Start the option for http_cache.
2015-04-06 07:34:02 +00:00
Mark Crane
25b5f0b193
Add template to the cancel link.
2015-04-06 07:17:51 +00:00
Mark Crane
4749b99a7e
Add voicemail storage path variables.
2015-04-06 07:08:17 +00:00
Mark Crane
344f84ff17
Add the original base64 class I was using as an alternative if mime is not loaded.
2015-04-06 06:25:42 +00:00
Mark Crane
8387597804
Update the new yealink template.
2015-04-05 22:21:38 +00:00
Mark Crane
92eed032c2
Add login and cancel XML files.
2015-04-04 22:57:07 +00:00
Nate Jones
bde5e3c6c7
Login: Minor fix to sql query in Password Reset feature.
2015-04-04 19:43:51 +00:00
Mark Crane
32c9dce701
Add a type of Yealink template.
2015-04-04 19:41:56 +00:00
Nate Jones
d18b4aacec
Added ability to return (on login) to last visited page on logout.
2015-04-04 18:46:44 +00:00
Mark Crane
ece0788531
Fix the long and short greetings for the IVR Menu.
2015-04-04 09:38:26 +00:00
Mark Crane
1018aa123f
Check for a nil to prevent an error for voicemail, ivr menu and recordings.
2015-04-04 09:09:09 +00:00
Mark Crane
a8cdcf013c
Prevent a bad domain_name from causing a nil error for reverse authentication.
2015-04-04 06:24:41 +00:00
Mark Crane
cf0068446d
Improve indentation, use base64 value from database bypass writing the value to a variable first.
2015-04-03 19:06:16 +00:00
Mark Crane
799216bc65
Additional work on option to save files in base64 for voicemail and ivr menu.
2015-04-03 18:59:12 +00:00
Nate Jones
54c465abaa
IVR: Additional check for nil needed.
2015-04-03 17:58:49 +00:00
Mark Crane
f7adde1991
Get the list of recordings from the database.
2015-04-01 10:19:47 +00:00
Mark Crane
2bbca0837c
Set auto-gain-level to 0 or disabled.
2015-04-01 10:18:48 +00:00
Nate Jones
d30a509de0
Contacts / CDR: Minified top paging controls.
2015-04-01 09:00:17 +00:00
Mark Crane
860d71b3a4
Remove an extra vertical space and fix the indenting for one line.
2015-04-01 08:22:42 +00:00
Mark Crane
0124962272
Remove http_cache:// from the path and allow it to be defined in the storage path.
2015-04-01 08:14:03 +00:00
Mark Crane
920b08fa23
Remove trailing spaces from the ivr_menu.lua.
2015-04-01 08:12:27 +00:00
Mark Crane
5754994e6c
When a new greeting is created set it as the greeting id.
2015-04-01 08:11:44 +00:00
Mark Crane
c74a0e5d8a
Add a missing semi-colon and remove trailing spaces.
2015-04-01 07:57:47 +00:00
Mark Crane
af98b7cf99
Add an option to save the greeting to the database.
2015-04-01 07:56:56 +00:00
Mark Crane
a7b191a47e
Pre-define the variables for the ivr menu.
2015-04-01 06:52:45 +00:00
Mark Crane
84ff031cec
2015-04-01 05:48:44 +00:00
Mark Crane
8048873cd0
Use luasql for recordings only if base64 is chosen.
2015-04-01 05:44:07 +00:00
Mark Crane
34e722391a
Change base64.enc to base64.encode.
2015-04-01 03:56:23 +00:00
Mark Crane
e9fc52436d
Improve the speed of base64 encode and decode.
2015-03-31 18:48:00 +00:00
Mark Crane
ea6df88750
Prevent trying to pickup the call from the caller in the same call group.
2015-03-31 03:06:55 +00:00
Mark Crane
bf09ca3e1c
Add base64 decode to the IVR Menu.
2015-03-31 00:50:13 +00:00
Mark Crane
4f6f1186ab
Add an additional method to store the recordings.
2015-03-30 23:08:21 +00:00
Mark Crane
cd3d93a1fd
Get a new set of default and domain settings for use when http_domain_filter is set to false. Remove debug numbers from access denied messages in provisioning and remove other redundant code.
2015-03-28 11:37:56 +00:00
Mark Crane
c6933842e6
Update the 4.x and 5.x Polycom templates.
2015-03-28 09:59:00 +00:00
Mark Crane
f911e98bb7
Change the category to type.
2015-03-28 09:58:19 +00:00
Mark Crane
40b0cec667
Add 4.x template for Polycom to make it more intuitive.
2015-03-27 16:20:07 +00:00
luis daniel lucio quiroz
726cca7d99
optional text_append
2015-03-27 01:09:25 +00:00
Mark Crane
bc0b0f8015
Save the variables when the hostname is not set or when the hostname matches the current server.
2015-03-25 23:50:48 +00:00
Mark Crane
5ed2f3b366
Fix the order of the LDAP options so its used before ldap_bind.
2015-03-24 20:49:44 +00:00
Mark Crane
8468ed337c
Add a time out for the LDAP.
2015-03-24 20:16:53 +00:00
Mark Crane
0d5d31f069
Update the LDAP authentication.
2015-03-24 19:54:59 +00:00
Mark Crane
95633aac35
No need for this include again as the scripts_dir is already set by this point.
2015-03-24 07:05:28 +00:00
Mark Crane
3859511572
Fix the XML for languages.lua.
2015-03-24 06:21:47 +00:00
Mark Crane
a0e17a8bad
Fix the LDAP user log in by setting user_uuid SESSION and account for the user unique global option.
2015-03-23 23:46:18 +00:00
Errol Samuels
9aed5b3dc8
Added goodbye message when maximum searches have been reached so caller is aware the call will hangup.
2015-03-23 05:35:41 +00:00
Errol Samuels
e13a8bb694
Added remote reboot capability for Aastra phones
2015-03-22 08:04:03 +00:00
Mark Crane
d93c5198df
Fix the database class count.
2015-03-22 07:54:35 +00:00
Mark Crane
50d941e70b
Update http_cache.conf.xml for a more complete set of instructions.
2015-03-22 04:15:26 +00:00
Nate Jones
61f0db8294
Time Conditions: Change how preset destinations function (when a Preset is checked, the Alternate Destination is required and used, unless a Default Destination is selected, or a Destination is set on the individual Presets themselves. Interface also adjusts if Presets are NOT available.
2015-03-21 23:55:20 +00:00
Mark Crane
a6fe826fe2
Save the Call Center XML only if the directory path has a value.
2015-03-21 06:14:28 +00:00
Mark Crane
db1a7d599c
Fix conference center greeting allow upper case file names.
2015-03-20 19:05:49 +00:00
Mark Crane
7aa729f56b
IVR Menu use the ringback method from ring groups.
2015-03-20 04:56:25 +00:00
Mark Crane
2bf031dd68
IVR Menu commit ringback this approach will be replaced but is added to document the approach.
2015-03-20 04:54:49 +00:00
Mark Crane
5f7a14041a
Fix ringback on the ivr menu by getting the global variable representing the ring back tones.
2015-03-18 23:31:14 +00:00
Mark Crane
34968ce2c2
Remove trailing spaces or tabs.
2015-03-18 20:51:13 +00:00
Mark Crane
eb8544859c
Set event socket break to 8000.
2015-03-18 10:45:34 +00:00
Nate Jones
5be8b785e6
Calls Edit: Included missing jquery-ui images, add label to Forwarding CID select box.
2015-03-18 08:17:57 +00:00
Nate Jones
bd38f6b160
Implemented fix suggested in Issue 823 - Add DOCUMENT_ROOT to require_once path on domain edit [and contacts_vcard.php, and save_switch_xml() function].
2015-03-18 06:17:09 +00:00
Nate Jones
1d8d9043a3
Time Conditions: Fixed destination select box problem mentioned in Issue 876 - reworked switch_select_destination() function.
2015-03-18 05:17:28 +00:00
Mark Crane
e2465d9d04
Uncomment the SQL insert statements for LDAP.
2015-03-18 03:41:19 +00:00
Mark Crane
e43452c177
Update LDAP authentication.
2015-03-18 02:39:35 +00:00
Mark Crane
c07b8c73ac
Get rid of $auth_failed, if username session is set consider the the user authenticated.
2015-03-17 14:44:09 +00:00
Mark Crane
20c68aa7ba
Fix the register.expires on the Polycom 5.x template.
2015-03-17 06:41:47 +00:00
Mark Crane
5f2002d352
Update event socket timing for waiting for results.
2015-03-16 21:59:08 +00:00
Mark Crane
59b461a520
Remove comments in the 5.x in under devices.
2015-03-16 18:33:50 +00:00
Mark Crane
72950be11e
Add a few additional params to the Polycom/5.x template.
2015-03-16 17:26:02 +00:00
Mark Crane
7587d47f4f
Additional changes to the polycom/5.x template.
2015-03-16 16:46:09 +00:00
Mark Crane
6ad7698994
Update the new polycom/5.x template.
2015-03-16 15:25:22 +00:00
Mark Crane
174ea9cfd0
Improve indentation on the mac.cfg file.
2015-03-15 21:58:25 +00:00
Mark Crane
4b87b9f57a
Update the Polycom 5.x template.
2015-03-15 21:52:33 +00:00
Mark Crane
100b7e05f7
Remove all of these extra files.
2015-03-15 21:31:04 +00:00
Nate Jones
8485694537
Voicemail:
...
- Adjust for single-quotes in caller_id_name on insert query (hopefully addressing Issue 877).
- If Keep Local is false, remove the recording from the file system.
- Fix Forward Destinations so message is fully copied to other extension voicemail boxes, not just emailed.
- Add script to Ext and VM Edit pages to prevent Listen or Download links being sent when Keep Local is false.
- Minor language mods.
2015-03-15 09:15:04 +00:00
Nate Jones
ed6aa9107f
Tidy up a different switch statement within save_dialplan_xml().
2015-03-15 01:33:27 +00:00
Nate Jones
74280c78dc
Implemented fix proposed in Issue 880 to include missing time-of-day case in switch statement within save_dialplan_xml(). Thanks, Seth.
2015-03-15 01:15:23 +00:00
Mark Crane
75321f04f7
Fix IVR Menu ringback.
2015-03-13 16:45:05 +00:00
Mark Crane
2c8aa55cc3
Remove as Polycom refers to it as an unknown parameter.
2015-03-12 00:41:18 +00:00
Mark Crane
ea0a0b79a2
Add a new polycom config for firmware version 5.x
2015-03-12 00:16:11 +00:00
Mark Crane
09196fac55
Fix the indentation in callcenter.conf.lua.
2015-03-11 19:33:07 +00:00
Mark Crane
1f20397a57
Call Center XML Handler now generates XML correctly.
2015-03-11 19:28:18 +00:00
Mark Crane
83eca7ae8a
A little more work to get rid of the default context.
2015-03-10 10:47:25 +00:00
Mark Crane
09f7868e36
Fix a missing comma.
2015-03-10 10:41:26 +00:00
Mark Crane
0cd32b4f7e
Add the missing include for the languages section.
2015-03-09 23:49:15 +00:00
Mark Crane
40e14a92d8
Add time-of-day to XML files.
2015-03-09 15:58:02 +00:00
Mark Crane
88ba2e161a
Add time-of-day to the XML handler.
2015-03-09 15:51:49 +00:00
Mark Crane
0d6f9b8d64
Add XML Handler section language.
2015-03-09 05:26:10 +00:00
Nate Jones
d48b306866
Adjusted switch_select_destination() to maintain space between placeholder option.
2015-03-04 21:05:45 +00:00
Nate Jones
0054c933f7
Adjusted switch_select_destination() to allow placeholder text as first option.
2015-03-04 20:31:02 +00:00
Nate Jones
688bf315e0
Adjusted switch_select_destination() function so doesn't select last (blank) option by default.
2015-03-04 07:04:41 +00:00
Mark Crane
c027f0e4f5
Add lua function settings.
2015-03-02 18:07:06 +00:00
Digital Daz
1a15020275
Remove a log line used for debug
2015-02-25 20:40:51 +00:00
Digital Daz
2cef65a708
Fixed a couple of typos and changed the way the DSN is inserted.
2015-02-25 20:35:22 +00:00
Nate Jones
a4671d33b6
Voicemail: Email notification script updated to support multiple languages.
2015-02-24 09:40:45 +00:00
Nate Jones
71a861580c
Voicemail: Added additional options for email notification (attach vm, download link, auto-play listen link). Also cleaned up email templates a little.
2015-02-24 08:09:01 +00:00
Nate Jones
85e22004cd
Voicemail: Remove prompt to listen to new or saved messages if no new or saved messages exist.
2015-02-23 22:51:24 +00:00
Mark Crane
0096149743
Add rport to the vp530.
2015-02-23 07:07:41 +00:00
Mark Crane
6388c00b55
Voicemail IVR is now completed and ready to go.
2015-02-22 23:58:37 +00:00
Mark Crane
faf30dd174
Add additional protection to prevent intercepting calls that have already been answered.
2015-02-21 20:33:23 +00:00
Mark Crane
ce74b2d0fb
Add callcenter.conf.lua for xml handler.
2015-02-21 09:33:36 +00:00
Nate Jones
107dcd9b69
Operator Panel: Added ability to set Eavesdrop destination (from assigned extensions), pause refresh manually or on mouse hover of control elements for better user experience. Hide eavesdrop function if no extensions assigned to user (addresses Issue 851).
2015-02-17 11:04:56 +00:00
Nate Jones
0018e553c4
Visual adjustments.
2015-02-15 07:59:02 +00:00
Nate Jones
996e89c396
Removal of colon next to form label names.
2015-02-15 06:50:00 +00:00
Nate Jones
b0a0310b07
Phrases: Ability to sequence playback of audio files in the IVR, initial groundwork for other switch phrase manipulation.
2015-02-14 05:32:43 +00:00
luis daniel lucio quiroz
c64c2b064b
debug messages for conference center
2015-02-13 18:51:19 +00:00
Mark Crane
1e97324529
Update the comments in the yealink/t46g template.
2015-02-10 06:15:26 +00:00
Mark Crane
b3addf8e7f
Correct many of the comments in the yealink/t42g/{$mac}.cfg template.
2015-02-10 05:50:28 +00:00
Mark Crane
152dab170f
Fix a few of the comments in the yealink/t42g/y000000000029.cfg template.
2015-02-10 05:18:18 +00:00
Digital Daz
6b03488eb0
Use the domain timezone in voicemail message playback.
2015-02-10 00:01:37 +00:00
Digital Daz
b26e4a9f7e
Fix formatting on previous commit
2015-02-07 18:28:12 +00:00
Digital Daz
8b0065e411
Allow other modules callerID prefixes to propagate down if prefix is not populated. eg Destinations prefix.
2015-02-07 18:20:03 +00:00
Mark Crane
3d1ca49461
Fix hot desking internal and outbound caller id for the hot desked phone.
2015-02-06 18:51:22 +00:00
Mark Crane
af30137a91
Fix music on hold issue for the Panasonic UT1xx models. Resolves issue 840.
2015-02-04 07:33:00 +00:00
Mark Crane
1fb11e0cb2
Fix music on hold for the Polycom VVX template works with version 4+ firmware. Google code issue 840.
2015-02-04 07:27:45 +00:00
Mark Crane
bdfe91ceb2
Add odbc-dsn to external and ipv6 sip profiles.
2015-02-03 03:21:21 +00:00
Mark Crane
70032d5642
Work on intercept.lua to prevent an error with the hostname.
2015-01-30 01:32:38 +00:00
Mark Crane
608c95bdf6
Fix the conference default greeting.
2015-01-29 10:07:50 +00:00
Mark Crane
b0e528b33b
Fix fpdf so that it is capable of UTF-8.
2015-01-29 08:36:49 +00:00
Mark Crane
30706fa11d
Tested gateway with registration set to false on 1.4.15 no longer requires a username and password so it is no longer required in fusionpbx when the registration is set to false.
2015-01-29 07:07:54 +00:00
Mark Crane
1d2d13d120
Adjust the provisioning for the polycom vvx templates so that the line type key assignment is more accurate.
2015-01-29 07:00:21 +00:00
James Rose
088a507f9b
Changed DTMF to AVT (rfc2833) on ext1. Commented provisioning of phone volume (ring/speaker/handset/headset).
2015-01-27 15:27:06 +00:00