Stefan Sayer
c3629d7c3f
jsonrpc extensions and fixes
...
o sendMessage DI function
to send message into open connection
O execServerFunction DI function
execute server function as if received through json-rpc
o getServerPort DI function
get the server port the json-rpc server is listening on
o notification events of connection disconnect
o various fixes in protocol handling
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
6e6162df11
sets() accept arrays, json event conditions
...
o sets() function now accepts variable names in strings, e.g.
sets($param=$(my_var)is_in_one_string;
o jsonRpcRequest and jsonRpcResponse conditions
16 years ago
Stefan Sayer
0801200e56
avoid deadlock when setting timer in timer event
...
when using user timers, new timers can now be set and current timers
removed when processing the timer event (i.e. directly in the postEvent
function - which should not be blocking for long time anyway)
16 years ago
Stefan Sayer
726ad0b393
fix UID and GID parameters processing
...
fixes a segfault when process UID or GID was configured
16 years ago
Stefan Sayer
1f61b971bb
added missing includes (seen on freebsd)
...
thanks to dmitry for reporting
16 years ago
Peter Lemenkov
58ee004421
Typo fix
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
16 years ago
Peter Lemenkov
66100476b0
Add python optimized object-files to the .gitignore
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
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
Raphael Coeffic
d35e5ec668
avoid duplicated code and debug/error messages
16 years ago
Raphael Coeffic
95fbe63be2
added sems and sems-stats binaries
16 years ago
Raphael Coeffic
e50ab10534
generate EXTRAVERSION out of 'git describe ...'
16 years ago
Raphael Coeffic
3156bee69b
added an tracked .gitignore file.
16 years ago
Stefan Sayer
938279a2c0
use original content type instead of hardcoded application/sdp
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1960 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
08a5a3bfce
Added workarounfd for weird behaviour of CMake 2.4 while handling
...
static libs.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1951 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
618ad404a2
Fix newest variables escaping strategy on new CMake
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1949 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
f697f119ec
Sync with latest sems.conf.sample
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1948 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
28306815dc
Another one template for CMake
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1946 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
7965b0bbf7
Fix MOD_NAME passing to gcc
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1944 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
86ee7d00bf
Copy+paste typo: this conf-file actually is a early_announce.conf
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1941 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
c30c021763
Typo: paramater => parameter
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1940 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
76a3a5ff5d
Sync CMake config-file templates with original ones
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1935 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
856e262864
Fix config-files installation with CMake 2.4
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1934 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
eec4c5c2d5
- make use of LDFLAGS and EXTRA_LDFLAGS for linking 'sems-stats'
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1933 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
42051b6df3
Changes the name of the directory within tar archives to include the full release version (including SVN version)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1932 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
e42c05d7ff
- updated doc to only use t_relay_to(), instead of t_write_unix() in SER config examples.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1931 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
a2e840a7b3
Changes the regular expression type from basic to extended to allow
...
for more fancy expressions like:
^sip:(999)|(echo)@=>echo
^sip:(100)|(conf)[0-9]{4}@=>conference
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1930 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
b48a60d12c
A new "simple mode" has been added to all the voicemail/voicebox
...
related module. This simple mode is aimed at very simple setup
with just standard SIP (no params required in P-App-Param...).
Please have a look at the example config files for more details.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1929 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
a4f3eb72c9
let AmArg be ArgObject (so AmArg can contain a reference to AmArg without the need to copy the whole value)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1928 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
6faf1bf3f9
decode nested request/response data of json-rpc calls into vars
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1927 8eb893ce-cfd4-0310-b710-fb5ebe64c474
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
eca4a88f55
don't destroy udp servers if not initialized
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1925 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
e7b03e1c82
json object as DI parameter
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1924 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Peter Lemenkov
d1caf0b69b
Since now, sems can be compiled with older CMake (except few modules).
...
Thus we need to lower required CMake version.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1923 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
1f6d352aec
added copyright notice for jsonxx
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1922 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
4b493484de
included jsonArg to be compiled from cmake
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1921 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
b5c0d07863
moved json<->AmArg into core
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1920 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
a18d3cb3f6
corrected (array) to (struct), added (array) in parameters to DI command
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1919 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Peter Lemenkov
b2535ebe67
Do not use SET_PROPERTY in CMake makefiles - incompatible with old CMake
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1918 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
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
17 years ago
Stefan Sayer
75be85ab79
fixed shutdown procedure:
...
- session container needs to be stopped first, with everything else still in place, so sessions can stop/send BYE
- UDP SIP transport is needed in shutdown procedure
- event dispatcher is needed until the end (may be needed to post events while destructing things)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1916 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
13f949c054
prevent factories from double deletion
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1915 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
22b498a626
added set/add aliases (more convenient and common names)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1914 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Stefan Sayer
e6c34b3ded
allow trailing comma (,) in objects, which is allowed per the spec (thanks to Matthew Williams for the fix)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1912 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
41807f1ea7
posting disconnect events if connection broken/closed
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1911 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Peter Lemenkov
f12b2c145b
More compatibility with older CMake (2.4).
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1910 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Peter Lemenkov
3f4b1724cf
The AmSession::onSipReply virtualfunction has different arity.
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1909 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Peter Lemenkov
44684bdb23
Add AmSipEvent.cpp to list of sources
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1907 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago