Commit Graph

5491 Commits

Author SHA1 Message Date
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 cb4642e56f Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-21 15:44:00 -06:00
markjcrane 59fac15627 Change the fax_extension to fax_destination_number. 2015-08-21 15:43:40 -06:00
FusionPBX 632d152035 Merge pull request #1118 from moteus/clear_cache_number_alias
Fix. clear cache also for number_alias.
2015-08-21 11:33:03 -06:00
markjcrane 8a9ea414a6 Fix the session rotate default setting type and value. 2015-08-21 11:25:40 -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
Alexey Melnichuk bff7f43abb Fix. clear cache also for number_alias. 2015-08-21 13:22:07 +04:00
markjcrane 8167e1a523 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-20 20:16:30 -06:00
markjcrane 850d53359c Move SQL queries out of the content as a best practice and coding standard. Fix number alias when using auth name and auth id. 2015-08-20 20:16:07 -06: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
markjcrane 053571497d Delete child data when deleting access controls. Improve the indentation. 2015-08-20 09:33:02 -06:00
markjcrane dfd10e38e9 Fix a quote mismatch. 2015-08-20 09:23:53 -06:00
markjcrane 1ff1e38844 Fix the path problems for the reading the acl.conf.xml. 2015-08-20 09:06: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
markjcrane ca1c489776 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-19 12:41:58 -06:00
markjcrane 4201015784 Fix the fax dialplan which prevented inbound faxes from saving using the new fax dialplan. 2015-08-19 12:41:34 -06:00
FusionPBX 01942a4bd0 Merge pull request #1103 from moteus/bind_digit_action
Bind digit action
2015-08-19 09:40:28 -06: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 8d96b580cb Fix. Set voicemail ID. 2015-08-18 15:42:14 +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 e6198427ba Merge pull request #1102 from badcrc/master
New key types for Aastra devices and Logged in agents in fifo queues
2015-08-17 09:17:30 -06:00
koldoa 73d5bf8ed7 View current logged members per fifo queue 2015-08-17 16:39:54 +02:00
koldoa e70493e8f9 New key type for aastra devices 2015-08-17 16:39:54 +02:00
koldoa 890cff5314 New key type for aastra devices 2015-08-17 16:39:54 +02: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 2947343aca Add fax default setting keep_local. 2015-08-16 01:53:39 -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
markjcrane 43e04059d3 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-15 19:41:32 -06:00
markjcrane 25a3dd946f Change the email defaults. 2015-08-15 19:41:07 -06:00
markjcrane a573b13b82 update the translations 2015-08-16 01:12:05 +00:00
markjcrane f8d14edaf7 Add latest translation for Access Controls 2015-08-15 23:58:26 +00:00
markjcrane eb95f981a4 Fax variables for inbound, outbound, and both. 2015-08-15 15:26:16 -06:00
markjcrane bb0d6465d8 Add a new fax class to make the fax dialplan. 2015-08-15 14:27:27 -06:00
markjcrane 45680cebb7 Change the default fax_enable_t38_request to false. 2015-08-15 13:20:41 -06:00
markjcrane 893efba8af Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-15 13:17:33 -06:00
markjcrane 1fec017b16 Make the fax/app_defaults.php more efficient and add fax_enable_t38=true and fax_enable_t38_request=true. 2015-08-15 13:17:07 -06:00
reliberate cde85270f3 Destinations: Hide Account Code field on Add/Edit of Outbound Destinations. 2015-08-15 10:41:34 -06:00
reliberate a2b9bae284 Destinations: Hide unrelated form elements on edit of Outbound Destination. 2015-08-15 09:07:01 -06:00
reliberate 361e20e6de Destinations (Class): Enable preferred number formatting for Destination options. 2015-08-14 20:32:56 -06:00