Stefan Sayer
26fdaa8eaf
b/f: stopping failed outbound calls
...
applications which are doing outbound calls should implement
onFailedOutboundCall if the behavior should be different than
setting stopped.
Reported by Andrei Samusenko
14 years ago
Stefan Sayer
dde27343e5
b/f: B2BUA: fixed replies for error handling
...
part of 1042b0fc backported
14 years ago
Raphael Coeffic
fbe3e7bacc
b/f: translate cseq in replies to the INV request sent by connectCallee().
15 years ago
Stefan Sayer
1b28f5336a
b/f: proper skip_line fix
15 years ago
Stefan Sayer
ffa2204fe6
b/f: in skip_line don't skip over empty line
15 years ago
Stefan Sayer
f2cae49cab
b/f: don't try to skip lines in empty SDP
15 years ago
Raphael Coeffic
d428dd65f6
b/f: bye() might send a CANCEL in the Disconnected state.
15 years ago
Raphael Coeffic
c0dd5b2177
sbc: handle onNoAck event.
15 years ago
Raphael Coeffic
ae8a4707b8
CANCEL should be treated hop-by-hop.
15 years ago
Raphael Coeffic
fb86cab1bd
b/f: fixes INV w/ immediate CANCEL use-case.
15 years ago
Raphael Coeffic
60be6e60a7
b/f: avoid relaying events if the session is stopped.
...
Without this patch, a new callee session would be created when AmB2BCallerSession::relayEvent(...) is called after setStopped(); terminatedOtherLeg();
15 years ago
Raphael Coeffic
8b92dd793e
b/f: bind the relay stream against the local RTP IP.
15 years ago
Stefan Sayer
f2c6964550
SST: retry INV/UPD on 422 Session Interval to low
15 years ago
Stefan Sayer
a78d6347d5
small optimization
15 years ago
Stefan Sayer
e61f2f312e
b2b: relay Contact for 300-305 replies
15 years ago
Raphael Coeffic
e3950674eb
b/f: disable streams with port == 0.
15 years ago
Stefan Sayer
f7b3e53d8c
reply back error if setting RTP port fails
15 years ago
Raphael Coeffic
d92bf7e2b7
changed relay_rtp_stream to AmRtpStream**.
...
this allows for non-default AmRtpStream constructor.
15 years ago
Stefan Sayer
ce352a7726
sbc:rtp_relay: dynamic number of RTP relay streams
15 years ago
Stefan Sayer
4bd9cd2025
sbc: RTP relay: symmetric RTP implementation
15 years ago
Stefan Sayer
1cb0bace17
sbc: RTP relay mode
...
first version, wip.
todo:
- variable number of streams (now fixed to 3 - consumes many ports)
- symmetric RTP
- multi interfaces
- optimization: parse SDP only once, pass AmSdp object with request event
15 years ago
Raphael Coeffic
35cc7601a5
removed reference to LocalIP.
15 years ago
Raphael Coeffic
aafc7ba080
Wip: adds multiple interface to config reader
15 years ago
Stefan Sayer
5bd402c8bd
unified and cleaned up debug log
...
SIP message processing and Session event processing are now
enclosed in blocks with the form
vv <type> [<callid>|<ltag>] ... vv
^^ <type> [<callid>|<ltag>] ... ^^
where
<type> = M SIP message processing
<type> = S Session event processing
15 years ago
Stefan Sayer
45d17cbb2e
b/f: no session refresh if not connected
15 years ago
Stefan Sayer
857e2ba8cf
optimization saving some dynamic_cast
15 years ago
Stefan Sayer
5bd17750ec
b2b: return value of relayEvent
...
return -1 if the other leg doesn't exist
15 years ago
Stefan Sayer
35f091aeec
b2b b/f: only handle replies with same CSeq as INV
15 years ago
Stefan Sayer
b987d4c48c
optimization: save SDP only if refresh_method!=UPD
15 years ago
Stefan Sayer
2e91a52066
b2b: constructor for 2nd leg with other_id
15 years ago
Stefan Sayer
88789eb124
transparent 100rel mode for SBC app
...
- add reliable_1xx REL100_IGNORED, where all rel100 stuff is ignored
- set B2B sessions as reliable_1xx=REL100_IGNORED
- translate RAck Cseq
- for this: adds rack_method and rack_cseq to sip request (should possibly be reworked to use some dynamic field)
- relay Rseq (if exist)
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
3f8c2942ad
b2b mode SDPFilter: filter relayed message body
15 years ago
Stefan Sayer
9b18480957
don't send User-Agent in BYE sent from B2B
15 years ago
Stefan Sayer
cc31436797
don't send User-Agent in session refresh from SEMS
...
by passing SIP_FLAGS_VERBATIM all the way down...
15 years ago
Stefan Sayer
0b1898604f
B2B: handle failed sending INVITE in callee leg
15 years ago
Stefan Sayer
a66e057cd1
handle relayed INVITE in core (AmB2BSession)
15 years ago
Stefan Sayer
7dcb7e2abb
added OpenSSL linking exception to license
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
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
7fbe92bbd7
fix authentication on outgoing calls
...
uac auth now resets the dialog status back to what it was before
the failed request, if a request is retried with authentication.
16 years ago
Stefan Sayer
938279a2c0
use original content type instead of hardcoded application/sdp
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1960 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
ce9e36265e
fix locally originated 200 ACKs for B2B calls
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1854 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
d29892932f
- fixes 200 ACK for AmB2BSession.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1852 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
fcebf1a6a9
added note about todo in b2b
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1850 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
5d82971221
reindented everything, and stopped that indentation mess
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1849 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago