Commit Graph

5013 Commits

Author SHA1 Message Date
markjcrane 29ee23b2d6 Add lan example to access controls. 2015-08-25 15:01:50 -06:00
markjcrane 387e9c0287 Make sure access controls is not empty. 2015-08-25 14:52:19 -06:00
markjcrane 4836f5cf7c Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-25 11:58:17 -06:00
markjcrane 514fd37672 Fix the extension device list. 2015-08-25 11:57:59 -06:00
FusionPBX 352a9b087c Merge pull request #1127 from moteus/status_of_valid_profile
Fix. Display only profiles which related to specific FS.
2015-08-25 11:56:16 -06:00
FusionPBX 13c50c151d Merge pull request #1126 from moteus/status_global_gateways
Fix. Display names for global gateways on SIP Status page.
2015-08-25 11:55:19 -06:00
FusionPBX adc43c7efb Merge pull request #1125 from moteus/record_b_leg
Fix. Start record when b-leg answer.
2015-08-25 11:53:46 -06:00
FusionPBX 6207dda022 Merge pull request #1124 from moteus/event_socket_class
Fix. Parse ESL response more accurate.
2015-08-25 11:52:32 -06:00
Alexey Melnichuk 55e3563191 Fix. Escape hostname string. 2015-08-25 16:49:56 +04:00
Alexey Melnichuk 65d1a77f7f Fix. Display only profiles which related to specific FS. 2015-08-25 16:46:31 +04:00
Alexey Melnichuk b1dade960b Fix. Display names for global gateways on SIP Status page. 2015-08-25 16:12:12 +04:00
Alexey Melnichuk 094b49828c Fix. Start record when b-leg answer.
This fix problem when DID transfers to IVR.
After that user make direct-dial to extension.
IVR do transfer but a-leg already answered and
api_on_answer did not call.
2015-08-25 14:56:01 +04:00
Alexey Melnichuk 89ccb51144 Fix. Parse ESL response more accurate.
Problem with commands that do not return Content (e.g. sendevent)
In this case `event_socket_request` go to busy wait cycle without chance to success.
On my system it require alot process time and may take >30 sec to save one extension.
2015-08-25 14:14:28 +04:00
FusionPBX 484021f6d8 Merge pull request #1122 from moteus/delete_memcache
Fix. Delete some keys from memcache
2015-08-24 08:48:22 -06:00
Alexey Melnichuk ea1f6068c1 Fix. Delete some keys from memcache 2015-08-24 10:34:33 +04:00
markjcrane 1b68a563df Change directory hostname to switchname which is a little more flexible. 2015-08-22 23:25:27 -06:00
markjcrane c7b8d99d1b Increase the pageing results for access controls. 2015-08-22 15:52:27 -06:00
markjcrane 23fa8e4715 Add new yealink models and update grandstream gxp21xx. 2015-08-22 11:57:06 -06:00
markjcrane 948199497c Add fax_forward_number to the fax class. 2015-08-21 17:10:42 -06:00
markjcrane 7bdd6851fa Add fax prefix tot he fax class. 2015-08-21 17:04:34 -06:00
markjcrane dfa4d1f4b1 Use fax_extension for the directory path needed for outbound faxes. 2015-08-21 16:17:42 -06:00
markjcrane 45ef53f3dd Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-21 15:57:25 -06:00
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