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
4c5b94b998
MT#11005 add dlglist class
...
Change-Id: I1f3fe3df48c39e2aad3222431c4b518ce16094ff
11 years ago
Victor Seva
c2cb6e6896
MT#10521 dlgcnt: add exists function
...
Change-Id: Ibac4bacbe4af66b44901eeb2cd8b74211a719ff4
11 years ago
Victor Seva
d41435695a
MT#10749 dlgcnt: add check_pair_dup option and is_in_set()
...
if true it will check for duplication of keys at the list of counters used
when calling set(). Added is_in_set() to check if a key is already there
Change-Id: Ib1da91dd3cdb13c537577d8e36c1a22920112ce0
11 years ago
Victor Seva
b59bf13125
MT#10601 dlgcnt: remove central counters when it reaches to 0
...
Change-Id: I67c4339b90fe5862b41b01ca4b3d5352a11e39b4
11 years ago
Victor Seva
e6d69e0dc0
MT#9067 set message of reconnection to debug level
...
People are scared of the warning message
11 years ago
Victor Seva
555326aa09
MT#10199 remove defaults from profile. Fix empty results on profile load
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
cd32667b03
MT#9067 change warn message on reconnection
11 years ago
Victor Seva
e9be0888eb
MT#9067 NGCPConfig: check connection before
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
1ff1867560
MT#8243 add tostring() to sr.log on possible nil results
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
60e271a3cc
MT#7679 xavp:get() function
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
11e14af681
MT#7471 Fix loading contract prefs.
11 years ago
Andreas Granig
471aa9a994
MT#7471 Implement contract pref loading.
11 years ago
Victor Seva
c760b36d32
utils: add get/set methods. Can be called with [].
12 years ago
Victor Seva
9c89ae57f0
fix peer load.
12 years ago
Victor Seva
6543b279a1
Copy all values not only the first one
12 years ago
Victor Seva
12a5e3c6fb
replace uuid parameter for domain. This was confusing.
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
Andreas Granig
6888a74fcf
Migrated all AVPs to XAVPs.
12 years ago
Andreas Granig
859f8756e2
Migrate account_id to xavp.
12 years ago
Andrew Pogrebennyk
1c76d7d1a5
Drop avp prefs that have been replaced with xavp.
12 years ago
Victor Seva
cd09baef02
Fix forgotten caller_sound_set Thanks Andrew
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
08f1c3d90d
set xavp log to dbg
13 years ago
Victor Seva
9a3a80834a
Added __tostring() properly to ngcp, xavp and prefs
13 years ago
Victor Seva
6ed63ee7c7
Fix loading lua-sql-mysql on lua5.1 on squeeze
13 years ago
Victor Seva
9e1f52f495
Fix load lua-sql-mysql driver on wheezy. See ( #677739 )
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677739
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
f7fc117dfa
Fix indent
13 years ago
Victor Seva
8de567f413
Changes from master. PBX cloud
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