Donat Zenichev
13ff63532c
MT#57391 sems (CE): eliminate the `auto_ptr` usage (deprecated in C++11)
...
Eliminate the `auto_ptr` usage for core/* ,
since this pointer type has been deprecated in C++11.
Use, as recommended, `unique_ptr` instead.
Change-Id: I352e03bd0c8401d9a4890d8a1845913e4c22dab3
3 years ago
Victor Seva
2bf464e5cb
Imported Upstream version 1.6.0~20150612~a2d214df36
11 years ago
Victor Seva
6a96ffdbbc
Imported Upstream version 1.6.0~20150519~ae8a42
11 years ago
Victor Seva
be6b7d527c
Imported Upstream version 1.6.0~20140819~0b6d12
12 years ago
Victor Seva
df9992620d
Imported Upstream version 1.6.0~20140516~eaa616
12 years ago
Victor Seva
d8b3cbf475
Imported Upstream version 1.4.3
13 years ago
Raphael Coeffic
1becd3cc94
b/f: fixes timeout issue introduced in 92293570
14 years ago
Raphael Coeffic
e8da7b8945
b/f: fixes possible deadlock when messages are sent from handle_sip_reply().
...
Original patch by Stefan, slightly extended.
14 years ago
Stefan Sayer
83ad77d1c2
core: making SIP timers configurable
...
sems.conf settings: sip_timer_a=400
Conflicts:
core/AmConfig.cpp
14 years ago
Raphael Coeffic
841be6b7a7
sip: timer C support.
14 years ago
Stefan Sayer
49928e2bd9
b/f: print parsing error if known
15 years ago
Stefan Sayer
0e3923afb6
b/f: mismatching allocation and deallocation: ack_buf
15 years ago
Raphael Coeffic
af8dfe9e76
generate non-200-ACK on the fly instead of using the retransmission buffer.
15 years ago
Raphael Coeffic
59aaa25aa8
adds more debug infos for ACK matching.
15 years ago
Raphael Coeffic
8f24bcfe4f
b/f: fixes the ACK/200 matching for transaction looped back to SEMS.
...
Filtering by transaction type in trans_table::match_request() is necessary to avoid matching the ACK/200 UAC transaction when receiving a self-crafted ACK/200 and looking for the UAS transaction.
15 years ago
Raphael Coeffic
aaaa6ae382
b/f: pass only 200-ACK request to the UA layer.
15 years ago
Raphael Coeffic
7c6cf9a4d5
do not bother about to-tag for anything else but 2xx replies.
15 years ago
Stefan Sayer
b2d952105f
b/f: use ERROR instead of printf
15 years ago
Raphael Coeffic
7c16e8466e
b/f: do not pass orphan replies to UA.
15 years ago
Raphael Coeffic
7058baf658
b/f: cancel msg length & zero-termination.
15 years ago
Raphael Coeffic
f50051ddf3
b/f: PRACK transaction matching.
...
PRACK should be first matched using normal transaction matching to identify retransmissions. Then, it can be matched against the original INVITE transaction to disable the re-transmission timers.
15 years ago
Raphael Coeffic
71c24a546d
b/f: multiple routes within a [Record-]Route HF.
15 years ago
Stefan Sayer
f6f29c636d
b/f: don't pass prov reply to CANCEL to UA
15 years ago
Raphael Coeffic
c5ccd21ead
b/f: fixes last route for strict routing.
15 years ago
Raphael Coeffic
0c48994f00
isolate strict routing.
15 years ago
Raphael Coeffic
c0d2983181
Make the outbound interface manually selectable (signaling & media).
...
In the context of multihomed servers, the signaling interface can be selecetd by the application. By default, the signaling interface is determined automatically. The media interface can also be set manually, there is however no automatic selection. In the case it is not set by the application, the default interface (the first one defined) is used instead.
15 years ago
Raphael Coeffic
406238f393
adds automatic transport selection for SIP messages.
15 years ago
Raphael Coeffic
34665040da
Wip: start multiple SIP/UDP servers on multiple interfaces.
...
This only starts the UDP servers: proper interface selection for sent messages / RTP is still missing.
15 years ago
Stefan Sayer
9d7ccee705
add sems.conf option skip_dns_srv
15 years ago
Stefan Sayer
0005f3d610
more debug log regarding SRV lookups
15 years ago
Stefan Sayer
47adad8ab3
b/f: don't try to resolve IP addresses
15 years ago
Stefan Sayer
98966f25d8
if set, use next_hop ip:port for replies, too
15 years ago
bpintea
3deaa15255
100rel bug fix
...
b/f: check for broken PRACKs, missing the RSeq header.
Bug spotted by Stefan Sayer.
15 years ago
Stefan Sayer
daa9c241ff
sbc: routing with next hop
15 years ago
Stefan Sayer
e1e8aa2e6b
warning about missing to-tag only if unhandled
15 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
Raphael Coeffic
9eecb79ab3
fixes port number for A record lookups
16 years ago
Raphael Coeffic
a7389521e2
queries SRV records if no port specified in the R-URI (RFC3263)
16 years ago
Raphael Coeffic
0672c66d8e
fixes the port number when a new address is used
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
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
fb3488baf8
remove a potential memory leak
...
- in case update_uac_request would fail, the temporary message would stay in memory for ever.
16 years ago
bpintea
d074c0c0cd
removed "#if 0" dead code
...
removed code disabled during development of 100rel extension
16 years ago
bpi
6d27feb346
add support for 100rel extension (prack)
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
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
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