Commit Graph

5044 Commits

Author SHA1 Message Date
FusionPBX a6c8ea809d Merge pull request #1133 from ippbx/master
add transport, port & expiry
2015-08-30 03:41:51 -06:00
ippbx 34360379c5 Update {$mac}.xml
added subscription_expiry
2015-08-30 01:47:28 -04:00
ippbx 96fd1fcdd1 Update {$mac}.xml
add port and transport
2015-08-30 01:05:11 -04:00
markjcrane a0191c7bc7 Change the object from pdo to db. 2015-08-29 12:18:44 -06:00
markjcrane b00558bd78 Fix an error that could occur during upgrades. This will make the upgrade from older versions a little easier. 2015-08-29 12:06:56 -06:00
markjcrane 27b8116368 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-27 13:27:40 -06:00
markjcrane db488b5917 Change require("mime") to require("mime.core"). 2015-08-27 13:27:24 -06:00
FusionPBX 339bdaf0b8 Merge pull request #1130 from moteus/delete_alias_from_cache
Fix. Delete number-alias from cache when set DND/Follome/Forward.
2015-08-26 10:56:24 -06:00
Alexey Melnichuk 9ad23e65b5 Fix. Delete number-alias from cache when set DND/Follome/Forward. 2015-08-26 13:44:34 +04:00
markjcrane 9f1385dd80 Add lan example to access controls. 2015-08-25 15:01:50 -06:00
markjcrane 5f09dd8e08 Make sure access controls is not empty. 2015-08-25 14:52:19 -06:00
markjcrane 1f0664be66 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-25 11:58:17 -06:00
markjcrane 6e74b54969 Fix the extension device list. 2015-08-25 11:57:59 -06:00
FusionPBX b4fc420736 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 ba650a0c81 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 b3fc55fd48 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 a6f7f7a6f8 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 2d94062cca Fix. Escape hostname string. 2015-08-25 16:49:56 +04:00
Alexey Melnichuk 480f41f138 Fix. Display only profiles which related to specific FS. 2015-08-25 16:46:31 +04:00
Alexey Melnichuk 8fababb508 Fix. Display names for global gateways on SIP Status page. 2015-08-25 16:12:12 +04:00
Alexey Melnichuk 8c0bba7446 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 50d52a2c62 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 483d2a9aeb Merge pull request #1122 from moteus/delete_memcache
Fix. Delete some keys from memcache
2015-08-24 08:48:22 -06:00
Alexey Melnichuk c19cd89bc5 Fix. Delete some keys from memcache 2015-08-24 10:34:33 +04:00
markjcrane a49bd861ca Change directory hostname to switchname which is a little more flexible. 2015-08-22 23:25:27 -06:00
markjcrane b53572e017 Increase the pageing results for access controls. 2015-08-22 15:52:27 -06:00
markjcrane 7d11db9d46 Add new yealink models and update grandstream gxp21xx. 2015-08-22 11:57:06 -06: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