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
Victor Seva
281c8e460e
fix ngcp test
12 years ago
Andrew Pogrebennyk
1c76d7d1a5
Drop avp prefs that have been replaced with xavp.
12 years ago
Victor Seva
2399ca3e57
fix ngcp test
13 years ago
Victor Seva
cd09baef02
Fix forgotten caller_sound_set Thanks Andrew
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
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
c0daedb190
Added dev package with tests files
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
fbfd97c680
Fix error if level is nil
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
ded5ad33b0
Renamed to lua-ngcp-kamailio
13 years ago
Victor Seva
8fe75f9300
First Debian packaging attempt
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
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
Victor Seva
b81560a634
Move ?Fetch classes to tests_v files
13 years ago
Victor Seva
6e34e31655
Added helper function to set avp from xavp.
...
Added tests
13 years ago
Victor Seva
bc2286d5d2
prefs.lua is now in templates.
13 years ago
Victor Seva
3772e54f87
fix usr load helper functions
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.
...
On clear... create them.
13 years ago
Victor Seva
d01059784c
Helper script for my pet system
13 years ago
Victor Seva
23b0c769d1
Removed kamailio templates. I'll try to use a git-svn repository to be able to work with them.
...
Renamed lua template.
13 years ago
Victor Seva
fd9f31b4da
fix typo
13 years ago
Victor Seva
b9a53fc815
Use new api
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
3de1d495dc
$avp(s:callee_peer_auth_user)
...
$avp(s:callee_peer_auth_pass)
$avp(s:callee_peer_auth_realm)
13 years ago
Victor Seva
15c999fcce
$avp(s:caller_prepaid)
...
$avp(s:callee_prepaid)
13 years ago
Victor Seva
a3d00acaeb
$avp(s:callee_ringtimeout)
13 years ago
Victor Seva
d69be58c39
$avp(s:caller_user_cli)
13 years ago
Victor Seva
fcf9893dc2
$avp(s:callee_cc)
...
$avp(s:callee_ac)
13 years ago
Victor Seva
8befab49c5
$avp(s:callee_block_in_mode)
13 years ago