Commit Graph

5018 Commits

Author SHA1 Message Date
Alexey Melnichuk
c19cd89bc5 Fix. Delete some keys from memcache 2015-08-24 10:34:33 +04:00
markjcrane
c7c173f674 Add fax_forward_number to the fax class. 2015-08-21 17:10:42 -06:00
markjcrane
88ae0b72c7 Add fax prefix tot he fax class. 2015-08-21 17:04:34 -06:00
markjcrane
933db5bc01 Use fax_extension for the directory path needed for outbound faxes. 2015-08-21 16:17:42 -06:00
markjcrane
3ba2f3fedc Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-21 15:57:25 -06:00
FusionPBX
da475d8ddc 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
077d89f319 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-21 15:44:00 -06:00
markjcrane
8a8f73d81d Change the fax_extension to fax_destination_number. 2015-08-21 15:43:40 -06:00
FusionPBX
eabad9c50f 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
d781e2bb1b Fix the session rotate default setting type and value. 2015-08-21 11:25:40 -06:00
markjcrane
560086d6c4 Add a new default settings -> security -> session_rotate. 2015-08-21 11:21:08 -06:00
Alexey Melnichuk
d7bc826c30 Fx. Comment 2015-08-21 17:20:55 +04:00
Alexey Melnichuk
148d2b42f2 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
fdfa8f715f 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
67a1392194 Fix. clear cache also for number_alias. 2015-08-21 13:22:07 +04:00
markjcrane
115b06b9dd Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-20 20:16:30 -06:00
markjcrane
c9f7869de9 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
9066f19b72 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
e299994033 Delete child data when deleting access controls. Improve the indentation. 2015-08-20 09:33:02 -06:00
markjcrane
e193273443 Fix a quote mismatch. 2015-08-20 09:23:53 -06:00
markjcrane
df9611670d Fix the path problems for the reading the acl.conf.xml. 2015-08-20 09:06:45 -06:00
Alexey Melnichuk
897b32be80 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
4656eaee89 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-19 12:41:58 -06:00
markjcrane
991731e12d Fix the fax dialplan which prevented inbound faxes from saving using the new fax dialplan. 2015-08-19 12:41:34 -06:00
FusionPBX
6680aeece5 Merge pull request #1103 from moteus/bind_digit_action
Bind digit action
2015-08-19 09:40:28 -06:00
Alexey Melnichuk
72cb20f6c4 Revert. Both legs can control of call. 2015-08-19 10:06:22 +04:00
Alexey Melnichuk
42a15cab44 Fix. Concatenate record extension 2015-08-18 15:49:56 +04:00
Alexey Melnichuk
b0ce96ee03 Fix. Set voicemail ID. 2015-08-18 15:42:14 +04:00
Alexey Melnichuk
8442ea979e 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
1d953480ab 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
aa647adde3 View current logged members per fifo queue 2015-08-17 16:39:54 +02:00
koldoa
7261a9dcb7 New key type for aastra devices 2015-08-17 16:39:54 +02:00
koldoa
6a93e34dab New key type for aastra devices 2015-08-17 16:39:54 +02:00
FusionPBX
19ee397c4a 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
7c18a6585d Fix. Eavesdrop by operator_panel with extension with number-aliases 2015-08-17 16:46:53 +04:00
markjcrane
29c7b3c972 Add the t41p template. 2015-08-16 10:54:28 -06:00
markjcrane
467d747963 Update the version from 4.0 to 4.0.0. 2015-08-16 03:05:19 -06:00
markjcrane
4aabbab6d0 FusionPBX Official version 4.0 released. 2015-08-16 02:03:09 -06:00
markjcrane
2e6f90fb80 Fax keep local updates. 2015-08-16 02:01:37 -06:00
markjcrane
91911a10ca Add fax default setting keep_local. 2015-08-16 01:53:39 -06:00
markjcrane
bdebe75d78 Fix the order by for the destinations class. 2015-08-15 23:24:57 -06:00
markjcrane
74804cea64 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
47921ff596 Make the destinations class easier to read. 2015-08-15 19:58:47 -06:00
markjcrane
8d3a286050 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-15 19:41:32 -06:00
markjcrane
8eacfbcb40 Change the email defaults. 2015-08-15 19:41:07 -06:00
markjcrane
c1d57a7c1e update the translations 2015-08-16 01:12:05 +00:00
markjcrane
c80a1b850e Add latest translation for Access Controls 2015-08-15 23:58:26 +00:00
markjcrane
2de8ac119d Fax variables for inbound, outbound, and both. 2015-08-15 15:26:16 -06:00
markjcrane
504d89dd90 Add a new fax class to make the fax dialplan. 2015-08-15 14:27:27 -06:00
markjcrane
08c4618ec2 Change the default fax_enable_t38_request to false. 2015-08-15 13:20:41 -06:00