Stefan Sayer
997f08be38
supporting recursive arrays in DSM DI action
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1917 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
5873c90a89
fixed passing (array) in DI calls (thanks to Matthew Williams for the fix)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1913 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
59b4ce283b
(array) for DI parameters
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1891 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
d2abff9782
also accept : as var name delimiter
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1890 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
d44e3abaf9
sets action, set with replace parameters
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1889 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
54453a3946
setInOutPlaylist
...
releaseOwnership function in DSMSession
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1862 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
7c3775ab05
simple star matching
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1815 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
16ea2da5a9
changed expression evaluation: set() does not evaluate expressions, eval() does
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1654 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
3ec30d9ce9
adds simple evaluation of + and - arithmetic ops
...
(slightly fixed) patch by Andreas Granig agranig at sipwise
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1651 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
6d7b4de9a5
logSelects, logParams, logAll actions
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1626 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
23dc8fdfd9
allows setting headers on outgoing B2B- B leg.
...
B2B.clearHeaders()
clear the headers used for outgoing INVITE on B leg
B2B.addHeader(string header)
add a header for outgoing INVITE on B leg
B2B.setHeaders(string headers [, replace_crlf=true|false])
set headers for outgoing INVITE on B leg
replace_crlf=true for replacing \r\n with CRLF
e.g.
B2B.setHeaders("P-One: value\r\nP-Two: anothervalue", true)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1623 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
b715e74291
revised error handling:
...
- actions set $errno or throw exceptions
- throwOnError() throws exception if $errno set
- $strerror has details, in exception as #text
- documented
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1570 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 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
17 years ago
Stefan Sayer
e705c19600
removeTimer and removeTimers actions
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1510 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
2e58ba7d15
setVar function (indirection capable) due to messed up set() parameter semantics till set([]=...) available)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1407 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
8d8040164b
var(x=y) function
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1403 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
35e0ec0beb
clearer error message
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1366 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
2d4211cd1a
o function to play a file at the beginning of the playlist (interrupts current playing)
...
o optional option to place separator in front of the playlist
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1349 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
a822abd436
function to send reinvite to re-connect caller leg
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1347 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
c0a6522f6e
simplified dependencies: everything needed for a module is in DSMModule.h
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1340 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
e1a05e966f
substr function
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1339 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
45a58807af
DSM inc() operation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1334 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
e23d79e3fc
DSM action to clear a variable
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1331 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
18c90ba182
functions to enable and disable DTMF detection
...
This work was kindly sponsored by Teltech Systems Inc.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1326 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 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
18 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
18 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
18 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
18 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
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
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