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