Victor Seva
7acd837c73
MT#12937 fix tests after 9a28c0496c
...
Change-Id: Id5ca0f6c458bd2e3bd48fcea749977509a9a85fd
(cherry picked from commit b8832fd77a
)
10 years ago
Victor Seva
2995aa207f
MT#16773 dlgcnt: don't allow negative counters by default
...
- controled by allow_negative config
- add unit test for zero, and negative decr
Change-Id: I2396f1640759f1b9741f0e40ce9505306bd3d27d
(cherry picked from commit 15163bb6b3
)
10 years ago
Victor Seva
8df5623184
MT#15389 $dlg_var support
...
Change-Id: I7408a639ee63e055c8030acdff9cf926c01fa2cb
(cherry picked from commit cf064365b6
)
10 years ago
Victor Seva
f89043bc80
MT#12937 fix c1c423688e
order by id when selecting user preferences
...
sql result is inserted in a xavp so we need to do it
backwards in order to get the proper order
Change-Id: Ibd61b2fe723cbe2e6e889d8451544cb3d849f306
(cherry picked from commit 9a28c0496c
)
10 years ago
Victor Seva
7a6a56278e
MT#12025 fix dlgcnt test
...
Change-Id: Ibfa6873c7fcd8d716925002238d5a0a139e0dc58
(cherry picked from commit 6b86ab977a
)
10 years ago
Victor Seva
d12267b1c2
MT#12025 move NGCPConfig to new config.lua file
...
Change-Id: I5ce296dd8cd77317b642e0b5988487bf8922d3b3
(cherry picked from commit 9afb7095d7
)
10 years ago
Victor Seva
44a1342c1e
MT#12937 order by id when selecting user preferences
...
Change-Id: Id754cee5e208f570bd0f8f93ca485c6a6751b47d
(cherry picked from commit c1c423688e
)
10 years ago
Victor Seva
7751ee635a
fix xavp test
...
Change-Id: Ib6722a27423b091881e8199aad79c3e0eeeb5f60
(cherry picked from commit 484aed28b0
)
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
...
Don't close the connection, just the cursor.
We may need a ping function to test the connection.
https://github.com/keplerproject/luasql/pull/12
11 years ago
Victor Seva
3a60d1b574
MT#8243 add NGCPDlgCounters class.
...
TODO: tests doesn't play nice with redis mocks. Not activated.
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.
11 years ago
Andreas Granig
2aafd9de0f
MT#7471 Try to fix mysterious test.
11 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.
...
default dict has only peer, dom and usr keys.
You should check for a default on real level always. It is always
created even if you load only dom prefs.
12 years ago
Victor Seva
0abf856f7d
Remove creation of avps. Fix default creation.
12 years ago
Victor Seva
281c8e460e
fix ngcp test
12 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.
...
Add _str_var and __tostring functions to be able to test the results.
(cherry picked from commit 1fdf196a30
)
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
...
- use default to keep the vars/prefs defaults
NGCP: Added avp vars. Create the avp vars on load. Clean avp vars.
13 years ago