Stefan Sayer
8e238656c3
b/f:DSM: fix var names on vars passed to DSM with dlg.dialout
15 years ago
Raphael Coeffic
7545eb11f0
b/f: several minor bugs in session creation.
...
- the session pointer should not be touched after the session has been started (could be immediately destroyed).
- return 481 on CANCEL if the transaction cannot be found.
- reply properly with 482 if the UAS dialog already exists.
15 years ago
Stefan Sayer
5a4b38b5ad
fix small compilation warning (ptrdiff_t as %zd)
15 years ago
Stefan Sayer
f9439a1dd4
dsm: adds utils.playRingTone() function
...
development of this sponsored by TelTech Systems Inc.
15 years ago
Stefan Sayer
73dc076d84
fix the proper type (int)
15 years ago
Stefan Sayer
870f6e10a7
more int2str type correctness fixing
15 years ago
Stefan Sayer
123de09868
fix more size_t->unsigned casting for int2str
15 years ago
Stefan Sayer
63d5b66d31
DSM: sys.getTimestamp() and sys.subTimestamp()
...
development of this was sponsored by TelTech Systems Inc
15 years ago
Stefan Sayer
cad6589d67
DSM: groups module
...
Development of this module was sponsored by TelTech Systems Inc.
The groups module implements a group event broadcast system. DSM calls can
join and leave groups, and post events to groups. Events are passed to all
members of the group that the event is posted to. Events can, just like the
`postEvent` function of DSM, contain either some variables, or all variables.
If a call ends, it is automatically removed from all groups it belongs to.
Actions:
groups.join(groupname) - Join a group
groups.leave(groupname) - Leave a group
groups.leaveAll() - Leave all groups
groups.postEvent(groupname, var1;var2) - post event to groupname with var1 and var2
groups.postEvent(groupname, var) - post event to groupname with all variables
15 years ago
Stefan Sayer
0159ea10c1
make only mod_* mod dirs
15 years ago
Stefan Sayer
a66e057cd1
handle relayed INVITE in core (AmB2BSession)
15 years ago
Stefan Sayer
014a26b268
no -Xlinker and --export-dynamic on solaris, too
16 years ago
debian
5ede8b48c2
deb: added mod_mysql, removed mod_py from sems pkg
16 years ago
Stefan Sayer
c626e300fe
removed unnecessary link dep on libutil
16 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Stefan Sayer
feb02617f4
DSM: utils.splitStringCR splits string on \n
...
example:
sys.popen($myresult="/bin/ls wav/*");
utils.splitStringCR($myresult);
16 years ago
Stefan Sayer
042b073780
DSM: sys.popen function to exec external program
...
example:
sys.popen($myresult="/bin/ls wav/*");
logVars(2);
16 years ago
Stefan Sayer
a8de04af62
moved DSM module docs to doc directory
16 years ago
Stefan Sayer
7975aadde0
DSM: corrected mod_mysql doc
16 years ago
Stefan Sayer
2beab8586f
DSM: mod_dlg: doc bits about vars for dialout
16 years ago
Stefan Sayer
15f1a72646
DSM: mod_dlg: dialout headers \\r\\n -> \r\n
16 years ago
Stefan Sayer
21265b0fc3
DSM: pass DSMSession along & save a dynamic_cast
16 years ago
Stefan Sayer
c824834873
documentation for playMixIn
16 years ago
Stefan Sayer
8244ab3ac3
prettier log
16 years ago
Stefan Sayer
fd05720942
utils.int action - get integer part of float
16 years ago
Stefan Sayer
77853863ab
getHeader:support content spanning multipe headers
...
Patch by Robert Szokovacs
16 years ago
Stefan Sayer
9f88d0088d
dsm mod_conference: MixIn for mixing in files
16 years ago
Raphael Coeffic
0d26de833e
added a place holder for dsm's lib directory.
...
added compiled python files on the ignore list.
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
Raphael Coeffic
b6c310ca5e
SEMS plug-in config files are now installed into $(cfg-target) instead of $(cfg-target)etc.
...
This means that all the config files are now in the same directory (by default: /etc/sems).
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1899 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
1c2661f405
teejoin/teeleave actions - feed input audio (speak) to a second conference channel, additionally to playlist one
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1884 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
8237f5e515
adapted to new core logging API
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1878 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
557449f53e
add and sub actions
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1865 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
87494ffa45
pass variables to other DSM call for dlg.dialout()
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1863 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
1695507989
- some more small fixes.
...
- added cseq checking.
- added pending INVITE checking.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1841 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
16413a8019
dialout function
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1814 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
07da33457c
removed redundant code
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1809 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
c6d9ae3bbf
create RTP stream (AmSession::rtp_str) only if really needed
...
replace AmSession::rtp_str with AmSession::RTPStream() in your app.
for example for pure signaling B2B calls, no RTP stream instance is
created, which saves a lot of memory (especially because of
the RTP receive buffer)
ref r30371 r30372
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1784 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
b3a1c15608
Fix for newest GCC (>=4.4.3).
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1764 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
a0dfd71af5
- splits the exclude_modules in three variables (exclude_core_module, exclude_apps_modules,exclude_dsm_modules).
...
- exclude_dsm_modules is set in apps/dsm/mods/Makefile, the two others are set in Makefile.defs.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1741 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
9695cdd7e7
- fixes issues related to exclude_modules
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1709 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
e026dd6ced
alternative to exp10 not using gnu extension
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1697 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
d1719302ab
fixed _XOPEN_SOURCE redefined compiler warnings by changing include order (Python.h as first one)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1668 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
101d7f9f97
added a session.select(name) function to access select of a session.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1653 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
72104eb470
documented the connect_session
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1615 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
99bf302a37
nicer debug message
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1611 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
f89e1d5d67
removed mem leak
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1586 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
b29061dad6
Fix for building with the latest glibc
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1584 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
56a6db50e6
mod_sys disabled temporarily (doesn't build with gcc4.4)
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1579 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 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
16 years ago