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
Stefan Sayer
1a0d15d310
made more methods virtual
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1817 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
190252522c
replying with ERROR instead of abort (e.g. on AmSipDialog::reply_error no non-existing request)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1812 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
d6a547ca8e
- removed sticky "next_hop".
...
- if an outbound proxy is necessary, it should be set in the configuration parameters.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1811 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
ae504d411f
initialize buffer on allocation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1807 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
b3af4f5a3d
added missing include
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1806 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
Raphael Coeffic
38283be162
cleanup work.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1803 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
a215e5adda
- works better like this on MacOSX.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1802 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
6b1d7a95dc
- re-enables the "accept_fr_without_totag" config param.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1800 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
9f37c3a6f1
- adds wrapper for pthread_cond_timedwait(). Thx to Robert Szokovacs for the original patch.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1799 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
33744a0faf
Missing *.c module in adpcm CMake makefile
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1797 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
6c6cdf5615
fixed DBG format of trans ticket
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1795 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
ebe947e525
adapted to direct linking of sipctrl into core
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1794 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
e9d777b8a5
added missing file to CMake buildsys
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1792 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
1704f9cb34
optimizing wheeltimer against lock contention (ref r30379)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1791 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
101880a2a1
optimizing mutex (ref r30378)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1790 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
5dc1635495
removed using ntop instead of ntoa to get rid of mutex (ref r30374:30377)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1789 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
7a0a948fa9
adds lock striping for the event dispatcher.
...
this brings some more performance for signaling/CPS/TPS
heavy applications, as the single event dispatcher lock
can get a bottleneck.
ref r30374
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1787 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
972283ff66
adds possibility to set UDP receive buffer size in config.
...
this can give the server some room for processing SIP messages in load spikes.
Obviously that can not help against constant overload though...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1786 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
446ff886ba
also pass trans_ticket to UA for ACKs (aborted otherwise)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1785 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
Stefan Sayer
b339b41bc7
added missing files from thread pool implementation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1783 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
Raphael Coeffic
778da1ad57
the old serKey has been replaced by a proper transaction ticket specific to the internal SIP stack.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1778 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
61176bc0ce
fixed contact header generation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1772 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
d7ce62ac11
enabled log_raw_messages for sending again
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1771 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
da870794e7
make this compile again, and only warn if sipctrl module is to be loaded.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1770 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
5de831c0b0
- Makefile fixes: part 2 ;-)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1761 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
ab3a9e606f
- missing modifications related to config vars.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1760 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
da883280e4
- the Makefile missing in the last commit (some cmake generated Makefile has been checked in instead....)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1759 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
00aa71fad7
- moved sipctrl plug-in into the core (core/sip).
...
- static library sip_stack.a (with dependencies on the core).
- removed AmServer and moved SipCtrlInterface into the core directory.
- TODO:
- CMake support to make core/sip/sip_stack.a and link against it in the core.
- merge AmSipRequest/AmSipReply and sip_msg structures.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1758 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
58d0e62bce
Add missing files to CMake target
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1757 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
4691d10278
- removed the 'doc' and 'fulldoc' targets (moved to doc/).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1746 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
44ba8c3cc2
- moved 'make doc|fulldoc' to the doc/ directory.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1745 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
34f191ae3c
Remove mention of obsoleted fifo and unix-socket stuff from sems.h
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1744 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
6631bfc256
Add condition for building iLBC support.
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1743 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
Peter Lemenkov
7cc55a823a
Remove binrpcctrl from CMake files
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1740 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
b719ec919e
Do not install doc/Makefile
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1739 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Peter Lemenkov
9bdf57fba4
Do not try to install SEMS-OpenSER/SER HOWTOs
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1738 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
d3165b1e98
obsoleted
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1737 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
ea2a6e3824
- new target arch/os detection based on gcc
...
(formerly based on host, now target system)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1736 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
2461368ae2
installation fix: don't install CMakeLists.txt as scripts (from 1.2)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1720 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
83ba2ee75f
- fixed Via transport parser to be case-insensitive as prescribed by RFC3261.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1714 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
b50f9996a7
- corrected Via handling for transactional replies to correspond to RFC3261, section 18.2.2.
...
- adds support for 'received' (added on transactional replies)
- adds support for 'rport' (RFC 3581)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1713 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
dd7cf34cbc
- fixes exponential backoff for re-transmissions.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1712 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
959d9452b4
- fixes compilation issues on 64bit Darwin.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1711 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