Victor Seva
be5cbde782
Add test case for test the value of force_outbound_calls_to_peer pref and caller_force_outbound_calls_to_peer
...
(cherry picked from commit 0ba8d41f45
)
12 years ago
Victor Seva
1fdf196a30
Fix log_var function.
...
Add _str_var and __tostring functions to be able to test the results.
12 years ago
Victor Seva
bf5eb95c2d
Add no_nat_sipping used on the registrar
12 years ago
Victor Seva
9a3a80834a
Added __tostring() properly to ngcp, xavp and prefs
12 years ago
Victor Seva
73ed362e73
Added ngcp.log_var function
12 years ago
Victor Seva
d3c665078a
Added ngcp.log_pref helper function
12 years ago
Victor Seva
3fb2dfda7a
callee_usr_load old vars.
12 years ago
Victor Seva
6d226d7d2d
caller_usr_load with old vars.
12 years ago
Victor Seva
cc2c08d527
callee_peer_load with old vars
12 years ago
Victor Seva
f8b0d04c3e
Added test to check clean vars on caller_peer_clean
12 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.
12 years ago
Victor Seva
4acb0d5131
Initializate dummy vars just in the creation.
...
On clear... create them.
12 years ago
Victor Seva
1a1d09fea9
Change load API.
...
Use {caller|callee}_{usr|peer}_load().
peer_load just copies peer prefs to real prefs.
12 years ago
Victor Seva
28e18d4eb1
Added group param for clean.
12 years ago
Victor Seva
ceae8b80f2
Added tests for call loders with empty values
12 years ago
Victor Seva
a3908d5456
No index
12 years ago
Victor Seva
422e50afeb
Fix clean. Test it.
12 years ago
Victor Seva
2d24a0700c
Added real prefs.
12 years ago
Victor Seva
7208736c32
Fixed getDBConnection. Added test.
12 years ago
Victor Seva
5daf6d3aeb
move utils to ngcp dir
12 years ago
Victor Seva
86ff015f82
using xavps.
...
using lemock the right way
12 years ago
Victor Seva
9b07ff8e33
- Added kam_utils test
...
- Updated kam_utils
- Added more tests to ngcp
12 years ago
Victor Seva
4f4f571709
- Added lemock library ( Debian package needed )
...
- Added Mock for kamailio sr module
- Added NGCP, NGCPPrefs, NGCPConfig, NGCPPeerPrefs and NGCPDomainPref classes.
This is just a playground to figure out how can we organize the code. WIP
12 years ago
Victor Seva
48d303bc90
fix test
12 years ago
Victor Seva
559ecef0cd
Initial test work.
...
Created initial classes.
First test.
12 years ago