Stefan Sayer
51cae30c0c
add wait_for_bye_transaction config parameter, fixes auth of BYE
15 years ago
Raphael Coeffic
e7740239da
allow network interface name for sip_ip* parameters.
15 years ago
Raphael Coeffic
2faaa4f4fa
aligned help in sems.conf.sample with the code in AmConfig.
15 years ago
Stefan Sayer
351e9fe447
adds next_hop core config option
15 years ago
Stefan Sayer
7774944f12
adds shutdownmode, in which calls are replied with defined err
...
based on a patch by Robert Szokovacs
15 years ago
Stefan Sayer
f513f80341
b/f: initialize next_rtp_port
15 years ago
Raphael Coeffic
6aaeb6ece9
moved IP related config to AmConfig
15 years ago
Raphael Coeffic
e3f48aba8c
adds multihomed support for RTP streams
15 years ago
Raphael Coeffic
54657bf95c
adds a method to dump the configured interfaces.
15 years ago
Raphael Coeffic
14c5d59afb
adds a reverse mapping between LocalSIPIP and interface.
15 years ago
Raphael Coeffic
aafc7ba080
Wip: adds multiple interface to config reader
15 years ago
Stefan Sayer
9d7ccee705
add sems.conf option skip_dns_srv
15 years ago
Stefan Sayer
ea94576e03
removed cAmElCase in AmUtils
15 years ago
Stefan Sayer
c346e0e270
moved regex mapping file reading to AmUtils
15 years ago
bpintea
ce90db7205
rework of 100rel support
...
The 100rel logic moved in great part to AmSipDialog; this way, it can be
hooked directly to request/reply processing routines, the ones on top of
the transactional layer (::updateStatus(..)).
This allows to:
- better control when to push the messages into the AmSession's
onSipRequest/~Reply, fixing some issues with applications that received
replies, but without sending themselves the requests
- insert needed headers, no matter which request function is used
(::invite() vs. ..sendRequest())
15 years ago
Stefan Sayer
23c333c734
introduce proxy_sticky_auth feature
...
thanks to Tobias Lindgren for reporting
15 years ago
Raphael Coeffic
791132ad78
changed: SEMS won't stop anymore on the first error in config file.
...
changed: the stderr option in config file is now read as the first option, to enable better debug/error log while reading the file.
15 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Stefan Sayer
cc80ab78c6
removed obsolete user_prefix_separator
16 years ago
Stefan Sayer
cbf59af49d
introduced max_shutdown_time, limits server stop
...
to prevent SEMS from stopping if there are hanging sessions,
a limit on the maximum shutdown time (actually time to wait
for sessions to stop) can be configured
default: 10 seconds
turn off by setting to 0
16 years ago
Stefan Sayer
6e503d4112
a bit more verbosity when configured 100rel wrong
16 years ago
bpintea
cf3c93492a
Merge branch 'master' into bpintea/prack
...
Resolved conflicts:
core/AmSessionEventHandler.h
core/plug-in/uac_auth/UACAuth.cpp
b/f: missing 'old_dlg_status' param in some onReply's:
apps/auth_b2b/AuthB2B.cpp
apps/registrar_client/SIPRegistrarClient.cpp
apps/sst_b2b/SSTB2B.cpp
16 years ago
Stefan Sayer
f300e8ec18
ignore SIGPIPE (like SIGCHLD)
16 years ago
bpi
6d27feb346
add support for 100rel extension (prack)
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
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
Raphael Coeffic
c4c926bd69
added the max_forwards configuration option.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1835 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
b24f51ef5b
- simplified some code in the SIP stack
...
- introduced outbound_proxy+force_outbound_proxy at the SIP dialog level (AmSipDialog)
- outbound_proxy+force_outbound_proxy is configurable in the sems.conf
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1818 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
9ed85e1465
- sip_server_threads configuration parameter added.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1805 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
d31ef86751
- added support for multiple SIP/UDP receivers.
...
- some cleanups.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1804 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
ceb2030acc
Introduces optional (compile-time) threadpool for signaling support.
...
to use it, set USE_THREADPOOL in Makefile.defs and configure thread pool
size with session_processor_threads= parameter in sems.conf :
+# compile with session thread pool support?
+# use this for very high concurrent call count
+# applications (e.g. for signaling only)
+# if compiled with thread pool, there will be a
+# thread pool of configurable size processing the
+# signaling and application logic of the calls.
+# if compiled without thread pool support, every
+# session will have its own thread.
+#
+#USE_THREADPOOL = yes
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1782 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
33876e9d04
implemented options_session_limit: SEMS-31 Special OPTIONS response if near session_limit
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1506 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
64d8ace63e
option to enable event queue logging. (disabled by default, as this creates too much noise in the log)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1488 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
f49a5d7f74
- simplified session timer config
...
- moved session timer config into session timer module.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1438 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
79f015916c
makes log level of unhandled (positive) replies configurable
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1231 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Juha Heinanen
79219d71ab
* Changes "listen" sems.conf variable to "media_ip".
...
* Added printing of "outbound_proxy" value (if any) in sems
configuration at startup.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@994 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
d5ab4c2db6
optional INFO logging of sessions created and stopped
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@927 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Richard Newman
3c7c8297f5
Add configuration parameter 'public_ip' and mechanisms to use it in SDP body generation.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@917 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
08f1c0659f
configurable syslog facility
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@794 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
9c0e638fdd
changed standard overload reply code
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@789 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
7e312d72cf
configurable session limit, after which the server will not accept further calls.
...
thanks to Dan-Cristian Bogos for the idea
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@788 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
665f9c1473
After some researches, it looks like SIGCHLD should never be sent for a dying thread.
...
That's why AmConfig::IgnoreSIGCHLD is now set to true as a default. We may discuss later
wether this parameter can/should be removed.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@746 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
e76c90d291
added function to ignore sigchld (executing shell cmds)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@737 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
a2eb922962
re-added P-App-Name application selection
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@733 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
a76d6bd552
new and more flexible application selection
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@730 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
267e309d7a
moving SMTP stuff to voicemail app
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@676 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
0f088b891c
sipctrl using LocalSIPIP/LocalSIPPort. LocalSIPIP a config option (sip_ip)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@674 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
f379c6e324
using INT16_MAX from inttypes and added missing config option (hm, seems like noone is using it anyway)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@603 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
943509231e
config option to selectively exclude some payloads (=codecs)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@600 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
823238100b
bloacklist for module loading config parameter. allows to exclude some modules from loading
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@574 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago