Commit Graph

247 Commits

Author SHA1 Message Date
FusionPBX
f10dbb12ea Update ivr.conf.lua 2017-10-02 22:19:51 -06:00
FusionPBX
7b6189d010 Update ivr.conf.lua 2017-10-02 22:10:16 -06:00
FusionPBX
45f5273989 Update index.lua 2017-10-02 21:17:29 -06:00
Luis Daniel Lucio Quiroz
a2b5889a0f Update ivr.conf.lua (#2861)
when debug["xml_string"] is on, it will overwrite /tmp/ivr.conf.xml file each hit an ivr goes. this makes very hard to trouble shoot in a living system. this patch allows to put one ivr menu per file.
2017-09-29 16:24:59 -06:00
FusionPBX
ec6e5c85ff Update ivr.conf.lua 2017-09-26 22:40:30 -06:00
FusionPBX
ae363deaae Update dialplan.lua 2017-08-07 00:28:31 -06:00
FusionPBX
b51dfe2f13 Create translate.conf.lua 2017-06-29 12:11:39 -06:00
FusionPBX
524c614651 Update directory.lua 2017-06-17 12:19:43 -06:00
Alexey Melnichuk
76ab1cca6a Fix. Properly handle error from memcached when load configs. (#2641)
On my system mod_memcached returns `-ERR SOME ERRORS WERE REPORTED` when
memcached service not available. And sofia.conf.lua does not handle this case
and interpret this response as valid one.
Using `cache` class allows handle such errors. Also this class handle all
escaping operation which makes code more clear.
2017-06-08 09:38:28 -06:00
Alexey Melnichuk
49ab82e657 Add. Use cache class in xml_handler/directory (#2647) 2017-06-08 09:37:30 -06:00
FusionPBX
1dff786b60 Update sofia.conf.lua 2017-05-12 13:21:19 -06:00
FusionPBX
24fb954811 Update sofia.conf.lua 2017-05-12 12:36:34 -06:00
FusionPBX
340ed5142d Update directory.lua 2017-05-08 23:20:31 -06:00
FusionPBX
0715194731 Update directory.lua 2017-05-08 23:17:03 -06:00
FusionPBX
92ba5e1529 Update callcenter.conf.lua 2017-02-20 20:47:35 -07:00
FusionPBX
53fe4b87be Update sofia.conf.lua
Activate the sofia profile domain aliases.
2017-01-28 14:50:06 -07:00
FusionPBX
7f45fef615 Update sofia.conf.lua 2017-01-18 08:55:29 -07:00
FusionPBX
37161f6fc4 Update sofia.conf.lua
Fix the year.
2017-01-12 04:26:32 -07:00
FusionPBX
4e2b96b29f Update sofia.conf.lua
Fix domain alias show with sofia status.
2017-01-12 04:18:58 -07:00
FusionPBX
761a9f51f2 Update ivr.conf.lua 2016-12-29 13:35:55 -07:00
FusionPBX
0bb9de3463 Update dialplan.lua
Add hostname to dialplan xml handler.
2016-12-23 01:28:47 -07:00
FusionPBX
4ae4d63524 Update ivr.conf.lua
Fix the memcache expire on the ivr menu.
2016-12-14 08:45:56 -07:00
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