Commit Graph

1181 Commits

Author SHA1 Message Date
Vladimir 96c1cca28f Adding ru-ru locales (#2530)
* Translation of the menu (sent by Victor Kraft)

* ACL translate

* Backup translated

* App Fax translated (sent by Victor Kraft)

* App Adminer trnslated

* Resources translated (sent by Victor Kraft)

* App SIP Profiles translated

* ru-ru

* Call Block added

* ru-ru

* Update app_menu.php

* voicemails/app_languages.php locales ru-ru

voicemails/app_languages.php locales ru-ru

* app/vars/app_languages.php locales ru-ru

app/vars/app_languages.php locales ru-ru

* core: apps, authentication, databases, default_settings translate

* app/traffic_graph/app_languages.php adding locales ru-ru

app/traffic_graph/app_languages.php adding locales ru-ru

* app/time_conditions/app_languages.php adding locales ru-ru

app/time_conditions/app_languages.php adding locales ru-ru

* /app/system/app_languages.php adding locales ru-ru

/app/system/app_languages.php adding locales ru-ru

* /app/sip_status/app_languages.php adding locales ru-ru

* /app/settings/app_languages.php adding locales ru-ru

* /app/services/app_languages.php adding locales ru-ru

* /app/ring_groups/app_languages.php adding locales ru-ru

* /app/registrations/app_languages.php adding locales ru-ru

* /app/recordings/app_languages.php adding locales ru-ru

* /app/provision/app_menu.php adding locales ru-ru

* /app/pin_numbers/app_languages.php adding locales ru-ru

* Update app_languages.php

* /app/phrases/app_languages.php adding locales ru-ru

* /app/operator_panel/app_languages.php adding locales ru-ru

* core/groups translated

* /app/music_on_hold/app_languages.php adding locales ru-ru

* core/install translated

* core/menu translated

* /app/modules/app_languages.php adding locales ru-ru

* /app/meetings/app_menu.php adding locales ru-ru

* /app/log_viewer/app_languages.php adding locales ru-ru

* /app/ivr_menus/app_languages.php adding locales ru-ru

* /app/gateways/app_languages.php  adding locales ru-ru

* /app/fifo_list/app_languages.php adding locales ru-ru

* core/notifications translated

* /app/fifo/app_languages.php adding locales ru-ru

* core/upgrade translated

* Update app_config.php

* core/user_settings translated

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* core/users translated

* call_block translate fix

* Call Broadcast added

* call_block выклюено fix

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* themes translated

* /app/extensions/app_languages.php for locale ru-ru

* /app/exec/app_languages.php add locale ru-ru

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_menu.php

* add locales ru-ru /core/install/app_menu.php

* /app/emails/app_languages.php add locales ru-ru

* /app/edit/app_languages.php add locales ru-ru

* /app/dialplan_outbound/app_languages.php add lacales ru-ru

* app/devices translated

* /app/dialplan_inbound/app_languages.php add locales ru-ru

* call_center_active + call_centers

* /app/dialplan/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/database_transactions/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php addlocales ru-ru

* Update app_languages.php

* Update app_languages.php

* /app/contacts/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* /app/conference_profiles/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* app/calls_active translated

* app/click_to_call translated

* app/calls_active label-opt fix transtation

* translated

* translated

* translate

* /app/voicemails/app_config.php addlocales ru-ru

* /app/voicemail_greetings/app_config.php add locales ru-ru

* /app/vars/app_config.php add locales ru-ru

* /app/traffic_graph/app_config.php add locales ru-ru

* /app/tones/app_config.php add locales ru-ru

* /app/time_conditions/app_config.php add locales ru-ru

* /app/tftp/app_config.php add locales ru-ru

* /app/system/app_config.php add locales ru-ru

* /app/sip_status/app_config.php addlocales ru-ru

* app/devices translated ru-ru

* app/devices translated ru-ru

* /core/menu/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* /app/voicemails/app_languages.php add locales ru-ru

* /app/conference_centers/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/ivr_menus/app_languages.php add locales ru-ru

* /app/xml_cdr/app_languages.php add locales ru-ru

* /resources/app_languages.php add locales ru-ru

* /app/conference_centers/app_languages.php add locales ru-ru

* call_flows

* /app/call_broadcast/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* By now

* calls

* /app/call_flows/app_languages.php add locales ru-ru

* /app/system/app_languages.php add locales ru-ru

* /app/exec/app_languages.php add locales ru-ru

* /app/vars/app_menu.php add locales ru-ru

* /app/backup/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/calls/app_languages.php add locales ru-ru

* /app/call_centers/app_languages.php add locales ru-ru

* /app/call_broadcast/app_languages.php add locales ru-ru

* app/fax fix translate label-fax_send_channels

* /app/extensions/app_languages.php add locales ru-ru

* /app/xml_cdr/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php add locales ru-ru

* Fix default language select

* /app/contacts/app_languages.php add locales ru-ru

* Fix translations in app edit, extensions, fifo, gateways, music_on_hold, services, time_conditions, xml_cdr

* Replaced "звонки" to "вызовы" and fix sorting in menu for "Конференции"

* More replace "звонк"

* Fix translate

* app/xml_cdr replace translate for label-start_range, label-end_range

* app/xml_cdr replace translate label-destination, description_search and description-4

* Corrections

* Repalce "Порядковый номер" to "Приоритет"

* app/operator_panel replace translation label-call_group
2017-04-24 16:37:00 -06:00
Alexey Melnichuk 27f2f41cb4 Fix. Improve parameters patterns. (#2218)
E.g. now it handle queries like
```Lua
local sql = "select :J::text as value"
print(dbh:first_value(sql, {J='hello'}))
```
2017-04-22 10:18:10 -06:00
Alexey Melnichuk 2f3c3c87c6 Fix. Remove unused code from mwi_subscribe.lua (#2527) 2017-04-21 05:59:38 -06:00
Alexey Melnichuk b0f83edcf0 Fix. Escape strings in regex api (#2523) 2017-04-20 07:48:49 -06:00
konradSC ab349620c8 Ring group toll allow (#2520)
* Merge (#4)

* Added variables to disable call waiting and t.38 faxing

* HT702 config file variables: grandstream_disable_call_waiting, grandstream_disable_fax_t38

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update app_config.php

* Corrected bug with expansion board and call park value.  Was 19, should be 16.

* MAC detection for some Grandstream phones (#2486)

Some GS models send the Mac address in the user agent

* Add/Update German and Austrian translations (#2483)

Updates to the following apps:
call_broadcast
call_flows
devices
dialplan_inbound
dialplan_outbound
edit
emails
exec
extensions
fax
fifo
fifo_list
gateways
ivr_menus

* Update destinations.php

* Update xml_cdr_inc.php

* Update status_registrations.php

* Update y000000000028.cfg

* Update y000000000066.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000051.cfg

* Update y000000000023.cfg

* Update y000000000025.cfg

* Update y000000000029.cfg

* Update y000000000036.cfg

* Update y000000000038.cfg

* Update y000000000032.cfg

* Update y000000000046.cfg

* Update y000000000000.cfg

* Update y000000000054.cfg

* Update y000000000045.cfg

* Update y000000000069.cfg

* Update y000000000004.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000005.cfg

* Update y000000000052.cfg

* Update y000000000007.cfg

* Update y000000000037.cfg

* BugFix for VM Transcription (#2491)

Records as MP3 and skips transcription steps if a user has transcription set to false.

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Yet another ip phone reporting MAC in the UserAgent (#2492)

* Update app_config.php

Begin adding uuid's for key functions.

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Create 560_extension_queue.xml

* Update y000000000037.cfg

* Update y000000000007.cfg

* Update app_config.php

* Update y000000000052.cfg

* Update y000000000028.cfg

* Update y000000000005.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000004.cfg

* Update y000000000069.cfg

* Update y000000000045.cfg

* Update y000000000000.cfg

* Update y000000000046.cfg

* Update y000000000032.cfg

* Update y000000000038.cfg

* Update y000000000054.cfg

* Update y000000000036.cfg

* Update y000000000029.cfg

* Update y000000000066.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000051.cfg

* Update y000000000023.cfg

* Update y000000000025.cfg

* Update app_config.php

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update app_config.php

* Fix. Add new sip profile setting. (#2500)

* BugFix [master] system information git (#2499)

fix for if the .git folder is present but corrupt

* Fix. Redirect back to correct profile after delete setting. (#2501)

Fix. Add setting (seems need also set sip_profile_uuid)
Change. Order settings by name when output.

* Restore Button + Audiocodes preliminary support (#2502)

* Audiocodes phone support + restore default for vendors

* Restore button

* Restore script

* Update device_vendors.php

* Some FR & ES translation fixes (#2503)

* Update app_config.php

* Update app_config.php

* Create {$mac}.cfg

* Create directory.xml

* Create favorite_setting.xml

* Create y000000000025.cfg

* Fix. Add extension with non numeric extension number. (#2508)

* Update ring_group_edit.php

* Update call_edit.php

* Create 080_default_caller_id

* Update 080_default_caller_id

* Rename 080_default_caller_id to 080_default_caller_id.xml

* Fix. Create needed number of extensions (#2509)

* Update dialplan_edit.php

* Update switch.php

* Update index.php

* Update switch.php

* Update voicemail_edit.php

* Update app_config.php (#2515)

Add the necessary permissions in order to use the database save function (fusion 4.3) when coding for voicemail option adds/deletes/updates.

I realize these voicemail permissions overall will probably get cleaned up even more once the whole app is updated to use the database function, but this is a stop gap measure. I am working on adding voicemail options to the Bulk Account Settings app and I'm stuck without these permissions. The function is kicking a out 403 Forbidden.

* Update app_config.php

* Really use configured transcribe_language for transcription (#2513)

* Fix renaming domains (#2512)

* Make presence for conferences work out of the box (#2514)

Use '@' instead of '-' for separating conference name and domain, which
is what FreeSWITCH mod_conference uses.

* Add. Speed dial respects contacts user. (#2249)

* Add. Speed dial respects contacts user.

One user can not use speed dial numbers from contacts
associated with another user

* Make SQL query more efficient

* Add. Support find contacts by user groups as well

If contact has set any `user` or `group` then only this users can use speed dial numbers
in other case speed dial numbers are global for domain.

* Fixup for renaming domains (#2517)

The previous fix was incomplete, this one should do it.

* Create app_defaults.php

* Update page.lua

* CC Key Support for Call Center (#2518)

* Exit Keys support

* Multilanguage support

* CC Key Support

* Update call_center.php

* Update code to iterate over numbers. (#1727)

* Update code to iterate over numbers.

This code fixes some problems
 * range like `009-010` current code produce numbers `009` and `0010`
 * range like `200-100` now raise error so it will be easy to debug
 * range like `010-20` now generate error.
 * `destination` is string so condition `destination == tonumber(sip_from_user)` is always false so change it `destination == sip_from_user`

* Fix. handle ranges like `100-100`

* Update app_config.php

* Update app_languages.php

* Update ring_group_edit.php

* Update index.lua
2017-04-19 14:12:14 -06:00
Alexey Melnichuk e4a0127906 Update code to iterate over numbers. (#1727)
* Update code to iterate over numbers.

This code fixes some problems
 * range like `009-010` current code produce numbers `009` and `0010`
 * range like `200-100` now raise error so it will be easy to debug
 * range like `010-20` now generate error.
 * `destination` is string so condition `destination == tonumber(sip_from_user)` is always false so change it `destination == sip_from_user`

* Fix. handle ranges like `100-100`
2017-04-18 12:11:39 -06:00
FusionPBX b4b0014a26 Update page.lua 2017-04-18 11:56:33 -06:00
Alexey Melnichuk cf9c77ad9b Add. Speed dial respects contacts user. (#2249)
* Add. Speed dial respects contacts user.

One user can not use speed dial numbers from contacts
associated with another user

* Make SQL query more efficient

* Add. Support find contacts by user groups as well

If contact has set any `user` or `group` then only this users can use speed dial numbers
in other case speed dial numbers are global for domain.
2017-04-17 09:02:36 -06:00
Stefan Siegel 47866df1ec Make presence for conferences work out of the box (#2514)
Use '@' instead of '-' for separating conference name and domain, which
is what FreeSWITCH mod_conference uses.
2017-04-17 09:01:04 -06:00
Stefan Siegel c017652cbd Really use configured transcribe_language for transcription (#2513) 2017-04-17 08:50:34 -06:00
konradSC 372475094a BugFix for VM Transcription (#2491)
Records as MP3 and skips transcription steps if a user has transcription set to false.
2017-04-10 18:13:50 -06:00
konradSC 0852dee581 Update index.lua (#2473)
Bug fix in per user vm transcription. If domain had transcription enabled but the user did not, then the sql insert of the msg would fail.
2017-04-04 21:24:13 -06:00
Luis Daniel Lucio Quiroz 5c2a8433db Fix CID alteration in Ringroups (#2467)
I really don't know if this is an IP phone issue (tested on grandstream) or a new behavior on FreeSWITCH, but in order to add the prefix to the caller id (name or number) correctly, you need to export instead of set.
2017-04-03 11:53:41 -06:00
konradSC 5dcd3a1d2e Voicemail tutorial (#2451)
* Update macro.lua

Add additional macros for the tutorial.

* Create tutorial.lua

* Update index.lua

* Update record_greeting.lua

Add menu variable to route back to appropriate place in the flow.

* Update record_menu.lua

Add menu variable to accommodate the tutorial.

* Update change_password.lua

Add menu variable to accommodate the tutorial.

* Update record_name.lua

Add menu variable to accommodate the tutorial.

* Update voicemail_edit.php

Add option to play tutorial on next login.

* Update app_languages.php

* Update app_config.php

Add voicemail_tutorial to database.

* Update extension_edit.php

Set "voicemail_tutorial" to true for new extensions.
2017-03-24 23:06:16 -06:00
FusionPBX 22d11226c1 Update hangup_rx.lua 2017-03-01 12:24:54 -07:00
FusionPBX 92ba5e1529 Update callcenter.conf.lua 2017-02-20 20:47:35 -07:00
FusionPBX 5ac6881cf4 Update forward_to_extension.lua 2017-02-19 04:14:18 -07:00
FusionPBX bb360bfce6 Update on_dtmf.lua 2017-02-16 18:14:59 -07:00
FusionPBX 486b08de8f Add RECOVERY_ON_TIMER_EXPIRE for the timeout destination. 2017-02-15 10:31:31 -07:00
FusionPBX 4190785fc0 Add ring_ready to extend the ring time. 2017-02-14 15:01:59 -07:00
Chris Black 437d3ac735 Add per-voicemail transcription enabled. (#2370) 2017-02-13 13:12:43 -07:00
FusionPBX 3c229a7ae9 Update directory.lua 2017-02-07 18:56:21 -07:00
FusionPBX e1fbdd0ced Update switch.sql 2017-02-01 18:01:20 -07:00
Alexey Melnichuk 3c067947de Add. Support remote reboot Panasonic devices. (#2326)
Tested with Panasonic KX-TGP500 Firmware 22.90
User agent string `Panasonic_KX-TGP500B09/22.90 (<MAC>)`
2017-01-31 00:35:24 -07:00
FusionPBX 1373914369 Update index.lua
Adding  ~= nil as its used in various places in this file changed for better consistency.
2017-01-30 20:57:37 -07:00
FusionPBX 2c4d54a52b Update index.lua
Add the voicemail_uuid to the if statement on vm disk quota.
2017-01-30 20:54:03 -07:00
FusionPBX b63a6bb42b Update index.lua
Prevent a nil error when using voicemail has reached its quota.
2017-01-30 20:35:27 -07:00
FusionPBX 53fe4b87be Update sofia.conf.lua
Activate the sofia profile domain aliases.
2017-01-28 14:50:06 -07:00
FusionPBX 6b37fe25aa Update
Add voicemail/vm-no_answer_no_vm.wav
2017-01-27 13:24:10 -07:00
FusionPBX 27d383b367 Update index.lua
Prevent an error by moving the voicemail quota into the if statement that checks if the voicemail_uuid is not null.
2017-01-27 12:18:01 -07:00
FusionPBX 7f45fef615 Update sofia.conf.lua 2017-01-18 08:55:29 -07:00
Alexey Melnichuk ff67706848 Fix. Russia has 11 digits (close #2303) (#2304) 2017-01-17 10:14:49 -07:00
Chris Black 231c45dffb Add transcription to the sms message (#2308)
Gives the user ability to add transcription to the sms message for
voicemail notifications.
2017-01-17 10:13:33 -07:00
FusionPBX 37161f6fc4 Update sofia.conf.lua
Fix the year.
2017-01-12 04:26:32 -07:00
FusionPBX 4e2b96b29f Update sofia.conf.lua
Fix domain alias show with sofia status.
2017-01-12 04:18:58 -07:00
FusionPBX 761a9f51f2 Update ivr.conf.lua 2016-12-29 13:35:55 -07:00
jebsolutions b0bde877d1 fixes bug #2270 reported by volga629 (#2276)
Please do further testing/review and give comments and suggest cleanup, etc.

This bug is only tripped if all of the following are true:
a) fax send fails
b) email notification of fax failure also fails
c) Other?

how to test
- have a 100% working fax to email setup.
- Change Advanced->defaults->email and set the port to be something invalid.
- e.g. smtp port 9999 is invalid
- send a test fax to something without a fax
- e.g. I just faxed my own DID which does NOT have fax answering

- each time the phone rings answer...wait 5 seconds, and then hang up
- note: it will retry sending the fax 5 times so repeat the above.

- on the last try it will give up, and try to send the failure email
- the email will fail (bad port) and then it will insert the failed email into v_emails
- the insert will fail and nothing in v_emails

Error was caused by trying to insert '' into the domain_uuid field.
'' is invalid in a uuid field, but null is okay.

The null is caused by no x-headers being passed.  So these two fields end up null:
$headers["X-FusionPBX-Domain-UUID"]
$headers["X-FusionPBX-Email-Type"]

Ignoring unset/uninitialized variables hides bugs.

Fix: feed the X-Header in the calling lua code.
2016-12-27 17:49:57 -07:00
Luis Daniel Lucio Quiroz a435f8973a Fix Call forward BUSY and NO ANSWER DEVEL (#2269)
Same rationale as 4.0 and 4.2
2016-12-24 10:38:21 -07:00
FusionPBX 167bacf9df Update route_to_bridge.lua 2016-12-23 02:16:22 -07:00
FusionPBX fe31c4b633 Update route_to_bridge.lua 2016-12-23 01:52:19 -07:00
FusionPBX 0bb9de3463 Update dialplan.lua
Add hostname to dialplan xml handler.
2016-12-23 01:28:47 -07:00
FusionPBX 52ba8cf2e3 Update 2016-12-22 14:38:12 -07:00
FusionPBX 3f2c9a7e08 Update check_password.lua 2016-12-22 14:34:38 -07:00
Alexey Melnichuk 5523e6f630 Fix. Use CID from extension for call forward if set `call_forward_fix`. (#2260)
This is same behavior as in Web UI.
2016-12-20 09:07:58 -07:00
FusionPBX 4ae4d63524 Update ivr.conf.lua
Fix the memcache expire on the ivr menu.
2016-12-14 08:45:56 -07:00
Alexey Melnichuk 4648f97c17 Fix. Find in database not empty phone number for speed dial. (#2242)
Also do not store `context` in memcache
2016-12-09 00:49:51 -07:00
Alexey Melnichuk bb073930bc Fix. logs sql only if debug flag set. (#2243) 2016-12-09 00:42:20 -07:00
FusionPBX 9eb6ea6472 Update index.lua
Change destination_number to destination, and use argv to get the destination.
2016-12-08 11:48:07 -07:00
Alexey Melnichuk bd9dc60090 Rewrite speed_dial Lua script. (#2239) 2016-12-08 10:23:38 -07:00
FusionPBX d86ea6b0de Create index.lua 2016-12-08 03:03:58 -07:00
Alexey Melnichuk c0c6883fbc Fix. Group intercept with not empty group name (#2232) 2016-12-07 23:47:37 -07:00
Alexey Melnichuk b112220534 Remove unused database connection. (#2235) 2016-12-06 09:52:51 -07:00
Alexey Melnichuk 3e1151cf31 Fix. Set correct values for voicemail_to_sms_* settings (#2229)
`true` and `false` string literals evaluates to `true` boolean value.
2016-12-05 16:02:32 -07:00
Alexey Melnichuk 9b6e1e8df3 Fix. group_call pass params to query (#2227) 2016-12-02 17:29:42 -07:00
FusionPBX b6281a84c4 Update fax_retry.lua 2016-12-02 00:52:10 -07:00
FusionPBX 96708bdeea Update fax_retry.lua
Prevent a nill error for email_address.
2016-12-01 23:57:17 -07:00
FusionPBX c029516f07 Update fax_retry.lua 2016-12-01 23:47:32 -07:00
Chris Black 1431a8a3fb Voicemail to sms notification (#2205)
Requires that you have fusionpbx-apps/sms

Doesn’t impact anything if you don’t have it. Must be enabled with
default_setting voicemail_to_sms

Everything is disabled by default and the fields in voicemail_edit.php
are hidden by default.
2016-11-30 16:26:39 -07:00
FusionPBX d6465b5c05 Update forward_add_intro.lua
Add missing ) which was breaking the syntax.
2016-11-28 08:43:47 -07:00
Alexey Melnichuk 2aebf9e8b8 Fix. Build correct SQL in vm/menu_messages.lua (close #2189) (#2195) 2016-11-25 23:03:19 -07:00
Alexey Melnichuk 4856044e80 Fix. Close database object in vm/forward_to_extension.lua (#2196) 2016-11-25 23:01:43 -07:00
Alexey Melnichuk 1056b84ed3 Fix. Store message_intro_base64 in database. (#2197) 2016-11-25 23:01:18 -07:00
Alexey Melnichuk 80a1e5b710 Add. ${user_exists} value to check condition when build CF dialstring (#2183) 2016-11-24 10:07:55 -07:00
Alexey Melnichuk d892521404 Fix some minor typos related with new Database class. (#2174) 2016-11-24 10:04:42 -07:00
Alexey Melnichuk b8fc499360 Add. Use params in provision/index.lua (#2173) 2016-11-24 10:01:06 -07:00
Alexey Melnichuk c26bc296ec Add. call_flow_monitor.lua uses Database class. (#2172) 2016-11-24 09:57:18 -07:00
Alexey Melnichuk b1cd199f3f Add. Use params in disa.*.lua (#2171) 2016-11-24 09:56:09 -07:00
Alexey Melnichuk 5fe0308ef2 Fix. Find call_group with NULL in intercept.lua (#2169) 2016-11-24 03:04:52 -07:00
Alexey Melnichuk 9d764b7d5c Fix. Add missing file for #1629 (#2077) 2016-11-24 00:41:43 -07:00
Chris Black d084fe3fcc Couple firmware URL fixes (#2106)
* Couple firmware URL fixes

* Add handset OTA upgrade to W52p

* Remove profanity from returned results.
2016-11-23 23:21:35 -07:00
Alexey Melnichuk a7c972ba2d Fix. Create dbh object in fax_retry.lua (#2168) 2016-11-23 23:14:58 -07:00
Alexey Melnichuk 5c504b226f Add. Use params in ring_groups/destination.lua (#2163) 2016-11-23 03:50:22 -07:00
Alexey Melnichuk 95176f517e Fix. Fetch correct arrays from settings. (#2162)
* Fix. Fetch correct arrays from settings.
Add. Use params in `settings.lua`

* Fix. array from domain settings overwrite entire array from default settings instead of appends it.
2016-11-23 03:50:00 -07:00
Alexey Melnichuk 2fc804f61a Add. Use params in call_block/index.lua (#2161) 2016-11-23 02:18:36 -07:00
Alexey Melnichuk c0f0d81d01 Fix. Use correct database class in hangup_rx.lua (#2155) 2016-11-23 02:02:06 -07:00
Alexey Melnichuk d55eab9139 Add. Use params in vm/change_password.lua (#2156) 2016-11-23 02:01:50 -07:00
Alexey Melnichuk d65ee95d9c Add. Use params in directory.lua (#2157) 2016-11-23 02:01:29 -07:00
Alexey Melnichuk 7f8173f4ad Add. Use params in group_call.lua (#2158) 2016-11-23 02:00:44 -07:00
Alexey Melnichuk ba019995f1 Fix. Pass `params` to query call in destination_caller_id.lua (#2159) 2016-11-23 02:00:17 -07:00
Alexey Melnichuk 0520be077d Fix. Pass `params` in query call in do_not_disturb.lua (#2160) 2016-11-23 01:59:58 -07:00
FusionPBX cb987f24b9 Update index.lua
Get the sip_from_user and sip_number_alias from the session.
2016-11-23 01:20:00 -07:00
Alexey Melnichuk 571e42508f Fix. Use local `err` variable in `apply_param` (#2152) 2016-11-22 16:48:54 -07:00
Alexey Melnichuk a7341d97c4 Add. Use params in vm/record_menu.lua (#2130) 2016-11-22 11:22:41 -07:00
Alexey Melnichuk 4131d90862 Add. Use params in vm/message_waiting.lua (#2132) 2016-11-22 11:19:38 -07:00
Alexey Melnichuk c15ecf4a06 Add. Use params in vm/message_saved.lua (#2133) 2016-11-22 11:19:04 -07:00
Alexey Melnichuk f86f1d5b53 Add. Use params in vm/message_count.lua (#2134)
* Add. Use params in vm/message_count.lua

* Update message_count.lua

Change spelling prams to params.
2016-11-22 11:18:38 -07:00
Alexey Melnichuk b51e8acff3 Add. Use params in vm/menu_messages.lua (#2135) 2016-11-22 11:15:40 -07:00
Alexey Melnichuk 78e7fd3b9b Add. Use params in vm/main_menu.lua (#2136) 2016-11-22 11:14:28 -07:00
Alexey Melnichuk 1d34a31b33 Add. Use params in vm/listen_to_recording.lua (#2137) 2016-11-22 11:14:04 -07:00
Alexey Melnichuk 75df3999a9 Add. Use params in vm/forward_to_extension.lua (#2138) 2016-11-22 11:13:40 -07:00
Alexey Melnichuk 498ed9a3a8 Add. Use params in vm/delete_recording.lua (#2139) 2016-11-22 11:13:19 -07:00
Alexey Melnichuk 7758e7d810 Add. Use params in vm/choose_greeting.lua (#2140) 2016-11-22 11:13:03 -07:00
Alexey Melnichuk 0fbea311dc Add. Use params in vm/check_password.lua (#2141) 2016-11-22 11:12:50 -07:00
Alexey Melnichuk fb92e448d0 Add. Use params in vm/mwi_subscribe.lua (#2143) 2016-11-22 11:12:37 -07:00
Alexey Melnichuk d627f76eb4 Add. Use params in vm/play_greeting.lua (#2131) 2016-11-22 11:12:10 -07:00
Alexey Melnichuk bef6fc484e Add. Use params in vm/record_message.lua (#2129) 2016-11-22 11:11:55 -07:00
Alexey Melnichuk 55262a806c Add. Use params in vm/record_name.lua (#2128) 2016-11-22 11:11:36 -07:00
Alexey Melnichuk 749d6cbe34 Add. Use params in send_mail.lua (#2142) 2016-11-22 11:10:18 -07:00
Alexey Melnichuk a7bd0b0864 Add. Use params in call_flow.lua (#2145) 2016-11-22 11:09:48 -07:00
Alexey Melnichuk 4b26e8d237 Add. Use params in ring_groups/index.lua (#2146) 2016-11-22 11:09:25 -07:00
Alexey Melnichuk 043c01579a Add. Use params in fax/queue/retry.lua (#2148) 2016-11-22 11:09:03 -07:00
Alexey Melnichuk 7cf5b67d92 Add. Use params in voicemail/index.lua (#2147) 2016-11-22 11:08:26 -07:00
Alexey Melnichuk 1bcf3a5779 Add. Use params in hangup_rx.lua (#2149) 2016-11-22 11:07:45 -07:00
Alexey Melnichuk aeac98c90f Add. Use parameters in conference_center/index.lua (#2150) 2016-11-22 10:41:25 -07:00
Alexey Melnichuk 6c460641a4 Add. Use params in vm/send_email.lua (#2127) 2016-11-22 09:54:58 -07:00
Alexey Melnichuk ae17af5fa5 Add. Use params in fax_retry.lua (#2114) 2016-11-21 22:07:02 -07:00
Alexey Melnichuk 904d52407a Add. Use params in do_not_disturb.lua (#2115) 2016-11-21 22:05:58 -07:00
Alexey Melnichuk 45c3202d97 Add. Use params in follow_me.lua (#2117) 2016-11-21 22:04:44 -07:00
Alexey Melnichuk 86f25f5f34 Add. Use params in destination_caller_id.lua (#2123) 2016-11-21 22:03:46 -07:00
Alexey Melnichuk 14f82769b3 Add. Use params in intercept.lua (#2113) 2016-11-21 21:51:11 -07:00
Alexey Melnichuk fd2a383394 Add. Use params in is_local/index.lua (#2122)
* Add. Use params in is_local/index.lua

* Fix. syntax error in params table.
2016-11-21 14:04:21 -07:00
Alexey Melnichuk 7a51e1e2be Add. Use params in pin_number.lua (#2112) 2016-11-21 13:54:19 -07:00
Alexey Melnichuk be35f689c3 xml handler use sql params (#2109)
* Add. Use parameters in all xml_handler configuration files.

* Add. Use dialplan, domains and languages params

* Fix. load correct database module

* Fix. Pass params in dialplan query

* Fix. Load correct database class.
2016-11-21 13:53:47 -07:00
Alexey Melnichuk 6671490e92 Add. Use params in ivr_menu.lua (#2116) 2016-11-21 13:52:06 -07:00
Alexey Melnichuk 79952998ba Add. Use params in lazy_settings.lua (#2118) 2016-11-21 13:51:39 -07:00
Alexey Melnichuk affa42b192 Add. Use params in route_to_bridge.lua (#2119) 2016-11-21 13:51:21 -07:00
Alexey Melnichuk c142d58bcb Add. Use params in recordings.lua (#2121) 2016-11-21 13:50:38 -07:00
Alexey Melnichuk bb9e02267d Add. Use params in eavesdrop.lua (#2124) 2016-11-21 13:48:38 -07:00
Alexey Melnichuk 3aa3b4316d Add. Use params in agent_status/index.lua (#2125) 2016-11-21 13:48:05 -07:00
FusionPBX 36c649f2a9 Update directory.lua 2016-11-18 10:40:07 -07:00
Alexey Melnichuk c36cbe2771 Add. user parameters to build query for mod_directory. (#2091) 2016-11-18 10:37:16 -07:00
FusionPBX 5e4a9eec11 Update directory.lua 2016-11-18 10:35:07 -07:00
FusionPBX 4f6b63703a Update group_call.lua 2016-11-18 10:24:07 -07:00
Alexey Melnichuk 3440b8a15a Add. Use parameters in group_call.lua (#2093) 2016-11-18 10:22:33 -07:00
Alexey Melnichuk 1dc5a22f9a Add. Use parameters in reverse-auth-lookup.lua (#2094) 2016-11-18 10:21:53 -07:00
Alexey Melnichuk 20569d5838 Add. Use parameters for acl.lua (#2095) 2016-11-18 10:21:00 -07:00
FusionPBX b666e1a7a8 Update index.lua 2016-11-18 10:20:21 -07:00
FusionPBX 368040eb5c Update cidlookup.lua 2016-11-18 10:17:54 -07:00
Alexey Melnichuk 212536d35d Add. Use parameters in cidlookup.lua and call_block app (#2096) 2016-11-18 10:16:22 -07:00
FusionPBX 923f5eee67 Update directory.lua 2016-11-18 09:58:53 -07:00
Alexey Melnichuk 77810d66d0 Add. Use parameters in call_forward.lua (#2098) 2016-11-18 09:47:11 -07:00
Alexey Melnichuk 164888016d Add. Use parameters in dial_string.lua (#2099) 2016-11-18 09:43:19 -07:00
Alexey Melnichuk 84cb98f442 Xml handler directory sql escape (#2088)
* Add. Extend database API to support parameters.

* Change. Use new Database API in `xml_handler::directory.lua`
2016-11-17 11:42:42 -07:00
Alexey Melnichuk 090f9b0d7b Add. Extend database API to support parameters. (#2086) 2016-11-17 11:41:16 -07:00
Alexey Melnichuk c30eb90839 Add. Support number_alias field as presence id in follow me/call forward (#2075) 2016-11-17 11:40:22 -07:00
FusionPBX 8c4b703213 Update ivr.conf.lua
Use ${default_language}/${default_dialect}/${default_voice} instead as it will work better when the IVR Menu is cached.
2016-11-14 12:08:48 -07:00
FusionPBX 8920bddc5b Update ivr.conf.lua
Fix multi-lingual support for IVR Menu direct dial your call is being transferred and invalid entry.
2016-11-14 11:45:50 -07:00
SJS87 56305f25e9 Update index.lua for E-164 Caller ID (#2047)
When saving Caller ID numbers which are in E-164 format these may include a '/' prefix used to escape '+'. This causes the '/' to be saved with the number which prevents the call from being returned.

The above fixes the issue by removing '/' prefix from the start of the Caller ID number before saving the voicemail message.
2016-11-11 10:48:21 -06:00
FusionPBX 7d113bf8eb Update index.lua
Improve security for voicemail_authorized = true;
2016-11-06 01:01:55 -06:00
FusionPBX aa1001be8e Update cidlookup.lua
Updated the code indentation and add cidlookup_exists to check if the module is running.
2016-11-06 00:15:59 -06:00
FusionPBX 7180672fd1 Update index.lua 2016-11-05 23:36:26 -06:00
Chris Black b07e91c279 Changes to API per issue 2036 (#2038)
https://github.com/fusionpbx/fusionpbx/issues/2036
2016-11-04 11:18:02 -06:00
Chris Black 7c4a726766 add built in ability for microsoft bing speech to text (#1960)
* add built in ability for microsoft bing speech to text

* move json.lua to lower case and more error checking in record_message

* Replaced Creative Commons json.lua with lunajson.lua which is MIT license

https://github.com/grafi-tt/lunajson/blob/master/LICENSE
2016-11-03 16:11:21 -06:00
FusionPBX 0f3a214bc1 Update message_waiting.lua 2016-10-30 12:15:25 -06:00
FusionPBX bb961276c3 Update ivr.conf.lua
Move direct dial after the options.
2016-10-25 10:04:29 -06:00
FusionPBX 4ecf0f95b0 Update directory.lua
Re-add force_ping to directory.lua.
2016-10-23 12:55:39 -06:00
FusionPBX b807c7e15f Update directory.lua
moteus changes to directory.lua in pull request 1129.
2016-10-23 12:46:35 -06:00
FusionPBX 5c6c89f6e1 Update index.lua 2016-10-17 17:58:06 -06:00
FusionPBX 4bb2669555 Update ivr.conf.lua
Fix IVR Menu greet short.
2016-10-16 01:07:17 -06:00
FusionPBX e48552680c Update switch.sql
Add json_store table.
2016-10-13 15:48:09 -06:00