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
Raphael Coeffic
dea103ae68
- make the AmSipDialog call the SIP event handler within AmSession, instead of the opposite.
...
- WARNING: this code is not yet tested.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1827 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
0012b5fa61
first version of a SST enabled B2B application.
...
The incoming INVITE establishind a call is passed in
signaling only B2B mode to the B leg, which tries to
send it to the request URI.
SIP Session Timers are enabled on both legs. When the
timer expires, an empty INVITE is sent, and the resulting
SDP offer from body of the 200 is relayed into the other
leg, where it is sent out as INVITE with the offer. The
answer from B leg is relayed into A leg and sent as body
in ACK message.
SST expiration is configurable in confi file.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1821 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
be85aa2c19
fixes ACK handling in B2BUA, which was broken due to moving ACK handling on user layer
...
(sems_trunk_fix_b2b.patch)
also fixes a bug in SIP stack transaction update (to-tag)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1650 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
150721c5a9
Content-Type taken from sip requests' property
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1471 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
c0f8e76d2d
optionally relay early media (180 .. 183) into caller leg of B2B sessions.
...
note this effects only applications where call is accepted before creating
second call leg, i.e. it does not affect call_timer/auth_b2b.
based on a patch by Tom van der Geer
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1362 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
d6010e4aaf
fixes bug introduced with r1273: connectCallee does not re-invite caller
...
(compared cseq of the wrong leg's INVITE)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1288 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
3888b21c2f
o check whether CSeq of reply matches (initial) INVITE cseq
...
o don't call terminateLeg() on negative reply on callee leg, only setStopped()
(sessions would be in disconnecting state and not being stopped)
o add monitoring
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1273 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
e6945b013f
accept compact form of Content-Type (c)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@933 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
Stefan Sayer
46537f68bb
send headers in relayed replies (as in requests)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@877 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
47575e304a
corrected constructors/destructors
...
using base class mehod to access sip_relay_only
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@810 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
4f8e348ad3
fixed "missing content-type" while putting callee "on-hold" in B2BUA scenario (thx to Juha for reporting, as usual ;-))
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@762 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
48feeca9a8
o relayed requests in b2b are relayed without adding headers (Signature/Max-Forwards)
...
o moved adding Max-Forwards from ctrl plugins to AmSipDialog
o moved adding User-Agent from ctrl plugins to AmSipDialog
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@760 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
e7c7902a90
fixed taking content type from correct field of callee reply if available
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@757 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
9411ad3ac8
fixes for SEMS on Solaris
...
contributed by Richard Newman rnewman at twinql dot com
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@633 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
6d68c42284
-fixed createCalleeSession to use newCalleeSession.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@538 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
8836f205ae
b2b API changed: onOtherReply may absorb replies
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@523 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
436d47ddf5
only bye dialog if pending || connected
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@519 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
6bca563ef2
enables signalling only transparent b2bua.
...
Use it like this:
void MyCCDialog::onInvite(const AmSipRequest& req) {
if(dlg.reply(req,100,"Session Progress") != 0){
throw AmSession::Exception(500,"could not reply");
}
number = "2"; // well, where you want to call
invite_req = req;
dlg.updateStatus(req);
recvd_req.insert(make_pair(req.cseq,req));
connectCallee(number + " <sip:" + number+ MyCCFactory::ConnectSuffix + ">",
"sip:"+number+MyCCFactory::ConnectSuffix, true);
sip_relay_only = true;
}
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@490 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
7c964b9b03
unifies indentation level in all source files to 2 (-i2)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@261 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
31ad518986
fixed small mem leak
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@174 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Raphael Coeffic
759b24189f
fixes a bug causing the caller dialog to interpret answers from the
...
old callee dialog as if they where from the new one.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@58 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Raphael Coeffic
98e12fce87
* removed some unnecessary debug infos.
...
* moved onOtherError to onOtherReply.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@54 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Raphael Coeffic
c7a5180592
Many thanks to Rick van Rein for this patch. Here are his explainations to the path:
...
The patch is developed on FreeBSD 4.11-RELEASE and gcc 2.95.4, but is
expected to run on other BSD systems as well.
Note that it is "not done" to replace the gcc in a BSD base system,
hence the support for an older gcc.
The changes are minor:
* corrections in typing matters, including more header files
* alternative handling option for varargs in #define for pre-GCC3
* lowering the default UNIX_PATH_MAX value to 104 instead of 108
* clearing memory intended to store socket addresses
* a few remarks for FreeBSD-adopters and/or porters
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@39 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago
Raphael Coeffic
37abd5379e
initial checkin new open source version.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@5 8eb893ce-cfd4-0310-b710-fb5ebe64c474
20 years ago