Stefan Sayer
e4ef548166
even more more size_t->unsigned casting
15 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Stefan Sayer
6acd834aa6
Session Timer support for DSM
...
configurable in dsm.conf, by default off
16 years ago
Stefan Sayer
a3292d8b68
DSM: support for #include "script.dsm"
16 years ago
Stefan Sayer
e6ef3d9de0
DSM: fix debug message for outgoing call
16 years ago
Stefan Sayer
2d04ce9f44
DSM: mon_select fallback debug level INFO -> DBG
16 years ago
Stefan Sayer
6a908c1bdb
DSM: fix debug print size_t
16 years ago
Stefan Sayer
2e6cdd78d4
DSM: new monitor_select_filters, from P-App-Param
...
when searching call records from monitoring for new calls,
AVP names set in monitor_select_filters may be used to filter
call records, additionally to caller/callee filters
16 years ago
Stefan Sayer
4338e3cf7d
DSM: createSystemDSM action; DI cmd renamed
16 years ago
Stefan Sayer
40af0d1777
DSM: add system DSMs, DSMs unrelated to calls
16 years ago
Stefan Sayer
1fd9c544f6
rough consistency check for DSMs after loading
...
- check for initial state
- check for existence of destination states
- check whether hangup is handled in all states
16 years ago
Stefan Sayer
77853863ab
getHeader:support content spanning multipe headers
...
Patch by Robert Szokovacs
16 years ago
Stefan Sayer
5f741b7cc5
dont bail out if configs dir not present
16 years ago
Peter Lemenkov
f99f9cc9a4
There is no MonSelectFallback if we compile w/o USE_MONITORING, so
...
we can't use macro FALLBACK_OR_EXCEPTION here - we need to call
AmSession::Exception(...) directly.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1908 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
e1f778aea4
monitor_select_fallback : application to execute if mon_select failed (no matching record found)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1856 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
cbd04f9596
- removed small mem leak on startup
...
- removed superfluous debugging messages
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1585 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
f2a4933d22
corrected bug tracker number
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1583 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
0481ed77e0
implements DSM app configurations from conf.d dir. this make it e.g. possible to install DSM applications from separate packages
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1582 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
d85750dba2
prevent reloading existing DSM; saving old diagram collection (running calls)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1563 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
0c66ebf7c5
changed debug log with config option:
...
# print raw DSM text while loading to debug log?
# debug_raw_dsm=yes
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1553 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
612e1754fc
support for live reloading of DSM scripts, preloading of modules, registering of applications, listing DSMs
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1551 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
ee37fc1866
implements monitoring_full_stategraph / monitoring_full_transitions : all states/transitions visited by a call are saved to dsm_stategraph AVP in monitoring record for the call (SEMS-61)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1537 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
bd6ac1d716
s/DSMDialog/DSMCall/g : renamed DSMDialog to what it actually is, the call implementation of DSMSession
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1536 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
a0b6f590be
do not scare beginners with wrong message about disabling inbound/outbound calls (thanks Juha)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1421 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
8dcc889d77
some changes to allow clean shutdown
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1419 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
5781616b95
add monitor session information id to session
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1404 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
0fd75622b0
extended app selection by monitor to use from/pai and to/ruri
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1402 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
ba05c350a2
avoid extra '' for array members from printf
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1397 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
c31e24fa8f
* support variables struct for parameters to dsm sessions
...
* for incoming sessions support application selection on monitoring entry (selected by caller and callee), with variables
example:
s.log('some_id', 'caller', '5', 'callee', '35', 'app', 'my_dsm_script', 'appParams', {'some_variable':'some value', 'some array': ['entry', 'other_entry'] })
then for a call from sip:5@domain to sip:35@domain my_dsm_script is executed with variables set.
This work was kindly sponsored by Teltech Systems Inc.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1396 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
cdaa3e25d3
new core functions:
...
* getRecordLength
* getRecordDataSize
new configuration "set_param_variables" that sets parameters from P-App-Param as variables in DSM session
This work was kindly sponsored by Teltech Systems Inc.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1325 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
33fcd9eea7
- simplified and beautified modules with better looking macros:
...
DEF_TwoParAction -> DEF_ACTION_2P
CONST_TwoParAction -> CONST_ACTION_2P
-DEF_SCStrArgAction-> DEF_ACTION_1P
EXEC_ACTION_START, EXEC_ACTION_END
MATCH_CONDITION_START, MATCH_CONDITION_END
- quoting (+escaping) added to Actions' parameters
- added logVars debugging function to log all variables
- added avar AmArg array, to replace var (string) array
This work was kindly sponsored by Teltech Systems Inc.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1321 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
860943adec
adding variables to outgoing calls as struct
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1319 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
82e2017ce7
add DI API: postDSMEvent
...
Example (with direct_export=dsm;monitoring):
s.postDSMEvent(s.list()[0], [["action", "kick"]])
transition "DI xmlrpc kick event" room - eventTest(#action==kick) / stop(true) -> end;
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1308 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
bcca72498a
fixed prompts fallback
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1248 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
e44d2a100f
o $prompts.default_fallback
...
o required_prompts config
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1246 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
67c1ffed32
o 'not' operator on conditions
...
o transitions from multiple origin states
o register scripts as application
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1245 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
dfbf9816c9
o onInvite event
...
o early dialogs
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1127 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
43370354fe
o generic event (DSMEvent) posting between sessions (eventTest(), postEvent())
...
o playlist separators support (addSeparator(), separatorTest())
o errno error reporting for use in state machine (var errno)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1123 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
b05d8cfdcd
missing string to print in DBG
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1117 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
33b27c7628
- session init function for modules (onInvite)
...
- module 'preload' function (preload_mods config parameter)
- selectable prompt sets (each from their config file)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1113 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
a4969b3fe4
mass setting Id svn property
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1047 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
db569f1e5f
o install $(plug_in_name)_lib if wanted
...
o install dsm mods to dsm lib directory
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1042 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
c93ea5738f
The DonkeySM: easy application development by state machine definitions
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1039 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago