Commit Graph

57 Commits

Author SHA1 Message Date
Mafoo b7f4cba09c Enhance - Convert more messages (#2646)
convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
2017-06-08 09:39:04 -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
FusionPBX a9765f7139 Update ring_group_edit.php 2017-04-14 02:23:48 -06:00
FusionPBX 2508d71b05 Update ring_group_edit.php 2017-01-12 03:19:38 -07:00
jebsolutions 076a02b41c [master] fix bug #2017 ring groups broken until re-save (#2108)
test case:
Create a new ring group with one extension.
Immediately dial the ring group number.

expected result:
Phone rings.  No errors in log.

actual result:
Call terminates and log has "0" as ring_group_uuid and a sql error.
Note: editing and re-saving the ring group works around the problem

The Problem:
Line 162: non-existent variable...being checked is returned as false  = 0

Line 278: Xml gets generated with bogus zero...

Line 298: Generate a new uuid...but too late.  We already generated the xml dial plan which will be invalid until we edit and resave this ring group.

fix:
Generate uuid before generating xml
2016-11-21 21:53:56 -07:00
FusionPBX 0667087d28 Update ring_group_edit.php 2016-10-16 10:43:00 -06:00
FusionPBX 1b8cbe603b Update ring_group_edit.php 2016-10-05 18:38:07 -06:00
FusionPBX 741980b065 Update ring_group_edit.php 2016-10-02 01:03:45 -06:00
FusionPBX c03e2e520e Update ring_group_edit.php 2016-09-29 16:31:42 -06:00
FusionPBX b7ee708ee0 Update ring_group_edit.php
Remove skip active as it has been replaced by strategy: rollover which skips endpoints that return a busy.
2016-08-05 08:40:16 -06:00
FusionPBX 7c8c6c99d0 Update ring_group_edit.php
Set the default ring_group_ringback to ${us-ring}
2016-06-19 09:35:21 -06:00
Mafoo 4605117d51 Enhance Ringback (#1590)
created new class to look after generating the list of ringbacks
available
adjusted MOH class so legacy method is still possible (just not recommend) and utilizes optgroups as well
converted ring_groups and ivr_menus to use new method
added translations
implemented list_recordings in switch_recordings class
2016-06-08 07:21:45 -06:00
Harry G. Coin 89e5ecbcdf 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
reliberate ef755cf9da Theme: Minor CSS tweaks.
Ring Groups: Rework forwarding controls - integrate into Dashboard view and Ring Group edit page.
2016-03-29 14:15:01 -06:00
koldoa 2047fa7859 Random strategy for ring groups 2015-09-07 08:33:34 +02:00
markjcrane e9b93fd426 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
markjcrane 3857b04be0 Convert ring groups to use the new php class. 2015-08-07 14:30:29 -05:00
Nate Jones 611b308d9e Ring Groups: Added Missed Call notification interface.
Extensions: Removed unnecessary echoes.
2015-06-19 16:33:05 +00:00
Mark Crane 83e4bbc1d1 Change the type from numeric to text. 2015-06-07 05:46:00 +00:00
Mark Crane b316de986f Fix ring group form save change distinctive_ring to ring_group_distinctive_ring. 2015-06-05 17:44:12 +00:00
Mark Crane 167599cf62 Sync the translations for ring groups. 2015-06-04 05:26:12 +00:00
Mark Crane 909a8f4984 Dump another html5 number... <input class='formfld' type='number' name='ring_group_extension' maxlength='255' min='0' step='1' value="010" required='required'> Shows in the gui as 10 instead of 010. To fix it I change the type to text. 2015-05-29 01:58:27 +00:00
Mark Crane 2521f8bd1c Move ring group context above enabled. Goal is moving it lower since its a setting that is changed rarely. 2015-04-21 18:15:51 +00:00
Nate Jones fcb53fd7f9 Misc: Implement maximum limits on multiple apps. 2015-03-22 08:17:04 +00:00
Mark Crane 48499a0e2b Set the user_context on an ring_groups to the domain name. 2015-03-22 03:27:42 +00:00
Nate Jones 18fefa3682 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones dbd9fbc07b Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 256e424b3e Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Mark Crane 03220c9754 Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane 91bfa85bac Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
luis daniel lucio quiroz 4d09350319 HTML5 input tags for ring_group_edit 2014-12-21 19:33:54 +00:00
Riccardo Granchi a86b83be7a Added it-ring definition 2014-11-03 11:16:10 +00:00
Nate Jones ef97f0d7ad Ring Groups: Correction (Sequence, not Simultaneous). 2014-10-31 05:12:21 +00:00
Nate Jones 2ff71010e5 Ring Groups: Toggle Destinations Delay/Order column heading based on Strategy select value. 2014-10-31 05:06:46 +00:00
Nate Jones 4f0d0eb688 Ring Group: Added ability to set Caller ID Number Prefix - Part 1 2014-09-06 07:43:51 +00:00
Mark Crane 26c378e263 Fix recordings per extension for ring groups 2014-08-14 01:21:55 +00:00
Mark Crane 9129890be3 set the style class 2014-08-13 09:13:22 +00:00
Mark Crane b0c8b22833 Add ring group skip active 2014-08-13 08:41:44 +00:00
Mark Crane 6727d0841d Remove ring group call timeout as the per leg timeout makes it redundant 2014-07-04 04:25:09 +00:00
Nate Jones 463bc4f7c7 Ring Groups: Fix Prompt select box to select the option loaded from db. 2014-06-25 00:09:30 +00:00
Nate Jones fd2b8a33cc Default select box value mods. 2014-04-27 08:21:35 +00:00
Nate Jones fa9e9b2ac4 Submit button also placed at top; reordered to right margin, too. 2014-04-26 23:37:41 +00:00
Mark Crane e849d747c8 Ring Groups - If music on hold doesn't exist then don't include it as an option for ring back. 2014-03-06 17:16:21 +00:00
Nate Jones 0dddf704c2 Unstack list control icons. Fixed css class on user select box. 2014-02-26 05:39:02 +00:00
Mark Crane e939f7f3f2 Add ring group rollover strategy. 2014-02-25 04:55:50 +00:00
Nate Jones 9a385be255 Response message updates. 2014-02-23 07:48:21 +00:00
Mark Crane 1bdf5cbc3d Ring group improvements designed improve usability. 2014-02-20 07:20:55 +00:00
Nuno Miguel Reis 975d1bd561 menu fixing utf8 and ring groups pt-ring option 2014-01-16 23:30:56 +00:00
Mark Crane 6304400000 Add a save button to ring group edit. 2014-01-12 07:12:08 +00:00
Mark Crane 7c89922109 Get rid of duplicate columns in ring groups and change some of the wording for 2 comments. 2013-09-19 12:06:29 +00:00