Victor Seva
1fdf196a30
Fix log_var function.
...
Add _str_var and __tostring functions to be able to test the results.
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
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
d3c665078a
Added ngcp.log_pref helper function
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
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
Victor Seva
1a1d09fea9
Change load API.
...
Use {caller|callee}_{usr|peer}_load().
peer_load just copies peer prefs to real prefs.
13 years ago
Victor Seva
28e18d4eb1
Added group param for clean.
13 years ago
Victor Seva
e50b421690
Fix Typo
13 years ago
Victor Seva
ae723023db
Test just test_kamailio.
...
Print info loaded.
13 years ago
Victor Seva
a3908d5456
No index
13 years ago
Victor Seva
422e50afeb
Fix clean. Test it.
13 years ago
Victor Seva
2d24a0700c
Added real prefs.
13 years ago
Victor Seva
a93fc95c37
Added log for NGCPDomainPrefs, NGCP
...
Fix lemock use on test for NGCPDomainPrefs
13 years ago
Victor Seva
7208736c32
Fixed getDBConnection. Added test.
13 years ago
Victor Seva
86ff015f82
using xavps.
...
using lemock the right way
13 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
13 years ago