Commit Graph

225 Commits

Author SHA1 Message Date
Alexey Melnichuk 9b6e1e8df3 Fix. group_call pass params to query (#2227) 2016-12-02 17:29:42 -07:00
Alexey Melnichuk 7f8173f4ad Add. Use params in group_call.lua (#2158) 2016-11-23 02:00:44 -07:00
Alexey Melnichuk be35f689c3 xml handler use sql params (#2109)
* Add. Use parameters in all xml_handler configuration files.

* Add. Use dialplan, domains and languages params

* Fix. load correct database module

* Fix. Pass params in dialplan query

* Fix. Load correct database class.
2016-11-21 13:53:47 -07:00
FusionPBX 36c649f2a9 Update directory.lua 2016-11-18 10:40:07 -07:00
Alexey Melnichuk c36cbe2771 Add. user parameters to build query for mod_directory. (#2091) 2016-11-18 10:37:16 -07:00
FusionPBX 5e4a9eec11 Update directory.lua 2016-11-18 10:35:07 -07:00
FusionPBX 4f6b63703a Update group_call.lua 2016-11-18 10:24:07 -07:00
Alexey Melnichuk 3440b8a15a Add. Use parameters in group_call.lua (#2093) 2016-11-18 10:22:33 -07:00
Alexey Melnichuk 1dc5a22f9a Add. Use parameters in reverse-auth-lookup.lua (#2094) 2016-11-18 10:21:53 -07:00
Alexey Melnichuk 20569d5838 Add. Use parameters for acl.lua (#2095) 2016-11-18 10:21:00 -07:00
FusionPBX 923f5eee67 Update directory.lua 2016-11-18 09:58:53 -07:00
Alexey Melnichuk 84cb98f442 Xml handler directory sql escape (#2088)
* Add. Extend database API to support parameters.

* Change. Use new Database API in `xml_handler::directory.lua`
2016-11-17 11:42:42 -07:00
Alexey Melnichuk c30eb90839 Add. Support number_alias field as presence id in follow me/call forward (#2075) 2016-11-17 11:40:22 -07:00
FusionPBX 8c4b703213 Update ivr.conf.lua
Use ${default_language}/${default_dialect}/${default_voice} instead as it will work better when the IVR Menu is cached.
2016-11-14 12:08:48 -07:00
FusionPBX 8920bddc5b Update ivr.conf.lua
Fix multi-lingual support for IVR Menu direct dial your call is being transferred and invalid entry.
2016-11-14 11:45:50 -07:00
FusionPBX bb961276c3 Update ivr.conf.lua
Move direct dial after the options.
2016-10-25 10:04:29 -06:00
FusionPBX 4ecf0f95b0 Update directory.lua
Re-add force_ping to directory.lua.
2016-10-23 12:55:39 -06:00
FusionPBX b807c7e15f Update directory.lua
moteus changes to directory.lua in pull request 1129.
2016-10-23 12:46:35 -06:00
FusionPBX 4bb2669555 Update ivr.conf.lua
Fix IVR Menu greet short.
2016-10-16 01:07:17 -06:00
FusionPBX b7d58c945c Update dialplan.lua
Use the new pre-generated xml for the xml handler.
2016-09-29 18:00:46 -06:00
Luis Daniel Lucio Quiroz 0af9e3d794 Look further for domain_name (#1955)
Same rationale as 4.0
2016-09-28 17:56:53 -06:00
Alexey Melnichuk 09f2d8fa43 Allow use odbc to store files (record/voicemail) in database. (#1535)
* Change. Allow use odbc to store files (record/voicemail) in database.

* Fix. Generate correct default config.
2016-09-04 13:05:47 -06:00
FusionPBX 6425664e24 Update dialplan.lua
Add  inline="true" to domain_uuid and domain_name.
2016-08-25 09:09:52 -06:00
nostikj 3c9d6dff09 Corrects some cases where dialplan conditions were not fully handled (#1850)
* Remove unsed variable

* Fix cases where time condition are lost

When processing a new condition statement and condition_tag_status == "open",
then there has been a previous condition statement that is in one of three
possible states:
  (1) a previous condition of type default has been saved into the
      'condition' string and will need to be output as XML with either '>' or '/>'
  (2) one or more time conditions have been saved into the
      'condition_attribute' string.  More time conditions may be added.
      After the last time condition it will need to be output as XML with either '>' or '/>'
  (3) a previous <condition ....> start tag has already been output as XML
      and needs to be closed with a </condition> statement.

The change here checks for all three above situations at the places where
pending condition statements need to be finalized.

Note that when processing condition new statements and we are finalizing
a previous time condition, the XML statement uses the 'condition_break'
value from the previous loop, therefore setting condition_break for the
new condition must be after previous conditions are finalized.

At the start of each new extension, initialize 'condition' and
'condition_attribute'.

* Remove unused variables

* Indent one block to match surrounding code at same level

* Prevent two dialplans uuids being merged into single extension

If a dialplan manager entry ended with an action statement NOT inside
a condition, the generated XML would combine this dialplan uuid with the next
uuid by not closing and reopening a new extension.  This change ensures
each dialplan uuid is enclosed in it own <extension></extension>.
2016-08-25 08:50:54 -06:00
markjcrane eea8dc195e Update bind digit action and set call_direction to inline=true 2016-08-20 22:07:35 -06:00
FusionPBX df8b71735e Update directory.lua 2016-08-15 21:50:44 -06:00
FusionPBX 161666297a Update ivr.conf.lua
Add direct dial message to the IVR Menu so that it states  'your call is being transferred' or 'that was an invalid entry'.
2016-08-14 10:26:32 -06:00
FusionPBX 1e5870802e Update ivr.conf.lua
Since we are checking the direct dial for user_exists we can allow more up to 11 digits by default.
2016-08-13 20:04:23 -06:00
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