Commit Graph

164 Commits (master)

Author SHA1 Message Date
Victor Seva be4a312a52 MT#16079 NGCPLoop class
10 years ago
Victor Seva 34ad538775 MT#17841 ngcp/utils.lua: implement utils.string.explode_values()
10 years ago
Andrew Pogrebennyk da71d44227 MT#17709 remove only 1st occurrence of the key from the call-id list
10 years ago
Victor Seva 51a8be0b69 MT#12025 code refactoring with luacheck help
10 years ago
Victor Seva b8832fd77a MT#12937 fix tests after 9a28c0496c
10 years ago
Victor Seva 15163bb6b3 MT#16773 dlgcnt: don't allow negative counters by default
10 years ago
Victor Seva cf064365b6 MT#15389 $dlg_var support
10 years ago
Kirill Solomko fd5d1e9c1d MT#12707 - recentcalls: add source field
10 years ago
Victor Seva 9a28c0496c MT#12937 fix c1c423688e order by id when selecting user preferences
10 years ago
Kirill Solomko 2bfe436066 MT#12707 - add recentcalls lua (store in redis)
10 years ago
Victor Seva 203896e16a .luacheckrc files for known globals
10 years ago
Victor Seva 6b86ab977a MT#12025 fix dlgcnt test
10 years ago
Victor Seva 9afb7095d7 MT#12025 move NGCPConfig to new config.lua file
10 years ago
Victor Seva c1c423688e MT#12937 order by id when selecting user preferences
10 years ago
Victor Seva 484aed28b0 fix xavp test
10 years ago
Victor Seva 555326aa09 MT#10199 remove defaults from profile. Fix empty results on profile load
11 years ago
Victor Seva 78cb22c686 MT#10199 select tap output
11 years ago
Victor Seva 3cb2ea70a9 MT#10199 add prof_preferences
11 years ago
Victor Seva 6c341f966a MT#10199 add table.merge function
11 years ago
Victor Seva 530a07f2af MT#9067 fix tests
11 years ago
Victor Seva e0d2b5b3b7 MT#9067 update tests
11 years ago
Victor Seva 6f8b67f4d5 MT#9067 use one MySQL connection only on NGCP
11 years ago
Victor Seva 3a60d1b574 MT#8243 add NGCPDlgCounters class.
11 years ago
Victor Seva 20222e73cc MT#7679 fix table.shift()
11 years ago
Victor Seva c4ab43e6b1 MT#7679 utils: add table.shift()
11 years ago
Victor Seva 2667ef50a6 MT#7679 Fix xavp:clean(key)
11 years ago
Victor Seva abf574241d MT#7679 fix mock, allow [*] at kindx
11 years ago
Victor Seva 60e271a3cc MT#7679 xavp:get() function
11 years ago
Victor Seva 16cc950d5c MT#7679 fix MockSR. default behaviour of sr.xavp.get is get all values.
11 years ago
Victor Seva e607914109 MT#7679 xavp: allow clean only a key
11 years ago
Victor Seva 65dba89ade MT#7679 avp: allow tables values in set. utils: add table.suffle() function.
11 years ago
Andreas Granig 173a85a512 MT#7471 Another test fix.
12 years ago
Andreas Granig 2aafd9de0f MT#7471 Try to fix mysterious test.
12 years ago
Victor Seva aea1c657ca mock sr: xavp seconf key is a stack.
12 years ago
Victor Seva c760b36d32 utils: add get/set methods. Can be called with [].
12 years ago
Victor Seva 6543b279a1 Copy all values not only the first one
12 years ago
Victor Seva e252a72278 I don't know why I'm saying fix. Defaults!!
12 years ago
Victor Seva 97e9453a69 Added copyright in all lua. Removed unused script.
12 years ago
Victor Seva e6439d5a18 Fixing default prefs.
12 years ago
Victor Seva 0abf856f7d Remove creation of avps. Fix default creation.
12 years ago
Victor Seva 281c8e460e fix ngcp test
13 years ago
Victor Seva 2399ca3e57 fix ngcp test
13 years ago
Victor Seva 0ba8d41f45 Add test case for test the value of force_outbound_calls_to_peer pref and caller_force_outbound_calls_to_peer
13 years ago
Victor Seva ef435a20a8 Fix log_var function.
13 years ago
Victor Seva bf5eb95c2d Add no_nat_sipping used on the registrar
13 years ago
Victor Seva 9a3a80834a Added __tostring() properly to ngcp, xavp and prefs
13 years ago
Victor Seva 73ed362e73 Added ngcp.log_var function
13 years ago
Victor Seva 6e76b4c466 Added avp.log function
13 years ago
Victor Seva d3c665078a Added ngcp.log_pref helper function
13 years ago
Victor Seva ce2de78890 Refresh new app_lua xavp api
13 years ago
Victor Seva 3fb2dfda7a callee_usr_load old vars.
13 years ago
Victor Seva 6d226d7d2d caller_usr_load with old vars.
13 years ago
Victor Seva cc2c08d527 callee_peer_load with old vars
13 years ago
Victor Seva 7a23bb3296 Added some pseudovariables to pv Mock. This is just the base part.
13 years ago
Victor Seva dd89f9aa88 Added hdr mock
13 years ago
Victor Seva f8b0d04c3e Added test to check clean vars on caller_peer_clean
13 years ago
Victor Seva c76e9aa378 NGCPConfig: Added default
13 years ago
Victor Seva b81560a634 Move ?Fetch classes to tests_v files
13 years ago
Victor Seva 6e34e31655 Added helper function to set avp from xavp.
13 years ago
Victor Seva 83deca8eff Don't load any peer pref to real.
13 years ago
Victor Seva 4acb0d5131 Initializate dummy vars just in the creation.
13 years ago
Victor Seva 1a1d09fea9 Change load API.
13 years ago
Victor Seva 28e18d4eb1 Added group param for clean.
13 years ago
Victor Seva ceae8b80f2 Added tests for call loders with empty values
13 years ago
Victor Seva 0cb72f63e7 Return empty table instead of error if load is called with empty params
13 years ago
Victor Seva 4101e6ada0 Test empty parameters on load.
13 years ago
Victor Seva a3908d5456 No index
13 years ago
Victor Seva 0b671fa994 Fix clean. Test it.
13 years ago
Victor Seva 95f48ec09c Fix copy&paste error
13 years ago
Victor Seva 422e50afeb Fix clean. Test it.
13 years ago
Victor Seva 746e5bbe2f Fix clean. Test it.
13 years ago
Victor Seva c735d1692e Fix clean. Test it.
13 years ago
Victor Seva 8557e523e2 Fix creation of dummy vars.
13 years ago
Victor Seva a84fc65879 Fix get unset without index/keys
13 years ago
Victor Seva 203374de7a Fixed is_xavp index with no key. Added test to check it.
13 years ago
Victor Seva 2d24a0700c Added real prefs.
13 years ago
Victor Seva d93e7d2a04 return keys when in load functions.
13 years ago
Victor Seva 877a7d0583 Fix behaviour on unset. Tested on real kamailio.
13 years ago
Victor Seva db2d4a6aad Added keys field to insert the keys used
13 years ago
Victor Seva f4b5526d2c Added table.add for insert non duplicate elements in a list
13 years ago
Victor Seva 06e87977fe xavp can be access without key.
13 years ago
Victor Seva c54272cca2 Remove unussed files
13 years ago
Victor Seva 78e6c3ad1f Fix avp
13 years ago
Victor Seva 718b17fc31 Fix get
13 years ago
Victor Seva 4fb417a5f6 Use new API.
13 years ago
Victor Seva 52e55ef7a0 Use new API.
13 years ago
Victor Seva 73f44636e9 Using new API.
13 years ago
Victor Seva a5f9d77b65 Mock sr reworked.
13 years ago
Victor Seva d10eb3a14b Fixed load preferences from DDBB.
13 years ago
Victor Seva 78147d6c18 Used new assertIs
13 years ago
Victor Seva b99b5803c3 Fetch is wrong. WIP
13 years ago
Victor Seva af52bc1471 Fix lemock use on NGCPUserPrefs test
13 years ago
Victor Seva 9b1aba0d66 Fix lemock use on NGCPPeerPrefs test
13 years ago
Victor Seva a93fc95c37 Added log for NGCPDomainPrefs, NGCP
13 years ago
Victor Seva 0cde0e7e15 Added log for sr.pv
13 years ago
Victor Seva 8bdb517d84 Add __tostring to Stack
13 years ago
Victor Seva c4c1c0978b Added logging.file to sr mock.
13 years ago
Victor Seva f6e772824c Added asserts to dp test
13 years ago
Victor Seva e341c26993 Fix test. Typo
13 years ago
Victor Seva 85985ea8fc Fix xavp set id with no index
13 years ago