FusionPBX
3be7aa13cb
Update ivr.conf.lua
...
Check to see if the number dialed matches an extension if it does then transfer to the extension if it doesn't then transfer the call back to the IVR Menu.
2016-08-13 19:57:15 -06:00
Alexey Melnichuk
065a04ccb2
Add. `force_ping` option for extension ( #1809 )
...
* Add. `force_ping` option for extension
This option force FS send SIP OPTIONS message to
detect if this reged device still available.
* Update language file.
2016-08-11 09:46:54 -06:00
FusionPBX
2afdd589b1
Update directory.lua
2016-08-08 09:45:16 -06:00
FusionPBX
294acd84ff
Update ivr.conf.lua
...
IVR Menu direct dial move it before the options defined by the users so that users can override it.
2016-08-02 10:17:02 -06:00
FusionPBX
da6f71323c
Update languages.lua
...
Don't cache the not found.
2016-07-24 00:22:18 -06:00
FusionPBX
92f9f45e6c
Update languages.lua
...
When handling phrases get the specific phrase instead of all of them. Remove the code that tried to build the XML from the file system. Replace it with a 'not found' response so that FreeSWITCH will check the filesystem for the XML of the phrase that was not found.
2016-07-24 00:09:48 -06:00
FusionPBX
fda0e722b4
Update conference.conf.lua
...
Add conference controls to the xml handler.
2016-07-17 15:42:14 -06:00
FusionPBX
338936c906
Update conference.conf.lua
...
Conference profile parameters are now working from the database.
2016-07-17 01:15:35 -06:00
Alexey Melnichuk
9da40dc7b1
Fix. Fusion set rate=48000 to all streams. ( #1746 )
2016-07-12 08:09:54 -06:00
FusionPBX
1a76484b5f
Update local_stream.conf.lua
...
Set a default rate for chime list if one is not provided.
2016-07-06 16:27:22 -06:00
FusionPBX
2b9311031d
Update local_stream.conf.lua
...
Add a more generic query to make this code compatible with MySQL/Mariadb.
2016-06-30 10:03:32 -06:00
FusionPBX
3ca2b832ca
Update local_stream.conf.lua
...
Changes to the conditions that build the name to make sure it builds it correctly.
2016-06-30 01:40:48 -06:00
FusionPBX
4bbf0983bf
Update local_stream.conf.lua
...
Use the name/rate for global music on hold or domain_name/name/rate for local. If configuring as a default leave the /rate off the end of the string.
2016-06-30 01:18:17 -06:00
FusionPBX
05ff231f9a
Update local_stream.conf.lua
...
Remove the default stream will handle it another way.
2016-06-29 17:19:21 -06:00
FusionPBX
d884a18cc0
Update local_stream.conf.lua
...
Use UUID for the name of the stream. Add a default to handle systems using default.
2016-06-29 16:25:17 -06:00
FusionPBX
0354e137ea
Update local_stream.conf.lua
...
Check if row.music_on_hold_timer_name is empty.
2016-06-28 12:24:31 -06:00
Alexey Melnichuk
873c7ad0a2
Change. remove CC configuration dependencies from mod_commands. ( #1711 )
2016-06-27 07:52:29 -06:00
FusionPBX
c3463392eb
Update ivr.conf.lua
...
If the IVR Menu recordings are base64 don't update the path.
2016-06-24 18:40:14 -06:00
markjcrane
4757123d4b
Get the settings.recordings.storage_type for the ivr menu using xml handler.
2016-06-24 14:55:16 -06:00
FusionPBX
23fb7118a6
Update local_stream.conf.lua
...
Music on hold set the default timer name to 'soft'.
2016-06-23 16:42:12 -06:00
markjcrane
af0c7cfe6a
Uncomment two lines to restore the debug check.
2016-06-23 15:46:59 -06:00
markjcrane
f9d191c520
Add full path to the music on hold chime list.
2016-06-23 15:29:14 -06:00
markjcrane
8e8454ff19
Update music_on_hold_timer to timer_name.
2016-06-23 13:35:53 -06:00
markjcrane
07c038308f
Correct the variable name.
2016-06-13 19:06:59 -06:00
markjcrane
2e0de74055
Replace the variable with the path to the sounds directory.
2016-06-13 19:04:23 -06:00
markjcrane
787502ea48
Rename local_stream.lua to local_stream.conf.lua.
2016-06-13 18:50:41 -06:00
markjcrane
366bf5fbea
Add local_stream.lua to xml_handler.
2016-06-13 18:30:32 -06:00
Alexey Melnichuk
6df1dae2a9
Fix. Use correct database for Call Center while FS load. ( #1597 )
...
Problem that `mod_commands` may load after than `mod_callcenter` and there no function `global_getvar`
So current code just create database with name `INVALID COMMAND!.db`.
2016-05-13 08:03:48 -06:00
markjcrane
4ac03a8d1a
Add a missing permission on backup.
2016-04-04 19:51:22 -06:00
markjcrane
11f4fea479
Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated.
2016-04-02 08:32:43 -06:00
markjcrane
5f5ae59c41
Remove the the condition on the direct dial.
2016-03-29 20:57:47 -06:00
markjcrane
abef8c5d3c
A global domain is optional. Using public context instead.
2016-03-27 04:46:01 -06:00
schraegervogel
39754a505e
initialize call_context
...
If you use xml_locate dialplan from fs_cli, you get an error, to prevent this I intialized call_context with the "domain"-var
2016-03-25 17:28:10 +01:00
FusionPBX
c5e804cb3c
Update acl.conf.lua
...
Change expire acl.conf to acl_conf
2016-03-25 01:00:43 -06:00
markjcrane
66e01ef9dc
Change to the new context require renaming two variables to be consistent and to prevent a problem.
2016-03-24 23:08:23 -06:00
markjcrane
785071cde6
In the IVR Menu make sure direct dial checks if the destination is an extension before sending the call to it.
2016-03-23 12:49:32 -06:00
markjcrane
8a0331925a
Fix a spelling mistake in xml handler ivr.conf.lua.
2016-03-20 00:49:21 -06:00
markjcrane
57e212ff42
Fix direct dial for IVR using the xml handler.
2016-03-19 18:13:49 -06:00
markjcrane
ed2898aa33
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-11 14:21:28 -07:00
markjcrane
8588a4caea
Get the domain_name from the array.
2016-03-11 14:21:08 -07:00
mafoo
b7555579bf
WhitespaceClean-resources/install/scripts
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:21:52 +00:00
markjcrane
11c2176a15
The last two changes to xml handler dialplan.lua did not work well with global dialplans. Removed some of the changes to fix the regression.
2016-03-11 00:58:52 -07:00
markjcrane
56c3bde940
Use a more efficient way to get the domain name for xml handler - dialplan.
2016-03-10 08:18:46 -07:00
markjcrane
39b38738d8
Increase efficiency xml handler section dialplan.
2016-03-09 13:09:25 -07:00
markjcrane
47ea47710c
Fix the phrases_dir if statement. If the phrases_dir is not null then need to include xml from the file system.
2016-03-07 10:30:29 -07:00
markjcrane
010a237c09
Handle the phrases_dir nil in a more flexible way.
2016-03-04 15:51:10 -07:00
markjcrane
7cbb32dcd3
Ensure the phrases_dir is not nil.
2016-03-04 15:08:58 -07:00
markjcrane
fb8046accb
Prevent a nil error for xml handler languages.
2016-03-04 12:35:37 -07:00
markjcrane
de53ae149e
Fix a spelling mistake in the log message in dialplan.lua.
2016-02-22 13:17:04 -07:00
Alexey Melnichuk
48b3aa2917
Add. debug message to log.
2016-02-02 19:32:27 +03:00
Alexey Melnichuk
057d487ee7
Fix. Do not build context if there error.
2016-02-02 19:08:19 +03:00
FusionPBX
012655ab23
Merge pull request #1415 from mafoo/Enhance-ringback
...
Enhance ringback
2016-01-29 07:24:14 -07:00
mafoo
02566294cb
converted callcenter to use common function
2016-01-29 11:26:21 +00:00
markjcrane
495bafd3f5
Remove the recordings_dir with automatic domain_name and add domain_name in a few places where it was missing.
2016-01-25 16:53:09 -07:00
markjcrane
7d375d05de
Add recording file handling to the ivr xml handler.
2016-01-25 16:32:27 -07:00
Matthew Vale
0111fff25b
BugFixes in languages.lua
...
removed extra ;'s
fix file_handle:close to be inside the if null check
2016-01-15 10:35:19 +00:00
markjcrane
2a04a88b69
Add dsn_callcenter and improve the indentation.
2016-01-12 01:48:11 -07:00
markjcrane
b9eae2a150
Another adjustment to the xml.
2016-01-04 19:33:02 -07:00
markjcrane
8ee96d3136
A few more xml adjustments for the IVR Menu and add a desription attribute for each IVR option.
2016-01-04 19:29:39 -07:00
markjcrane
23460f69c5
Fix a small bug with the ivr.
2016-01-04 19:19:39 -07:00
markjcrane
7885323d37
Update the ivr menu to use memcache with the uuid as part of the key.
2016-01-04 19:09:29 -07:00
markjcrane
499c3c8928
Continue work to make IVR menu work from XML handler.
2016-01-04 19:05:31 -07:00
markjcrane
8d604061f5
Rename ivr.lua to ivr.conf.lua.
2016-01-04 19:03:28 -07:00
markjcrane
aac6d4ff96
Using phrase uuid instead of the phrase name reason is this prevents the phrase from breaking when the phrase name is changed.
2016-01-04 17:16:14 -07:00
markjcrane
8c52b1167f
Change lang_path to phrases_dir in languages.lua.
2016-01-03 00:42:40 -07:00
FusionPBX
e060e53783
Merge pull request #1341 from moteus/directory_acl_directory
...
Fix. Generate XML for mod_directory.
2015-12-22 20:54:25 -07:00
Alexey Melnichuk
639426f1d2
Fix. Remove unused code.
2015-12-22 17:19:14 +03:00
markjcrane
56499a6cc3
Fix the ring back on the XML handler -> callcenter.conf.lua.
2015-12-21 23:31:46 -07:00
Alexey Melnichuk
d1c07df479
Fix. Generate XML for mod_directory.
...
Fix. Generate XML for ACL only for ext which contain `cidr` attr.
Fix. Do not generate entire XML with all ext when sofia request gateways
2015-12-21 17:17:06 +03:00
markjcrane
80d0a7bdc4
Add all domain users to XML handler.directory.domain.
2015-12-20 01:01:52 -07:00
Karolis Pabijanskas
03f5396e56
This pull requests fixes XML Handler support for 'date-time' time codition. With this, date-time gets rendered as:
...
<condition date-time="2015-12-15 15:00~2015-12-16 15:00">
Without this, the time condition WOULD get redered as:
<condition field="date-time" expression="2015-12-15 15:00~2015-12-16 15:00">
which is incorrect and would always match false in FreeSWITCH.
FreeSWITCH docs for this are here: https://freeswitch.org/confluence/display/FREESWITCH/Time+of+Day+and+Holiday+Routing#TimeofDayandHolidayRouting-Variables
All other time condition variables documented seem to be included in FusionPBX'es XML Handler.
2015-12-15 16:31:27 +00:00
blackc2004
b64a94fdc6
Update directory.lua
2015-12-09 14:03:17 -08:00
markjcrane
e0ff445922
Rename the config.php file and a few minor adjustments to install_fusionpbx.
2015-11-27 19:03:25 -07:00
Matthew Vale
b073d792d5
fix to use phrases_dir
...
changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths
2015-11-03 11:16:05 +00:00
Matthew Vale
35762486e1
reverted so branch is consistent for patch
2015-11-02 17:32:43 +00:00
Matthew Vale
fee216cc13
changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths
2015-11-02 09:53:42 +00:00
Matthew Vale
8793159dad
Fix. use settings for the phrases path rather than assuming
2015-10-30 16:16:56 +00:00
blackc2004
f8388cc8f4
Update directory.lua
2015-10-29 12:26:06 -07:00
markjcrane
33897a3abd
Change xml handler load balancing to xml_handler/resources/scripts/directory/directory.lua["fs_path"]
2015-10-08 11:03:48 -07:00
markjcrane
a3d64af450
Move the xml handler expire and debug settings to config.lua.
2015-10-08 08:34:35 -07:00
markjcrane
c2a4b78b79
Fix Gateways and SIP profiles for single tenant systems.
2015-10-06 19:28:57 -07:00
markjcrane
c0d758be86
Add h hostname to option for the gateways.
2015-10-04 01:29:03 -06:00
FusionPBX
9e0c8cffd9
Merge pull request #1149 from moteus/cache_class
...
Add Log and Cache classes
2015-09-14 10:27:47 -06:00
markjcrane
c21657cc7f
Change the directory.lua xml parameter from sip_force_contact to sip-force-contact.
2015-09-11 14:04:38 -06:00
Alexey Melnichuk
528d04b942
Add. Basic log class.
2015-09-09 10:45:49 +04:00
Alexey Melnichuk
4cb99be806
Add. Basic cache class
...
Fix. When memcache stopped and mod_memcache loaded dialplan did not build from DB.
2015-09-09 10:22:14 +04:00
markjcrane
765d34668c
Restore sip_from_user and 2 lines for continue to directory.lua.
2015-09-04 02:52:14 -06:00
markjcrane
30b6c8990c
Restore directory.lua - this fixes load balancing as taught in the FusionPBX Advanced Class.
2015-09-04 02:38:17 -06:00
markjcrane
a49bd861ca
Change directory hostname to switchname which is a little more flexible.
2015-08-22 23:25:27 -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
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
09c4dd79d0
Remove hostname on the acl memcache variable name.
2015-08-13 19:49:09 -06:00
markjcrane
47c8fb090d
Add expire["acl.conf"] = "3600";
2015-08-12 23:31:21 -06:00
markjcrane
b44cacd07a
Add acl.conf.lua to the xml handler.
2015-08-12 23:21:10 -06:00
FusionPBX
81003e35d8
Merge pull request #1018 from moteus/number_alias_as_vm_id
...
Change. Use number_alias as voicemail_id.
2015-08-11 20:43:20 -06:00
markjcrane
42d9548fac
XML Handler - directory.lua change ext to username.
2015-08-11 20:36:01 -06:00
FusionPBX
c117b071e6
Merge pull request #1080 from moteus/dial_number_alias
...
Fix. Use number_alias in dial-string.
2015-08-11 20:31:42 -06:00
FusionPBX
9087c09182
Merge pull request #1081 from moteus/number_alias_as_caller_id
...
Fix. Use number-alias as caller_id_number variable.
2015-08-11 20:30:19 -06:00