Stefan Sayer
5026ab7f50
DSM: support variables in range, e.g. range($myvar)
...
Example:
set($a=0);
set($b=-5);
for ($x in range($a, $b)) {
log(1, $x);
};
15 years ago
Stefan Sayer
26db3fae33
DSM: implement for ($x in range(2, 5))
...
Development sponsored by TelTech Systems Inc.
15 years ago
Stefan Sayer
d90e76a7d3
DSM: "for (x in array)" and "for (k,v in struct)"
...
Development sponsored by TelTech Systems Inc.
15 years ago
Stefan Sayer
3b67569f69
reindent
15 years ago
Matthew Williams
be62fe1ca5
implementation of functions in DSM
15 years ago
Matthew Williams
f4b8287436
initial support for if blocks (no else)
15 years ago
Stefan Sayer
aee8585091
DSM: adds onBeforeDestroy event handler to modules
15 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Stefan Sayer
d9aaac69f6
DSM: support $var in jumpFSM($var)/callFSM($var)
...
support $var or @select or #param in jumpFSM/callFSM
16 years ago
Stefan Sayer
40af0d1777
DSM: add system DSMs, DSMs unrelated to calls
16 years ago
Stefan Sayer
21265b0fc3
DSM: pass DSMSession along & save a dynamic_cast
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
ccdbae75ed
make varPrintArg usable from modules
...
varPrintArg() prints an AmArg variable into var (string) array,
useful for modules
16 years ago
Stefan Sayer
b9176c56d0
- event params made writable with set() and sets(); used to return value from event processing
...
- raw SIP request processing from within DSM script (use enable_request_events/enable_reply_events)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1926 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
22ba41b066
for outgoing calls, ringing/early/failed events.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1864 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
03bf1e1b15
json-rpc v2.0 module.
...
transport over netstrings/tcp. still experimental.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1826 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
2bc644353d
updated core module with exceptions instead of errno
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1561 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
5352e9abb7
DSM exceptions. SEMS-59.
...
actions and conditions should be able to throw exceptions. if an exceptions happens, execution of the current actions is interrupted, and special exception transitions are executed.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1554 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
3e1065a504
B2BUA functions for DSM. See dsm_syntax.txt for the functions.
...
This work was kindly sponsored by Teltech Systems Inc.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1323 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
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
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