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
Peter Lemenkov
58ee004421
Typo fix
...
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
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
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
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
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
17 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
17 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
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
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
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
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
9e48228636
Enable latest SEMS new features in cmake template files
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1905 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Peter Lemenkov
a36ec93cd1
One typo and few trailing whitespace cleanups
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1904 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
00bfd9b9bb
finishes what has been begun with last commit.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1903 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Raphael Coeffic
77c8179d2e
- fixes cross-compilation when the target system has a different python version as the host system.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1897 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
3791694fc1
- fixes cross-compilation when the target system has a different python version as the host system.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1896 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
83d3904c7e
- fixes cross-compilation issue.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1895 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
70b41a3677
- added implementation for new event handlers.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1894 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 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
17 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
17 years ago
Stefan Sayer
575773ff67
functions for setting only input/output to playlist
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1887 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 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
17 years ago
Ondrej Martine
d56a9fa574
* ivr_log(): use core logging API instead
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1871 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
c77e89564f
b/f: accept_early_session is on outgoing call
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1867 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 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
17 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
17 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
17 years ago
Stefan Sayer
e1f778aea4
monitor_select_fallback : application to execute if mon_select failed (no matching record found)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1856 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
f3cb6178c5
don't bail on error creating voicebox spool dir
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1845 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 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
17 years ago
Raphael Coeffic
bb662b3955
- PYTHON_LIDIR and PYTHON_DIR definitions taken from ivr module (works much better)
...
- removed generated files to achieve better compatibility with py-sip.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1838 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
2e15161203
fixed for changes in AmSipDialog, AmSipReply and AmSipRequest.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1837 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago