Stefan Sayer
05ab89d4fe
more from the ivr mem leak hunt:
...
o IvrSipRequest/IvrSipReply python objects need to destroy the underlying c++ object, if they own them (so not for dlg.invite_req, which is the original c++ object owned by the AmSession)
o IvrSipRequest/IvrSipReply python objects need to be DECREFd after calling the onSipRequest/onSipReply methods to free them
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1356 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
9128c0c7c2
missing header added, allows to build with gcc4.4. Patch by Peter Lemenkov
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1355 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
efd74d20c0
use our own destructors
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1354 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
b24387ebac
calling PyObject_VaCallMethod always with tuple (see http://mail.python.org/pipermail/python-bugs-list/2004-August/024629.html )
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1353 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
5ab8284bb6
DTMF detection improved, the timestamp of the DTMF RTP packets is considered
...
- if an RTP event with timestamps differing from the last one is received, the
event is sent out immediately
- RTP DTMF packets with the same timestamp as an already detected keypress are
ignored.
This allows to raise the value for timeout on sending out RTP DTMF event, to 5 packets
(100 or 150ms)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1352 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
cc1a0a88f4
DSM unlink sys action
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1351 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
1dbdf992a1
AmAudioFile's can now be recorded with a specified subtype, appended to the filename after a pipe ('|') character, e.g.:
...
AmAudioFile f;
f.open("/tmp/record.wav|A-Law")
The subtypes are defined in the codec modules, currently:
- for wav:
Pcm16, A-Law, Mu-Law
- for ilbc:
iLBC30, iLBC20
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1350 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
17 years ago
Stefan Sayer
46a4b146ee
spell action (like SayDigits)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1348 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
d0302f7889
DSM actions to handle files in database
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1346 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
ec7e003067
save one string copy
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1345 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
d76f254b53
save one string copy
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1344 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
43fcaeab8d
making it a little safer using references
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1343 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
27e3422d40
making it a little safer using reference
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1342 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
615218aab1
removed unnecessary stuff from the sample
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1341 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
e1a05e966f
substr function
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1339 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
218df51eff
functions to save a result set under another name, and retrieve it later
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1338 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
8423ec1a64
Module with some smaller heler functions:
...
17 years ago
Stefan Sayer
208d7a8cdc
+ function to rename a file
...
- getNewId (to utils)
This work was kindly sponsored by Teltech Systems Inc.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1336 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
c49951dec0
reenabled email_address override config, which got lost somewhere in the way
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1335 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
8a58e7d470
made that parsing error more clear
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1333 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
ec843be635
remove obsolete comment
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1332 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
c4d62279da
removed obsolete comments
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1330 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
dabd5f8297
doc for sys.mkdirRecursive
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1329 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
fe9c532c9c
function for recursive mkdir
...
This work was kindly sponsored by Teltech Systems Inc.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1328 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
f688c2a962
don't restart DSM on re-INVITE
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1327 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
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
7bfba0a07d
function to get a new GUID
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1324 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
5d6f8d41dc
mod_mysql module for simple DB use in DSM applications
...
See Readme.mod_mysqlpp.txt for details.
This work was kindly sponsored by Teltech Systems Inc.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1322 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
223deb060a
removed some obsolete notes
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1320 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
6b09fd2d50
added extra parameters to dial and dial_auth functions
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1318 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
a4a0782093
fixed order of marking finished and deleting, on failed sending of request
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1317 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
7f1ed2371d
o fixed xmlrpcvalue -> AmArg conversion:
...
- result of xmlrpc client call is now not packed into extra AmArg Array
- nested arrays and structs work as expected
o added optional logging of xmlrpc server call parameters and result
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1316 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
1d4c9017f7
synced print format to python's
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1315 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
e65a1296db
print function for AmArg to represent in debug output
...
thanks to Bogdan Pintea
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1314 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
791d861ab7
fixing memory leak in example
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1313 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
cc475671c7
example on how to combine DSM, monitoring and DI to create cool applications (READ THIS)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1312 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
4fff0f468d
monitoring support for DSM...
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1311 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
d24df84689
allowing call to log with empty var set
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1310 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
3c72b7ca48
added doc
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1309 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
8e7800f002
updated core actions and conditions
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1307 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago