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
16 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
16 years ago
Peter Lemenkov
a04847ae6f
Actually fix a small typo
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1906 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 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
16 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
16 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
16 years ago
Stefan Sayer
0c62419be7
don't break compilation if buffer length is not defined
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1902 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
f7b0875fff
make short/truncated debug messages default (performance)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1901 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
37e35c7ea7
optionally compile with long debug messages. don't print messages twice when sending
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1900 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
63815b0efe
fix compilation warning ( ;) )
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1898 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 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
16 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
16 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
16 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
16 years ago
Raphael Coeffic
9fcb7be156
- sessions are now terminated if no 200-ACK is received until timer H expires.
...
- an event handler has been added to notify the app about missing non-200 ACK.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1893 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
b5ad48ad05
- this was missing in the last version.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1892 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
036a24b537
example for tee conf
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1888 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 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
16 years ago
Raphael Coeffic
25afe474bc
- removed onSipEvent (not used anywhere...)
...
- simplified the SIP event handling code in AmSession.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1886 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
22001be29a
- re-fix for macosx ;-) (see r1875)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1885 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
384a0864b9
fix: added missing brackets for contact header generation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1883 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
c1dbf08fea
reindent
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1882 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
c851198217
some safety checking
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1881 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
ed96f3db8d
support public_ip for contact
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1880 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
425648e5be
per default, put
...
1. not the complete function signature in the log
2. the location (PID/TID/file/line...) at the beginning
see 1 -DLOG_PRETTY_FUNCTION and 2 -DLOG_LOC_DATA_ATEND in Makefile.defs
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1879 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
Ondrej Martine
2ee9a90417
* use the standard getopt() to parse command-line options
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1877 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
7cae214d9c
- small enhancements and clean-ups for the SIP stack (work in progress...).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1876 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
4a332caf8a
- fixes compilation on macosx.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1875 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Ondrej Martine
ccec6fe36c
* command-line parsing
...
- options now properly override configuration settings
- fix arguments checking and cleanup error messages
- "-D" accepts string level (eg, "info"), etc.
[ ...prepare for switching to getopt soon... ]
* signal handling and more gracious shutdown procedure
- fix possible race condition in the signal handler (eg, static
AmMutex and AmCondition)
- dispose instances synchronously in main() instead of in
the signal handler
- replace multiple "exit()"s by a single exit point
- remove PID file on failure exit
* add possibility to disable daemon mode at compile-time (see
DISABLE_DAEMON_MODE macro)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1872 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 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
16 years ago
Ondrej Martine
3a28ee48a5
* change the format of messages for stderr and syslog (eg, debugging
...
info goes after the message)
* add thread ID to the logging facility API
* on linux, use gettid() syscall instead of pthread_self() for
thread ID
* convert syslog logging to a logging facility
* add possibility to disable syslog at compile-time (see
DISABLE_SYSLOG_LOG macro)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1870 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Ondrej Martine
c7df7e63fb
* add possibility to stop the new SIP controller
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1869 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Ondrej Martine
9f0a92f210
* add proper destruction of plugins (all instances are now destructed in AmPlugIn::dispose())
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1868 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 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
16 years ago
Stefan Sayer
155e4af0ec
missing algorithm header for find
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1866 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
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
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
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
Raphael Coeffic
350ef3ca64
- fixes support for strict router.
...
- some cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1861 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
b627feec06
another mode for the AmAudioQueue where it doesn't own the entries in it
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1858 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
7da9be991b
- do not relay 100 replies (100 is hop-by-hop).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1857 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 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
16 years ago
Raphael Coeffic
f198235dfa
- corrected typo.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1855 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago