- b/f: the sasi if'ace no longer needs sems to reply to cancel requests; this

is now done 'automatically' by ser.
- b/f: when loading plugins, bail out at 1st raised error (the DI plugins
  were missed the first time); otherwise, the 'err' var gets overwritten and
  startup carries on, wrongly


git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@613 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Bogdan Pintea 19 years ago
parent b8facaa06d
commit 512bf1418e

@ -223,7 +223,7 @@ int AmPlugIn::load(const string& directory, const string& plugins)
it != name2di.end(); it++){
err = it->second->onLoad();
if(err)
break;
return err;
}
// load SIPEventHandlers

@ -1163,7 +1163,12 @@ int BrpcCtrlInterface::send(const AmSipReply &amRpl)
brpc_t *req, *rpl = NULL;
brpc_int_t *retcode;
brpc_str_t *ser_opaque;
if (amRpl.method == "CANCEL") {
DBG("skipping replying to CANCEL, no longer needed with SER2.\n");
return 0;
}
if (! (req = brpc_req(SER_REPLY, random()))) {
ERROR("failed to build RPC context: %s [%d].\n", brpc_strerror(),

Loading…
Cancel
Save