Stefan Sayer
42f6589f02
work around getenv requiring char*
16 years ago
debian
224c6de7a4
remove superfluous file
16 years ago
debian
1181f522db
only define _GNU_SOURCE once
16 years ago
Stefan Sayer
5c77aa56dc
on linux,define _GNU_SOURCE before including stdio
16 years ago
Stefan Sayer
5f93d15285
restored license and reformatting
16 years ago
Stefan Sayer
097e5f44ae
restore file that mysteriously got corrupted
16 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Stefan Sayer
f1be62d5d7
reformatting (only wsp changes)
16 years ago
Stefan Sayer
b6e4cd1c87
allow to pass all ipp paths to make
16 years ago
Stefan Sayer
c46ba3462c
G.729 codec module (wrapper for Intel IPP 0.6)
16 years ago
Stefan Sayer
5a57721513
implements SIGUSR1/SIGUSR2 handling, custom use
...
SIGUSR1/SIGUSR2 can e.g. be used in DSM calls or systemDSMs
16 years ago
Stefan Sayer
f1b8362ef0
handle SIGHUP: stop sessions (send BYE), dont quit
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
8f289e98b9
reverted app config dir to /etc/sems/etc
...
For users upgrading from earlier versions, changing the path without
any advantage would just create confusion. Also, /etc/sems is cluttered
with lots of files if all app configurations are saved there.
16 years ago
Stefan Sayer
90cccb3383
reworked SST + B2BUA implementation
...
- B2BUA app with SIP Session Timer (SST) now can also use UPDATE
(see session_refresh_method in sst_b2b.conf)
- if re-INVITE is used, normal SDP OA (INVITE+SDP/200+SDP) is done
using last established SDP (instead of delayed SDP negotiation
and SDP ping-pong)
- SDP is compared only after o= line (no SDP ping-pong with UAs which
always increase SDP version)
16 years ago
Stefan Sayer
903e909f8b
add suggested parentheses around ‘&&’ within ‘||’
16 years ago
Stefan Sayer
844caecfca
b/f: don't continue processing after 500 reply
...
in case of INVITE pending
16 years ago
Stefan Sayer
fdb28ab072
small optimization
16 years ago
Stefan Sayer
9e48bad2f6
moved check for UPDATE support in req/reply handlers
16 years ago
Stefan Sayer
83179ccaf4
b/f: terminate other leg only if existing
16 years ago
Stefan Sayer
7eb35d41c3
handling session timeout in onSessionTimeout evh
...
created new event handler onSessionTimeout, where
session timeout is handled. implemented for b2bua calls
16 years ago
Stefan Sayer
617f07d2c5
b/f: relay SDP in SDP only for INVITE method
16 years ago
Stefan Sayer
24b6f5163f
small sample config clarification
16 years ago
Stefan Sayer
2f36762bd9
UPDATE support for Session Timer
...
- configured via app config file
- so far only for one-legged calls (no sst_b2b support)
16 years ago
Stefan Sayer
6e503d4112
a bit more verbosity when configured 100rel wrong
16 years ago
Stefan Sayer
50056f4279
configuration for 100rel in sample config
16 years ago
Stefan Sayer
c21949a3d8
b/f: fix configuration return value
16 years ago
Stefan Sayer
ee229de02c
b/f: send autheticated BYE with To-tag
...
closes https://bugtracker.iptel.org/view.php?id=44
Summary: authenticated BYE does not work (to-tag missing)
Description:
When authentication is requested by a proxy for a BYE request sent by SEMS,
the second BYE request (with authentication info) does not contain a
to-tag. This causes the proxy to reject the request with a 481 reply.
Thanks to <samusenko at msm dot ru> for reporting this bug.
16 years ago
Peter Lemenkov
dd2a283f73
Add missing LDFLAGS for linking new DNS code
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
16 years ago
Peter Lemenkov
fe586a666f
Fix CMake build of renamed md5.{c => cpp}
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
16 years ago
Raphael Coeffic
5d1ba1e5ce
small changes in debug messages
16 years ago
Raphael
70469dea2d
small fixes
16 years ago
Raphael Coeffic
7e65eccab8
added onw functions for parsing DNS reply
...
as it seems, several functions declared in arpa/nameser.h are not present in libresolv.so on Linux. those functions are considered to be internal to libresolv.
16 years ago
Raphael Coeffic
2eeef30fbb
fix bug introduced with f5bfad916c
16 years ago
Raphael Coeffic
9eecb79ab3
fixes port number for A record lookups
16 years ago
Raphael Coeffic
248bc3e11a
corrected some bugs
16 years ago
Raphael Coeffic
a2d39c5c09
remember which SRV entries have already been used (stored in dns_handle)
16 years ago
Raphael Coeffic
a7389521e2
queries SRV records if no port specified in the R-URI (RFC3263)
16 years ago
Raphael Coeffic
9c3ba1958a
cleanup + added TODOs
16 years ago
Raphael Coeffic
2c3875dad8
added a garbage collector threads (removes expired entries)
16 years ago
Raphael Coeffic
0672c66d8e
fixes the port number when a new address is used
16 years ago
Raphael Coeffic
0ea62e575b
moved generic types to the core directory
16 years ago
Raphael Coeffic
a292668861
fixes retransmission to another ip
...
- start the retransmission itself
- reset timer A/E correctly
16 years ago
Raphael Coeffic
9e22de3bea
added some entropy into compute_branch
...
without this change, branch tags created for the same transaction would be to similar.
16 years ago
Raphael Coeffic
f5bfad916c
support for RFC 3263 improvement
...
- added timer M with default = B_TIMER/4.
- when timer M triggers, next ip is tried.
- timer M is used only when there is another address to try.
16 years ago
Raphael Coeffic
5120770a4e
introduced a new DNS cache
...
- added aotmic_types for lock-free operations
- simple DNS cache
- support for SRV records
(work in progress...)
16 years ago
Raphael Coeffic
e7771d3f38
introduced the singleton pattern
...
- added singleton template class.
- changed resolver, trans_layer & wheeltimer to use the singleton pattern.
16 years ago
Raphael Coeffic
b8444a196e
- 'template-ized' the hash table mechanism so that it can be used by others as well (until now, only for sip transactions).
...
- moved the transaction table and related items into trans_table.{h,cpp}.
16 years ago
Raphael Coeffic
2cb7cb0ab1
fixes uac_auth on max os x
16 years ago