Commit Graph

2112 Commits

Author SHA1 Message Date
FusionPBX
57a15718ed Update file.php 2016-08-13 13:24:32 -06:00
FusionPBX
d6158e371f file.php 2016-08-13 10:39:30 -06:00
Mafoo
4b0f3c38a0 BugFix-Support spaces in streamfile.lua (#1811)
use table.concat as a workaround to spaces in filesames
alternative is adjust all destiantions to quote filenames, but would
require app_defaults catch to fix all exisiting written destinations.
2016-08-13 08:59:37 -06:00
minotaur01
c5d4c74631 Key assignment and Aastra provisioning (#1814)
* Update device_profile_edit.php

Changed maximum key number to be able to program phones with multiple expansion boards

* Raised Device Key Maximum Number

Changed maximum key number to be able to program phones with multiple expansion boards
Also replaced while loop with for loop to match device_profile_edit.php

* Added code for all key types

Added code for all programmable key types, Hard Keys, Soft Keys, Top Keys and Expansion keys.
Also added logic to handle key assigrnment for multiple expansion boards

* Enabled time server and disabled auto discovery settings

Enabled time servers and used system variable from default settings to set time server
Disabled Link-Layer Discovery and Universal Plug and Play because why do you need to re-discover the server after the phone is provisioned

* Updated the key number option generation line

* Updated the key number option generation line
2016-08-13 08:55:54 -06:00
Alexey Melnichuk
065a04ccb2 Add. force_ping option for extension (#1809)
* Add. `force_ping` option for extension

This option force FS send SIP OPTIONS message to
detect if this reged device still available.

* Update language file.
2016-08-11 09:46:54 -06:00
FusionPBX
390cfd09e2 Create forward_add_intro.lua 2016-08-10 16:10:22 -06:00
FusionPBX
2afdd589b1 Update directory.lua 2016-08-08 09:45:16 -06:00
markjcrane
7649e7f175 Change conf/lang to conf/languages this makes it identical to its section. 2016-08-08 09:11:37 -06:00
FusionPBX
0e284a1020 Update app_languages.php
Add label-groups to global app_languages.php.
2016-08-05 09:21:41 -06:00
FusionPBX
8b535a3d70 Update index.lua 2016-08-05 08:42:51 -06:00
FusionPBX
6d89233785 Update {$mac}.cfg 2016-08-04 13:49:56 -06:00
FusionPBX
5950d47f46 Update {$mac}.cfg 2016-08-04 13:48:45 -06:00
DigiDaz
98a184c835 Fixed scripts to get multiserver memcache working (#1795) 2016-08-04 11:40:36 -06:00
markjcrane
28c59d4eec Update recur_sounds_dir to return an array rather than using a global variable. 2016-08-04 09:49:57 -06:00
FusionPBX
ec487d254a Update {$mac}.cfg 2016-08-03 22:26:09 -06:00
FusionPBX
a0d04471a7 Update {$mac}.cfg 2016-08-03 22:25:19 -06:00
FusionPBX
2443fd7075 Update switch_settings.php 2016-08-03 16:46:44 -06:00
FusionPBX
8f3b329440 Update de.xml 2016-08-03 16:37:09 -06:00
FusionPBX
9f0d487b89 Update en.xml 2016-08-03 16:36:49 -06:00
FusionPBX
7342305672 Update fr.xml 2016-08-03 16:36:28 -06:00
FusionPBX
e120463e61 Update he.xml 2016-08-03 16:36:03 -06:00
FusionPBX
27904c88b5 Update ru.xml 2016-08-03 16:35:22 -06:00
FusionPBX
475b07b5f7 Update {$mac}.cfg 2016-08-03 10:09:16 -06:00
FusionPBX
035cd4da19 Update {$mac}.cfg
Add more provisioning variables to Polycom 5.x template and voicemail transfer soft key.
2016-08-03 10:05:28 -06:00
FusionPBX
7693844dde Update index.lua
Set regex_match = false; before the loop.
2016-08-03 00:23:58 -06:00
Alexey Melnichuk
f214625ead Change. Use service::control event to control services (#1790)
* Change. Use `service::control` event to control services

This is more FS way. E.g. sofia sends `sofia::register` event
and add all information to headers. So now `service` script
emit `fusion::service::control` event and each service responsible
for test its own name. This also allows add in future evnets to
e.g. monitor service status like `fusion::service::satus` so it
will be possible write service which will be restart services.

* Change. rename service name from `flow` to `call_flow`
2016-08-02 14:00:49 -06:00
FusionPBX
294acd84ff Update ivr.conf.lua
IVR Menu direct dial move it before the options defined by the users so that users can override it.
2016-08-02 10:17:02 -06:00
markjcrane
dc3c8eac91 Fix the label for the device vendor function import and add the translation to resources/app_languages.php. 2016-07-31 18:51:57 -06:00
markjcrane
0993da997c Move device vendor files into app/devices. 2016-07-31 17:48:50 -06:00
FusionPBX
795113c2b1 Update macro.lua
Add forward_add_intro to macro.lua.
2016-07-29 09:46:56 -06:00
FusionPBX
3b438f5d0e Update login.php
Possible vulnerability in password reset not taking chances removing the code until it has been analyzed and fixed.
2016-07-29 03:22:27 -06:00
Alexey Melnichuk
e7c813a559 Simplify is_uuid function. (#1781)
* Simplify `is_uuid` function.

Also because it returns now value itself it possible write
```Lua
my_uuid = is_uuid(value1) or is_uuid(value2)
```

* Change. Ensure `is_uuid` returns only boolean value
2016-07-28 16:49:36 -06:00
Alexey Melnichuk
58ec22a759 Add. Support service stop command for odbc_pool. (#1782) 2016-07-28 08:16:54 -06:00
FusionPBX
8909639101 Update internal.xml.noload
Comment out disable-transfer and disable-register in the internal sip profile.
2016-07-27 22:55:47 -06:00
Mafoo
951bef85d4 BugFix-add missing default ringback to lua (#1682)
add processing of when ringback is set to default_ringback and correctly
set it to the current value of the globalvar for ringback
2016-07-27 20:06:41 -06:00
FusionPBX
eef8fdbc12 Update index.lua
Improve on the call center agent status use agent_authorized true instead of auto_authorized.
2016-07-27 19:17:10 -06:00
DigiDaz
00b2449168 Allow * 22 login/logout of queue without password by adding variable auto_authorized to dialplan (#1776) 2016-07-27 19:13:50 -06:00
stefanomarty
cde6de2149 Missing .wav file extension in wakeup.xml (#1780)
* Fix missing file extension

The missing "wav" extension makes Freeswitch looking for .PCMU file, which does not exist. This is the error in the logfile:
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:28:59.299530 [DEBUG] switch_ivr_play_say.c:1910 done playing file file_string://digits/1.wav!digits/1.wav!digits/3.wav!digits/0.wav 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:28:59.299530 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:28:59.299530 [DEBUG] switch_ivr_play_say.c:250 Handle execute:[sleep(750)] (en:en) 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:00.159531 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-to_accept_press] (en:en) 
2016-07-23 11:29:00.159531 [ERR] mod_native_file.c:74 Error opening /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-to_accept_press.PCMU 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:00.279530 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:00.279530 [DEBUG] switch_ivr_play_say.c:250 Handle execute:[sleep(750)] (en:en) 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:01.159532 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-to_accept_press] (en:en) 
2016-07-23 11:29:01.159532 [ERR] mod_native_file.c:74 Error opening /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-to_accept_press.PCMU 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:01.279530 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en] 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:01.279530 [DEBUG] switch_ivr_play_say.c:250 Handle execute:[sleep(750)] (en:en) 
d3b2a1d5-9dab-4067-b4a9-0296d6072ed6 2016-07-23 11:29:02.179543 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[ivr/ivr-to_accept_press] (en:en) 
2016-07-23 11:29:02.179543 [ERR] mod_native_file.c:74 Error opening /usr/local/freeswitch/sounds/en/us/callie/ivr/ivr-to_accept_press.PCMU

* Update wakeup.xml
2016-07-27 16:41:49 -06:00
Alexey Melnichuk
a73b8680cb Add service script and make timout optional for EventConsumer ctor (#1775)
* Change. Pass pid file first. Because there really no need pass timeout.
Add. `fsc` script to be able shutdown MWI and Call Flow subscribe services.

* Change. rename `fsc` to `service`.

* Change. Use `stop` command instead of `shutdown`
2016-07-26 11:58:37 -06:00
markjcrane
400192b426 Add yealink remote phonebook name and url defaults. 2016-07-25 18:51:25 -06:00
FusionPBX
238d25cd7e Update y000000000028.cfg
Change provision variables so it will show up in a more logical order.
yealink_remote_phone_book_1_name to yealink_remote_phonebook_1_name
yealink_remote_phone_book_1_url to yealink_remote_phonebook_1_url
2016-07-25 18:34:15 -06:00
markjcrane
63f21e6f84 Add yealink_directory_setting_url to all remaining yealink phones. 2016-07-25 13:19:52 -06:00
FusionPBX
da6f71323c Update languages.lua
Don't cache the not found.
2016-07-24 00:22:18 -06:00
FusionPBX
92f9f45e6c Update languages.lua
When handling phrases get the specific phrase instead of all of them. Remove the code that tried to build the XML from the file system. Replace it with a 'not found' response so that FreeSWITCH will check the filesystem for the XML of the phrase that was not found.
2016-07-24 00:09:48 -06:00
FusionPBX
b236a737bf Create is_uuid.lua
Add a new lua function to determine if a string is a uuid.
2016-07-23 13:40:57 -06:00
FusionPBX
100a0a3671 Update app_languages.php
Add label-domain to the global app_languages.php.
2016-07-23 00:01:45 -06:00
FusionPBX
90bd147d43 Update directory.lua
Add a timeout_destination option for directory.lua.
2016-07-22 11:48:29 -06:00
Mafoo
613b9c9bea Enhance Voicemail Emails (#1738)
* Renamed template variable account to voicemail_id and adjusted all
templates
* Added ${voicemail_description}
* Added ${voicemail_name_formatted} (will render the voicemail identifier in accordance with Default/Domain Settings > Voicemail > display_domain_name)
* Updated templates to be consistent spacing
* Updated templates to include use of ${voicemail_name_formatted}
* Changed ${account} to be voicemail_name_formatted instead of id
2016-07-22 09:23:03 -06:00
Alexey Melnichuk
207cf08e88 Fix. Properly stop (e.g. remove pid file) event consumer loop in case of error. (#1766) 2016-07-21 07:47:54 -06:00
FusionPBX
1279c80d8a Update lua.conf.xml
Add languages to xml handler and Lua module-directory commented out.
2016-07-20 14:01:01 -06:00