diff options
author | Rene Ladan <rene@FreeBSD.org> | 2011-04-18 22:25:41 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2011-04-18 22:25:41 +0000 |
commit | 48f1d8c469aeb67c4c7838bd2bdf17f28eacbc79 (patch) | |
tree | 5509f9ae2d797f02944d429c11a7b43a3c3d2cf3 /net/b2bua/files/patch-sip::b2b::AuthAgent.cxx | |
parent | Repair pkg-plist to remove directories created by NLS option. (diff) |
Remove most expired ports:
2011-04-17 cad/tclspice: has been broken for more than a year
2011-04-17 comms/hcfmdm: does not compile on 7.X or higher
2011-04-17 databases/mysqlcc: has been broken for almost a year
2011-04-17 devel/ruby-rjudy: does not compile on FreeBSD 7.x or newer
2011-04-17 devel/xfc: does not compile on FreeBSD 7.x or newer
2011-04-17 devel/lamson: has been broken for a half year
2011-04-17 devel/cocktail: does not build on FreeBSD 7.x or newer
2011-04-17 devel/djgpp-gcc: has been broken for half a year
2011-04-17 devel/gauche-sdl: has been broken for a year
2011-04-17 devel/gdb53-act: does not compile on FreeBSD 7.x and up
2011-04-17 editors/zed: does not compile on FreeBSD 7.x or newer
2011-04-17 games/aqbubble: does not compile on FreeBSD 7.x or newer
2011-04-17 graphics/libvisual-plugins: has been broken for 3 years
2011-04-17 japanese/roundcube: has been broken for almost a year
2011-04-17 japanese/tkstep80: does not compile on FreeBSD 7.x or newer
2011-04-17 lang/u++: has been broken for over a half year
2011-04-17 lang/pugs: has been broken for over a year
2011-04-17 lang/mozart: does not compile on FreeBSD 7.x or newer
2011-04-17 math/linalg: does not build on FreeBSD 7.x or newer
2011-04-17 math/R-cran-igraph: has been broken for over a half year
2011-04-17 misc/ftree: has been broken for over a half year
2011-04-17 multimedia/katchtv: has been broken for a half year
2011-04-17 multimedia/libomxil-bellagio: has been broken for almost a year
2011-04-17 multimedia/banshee-mirage: has been broken for over a half year
2011-04-17 net-p2p/trackerbt: has been broken for a half year
2011-04-17 net/cap: does not compile on FreeBSD 7.x or newer
2011-04-17 net/ggsd: does not compile on FreeBSD 7.x or newer
2011-04-17 net/b2bua: does not compile on FreeBSD 7.x or newer
2011-04-17 net/penguintv: has been broken for a half year
2011-04-17 news/openftd: has been broken for almost a year
2011-04-17 palm/romeo: does not compile on FreeBSD 7.x or newer
2011-04-17 science/pcp: does not compile on FreeBSD 7.x or newer
2011-04-17 science/elmer-fem: has been broken for over a year
2011-04-17 security/newpki-lib: does not compile on FreeBSD 7.x or newer
2011-04-17 security/newpki-server: does not compile on FreeBSD 7.x or newer
2011-04-17 security/xmlsec: does not compile on FreeBSD 7.x or newer
2011-04-17 security/f-protd: has been broken for over a year
2011-04-17 sysutils/xwlans: does not compile on FreeBSD 7.x or newer
2011-04-17 www/bk_edit: does not compile on FreeBSD 7.x and newer
2011-04-17 www/bricolage: has been broken for a half year
2011-04-17 x11-toolkits/gauche-gtk: has been broken for a year
2011-04-17 x11-toolkits/gambas2-gb-qt: has been broken for over a year
2011-04-17 x11-toolkits/php-gtk2: has been broken for over a half year
2011-04-17 x11-toolkits/p5-Tcl-Tk: has been broken for 2 year
2011-04-17 x11/metisse: has been broken for over a half year
Notes
Notes:
svn path=/head/; revision=272897
Diffstat (limited to 'net/b2bua/files/patch-sip::b2b::AuthAgent.cxx')
-rw-r--r-- | net/b2bua/files/patch-sip::b2b::AuthAgent.cxx | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/net/b2bua/files/patch-sip::b2b::AuthAgent.cxx b/net/b2bua/files/patch-sip::b2b::AuthAgent.cxx deleted file mode 100644 index 7ccd7dbddcb0..000000000000 --- a/net/b2bua/files/patch-sip::b2b::AuthAgent.cxx +++ /dev/null @@ -1,107 +0,0 @@ - -$FreeBSD$ - ---- sip/b2b/AuthAgent.cxx.orig Fri Apr 4 12:18:19 2003 -+++ sip/b2b/AuthAgent.cxx Fri Apr 4 12:18:19 2003 -@@ -305,6 +305,31 @@ - AuthAgent::doCancel() - { - cpLog(LOG_DEBUG, "AuthAgent::doCancel()"); -+ Sptr<MultiLegCallData> mData = -+ CallDB::instance().getMultiLegCallData(myInvokee->getCallLeg()); -+ assert(mData != 0); -+ -+ Sptr<AccountingData> accData = mData->getAccountingData(); -+ time_t t; -+ t = time(&t); -+ accData->setEndTime(t); -+ -+ if(B2bConfig::instance().getStr(B2bConfig::PP_OPTIONS) -+ != B2bConfig::PP_FREE) -+ { -+ ///Send Stop records to billing -+ int duration = t - accData->getStartTime(); -+ Sptr<BillingData> bData; -+ bData.dynamicCast(myAAAData); -+ assert(bData != 0); -+ bData->setDuration(duration); -+ -+ Sptr<AAAEvent> aEvent = new AAAEvent(this); -+ cpLog(LOG_DEBUG, "AuthAgent::Sending Acct Stop"); -+ B2bFacade::instance().getAAATransceiver()->sendAcctStop(aEvent); -+ } -+ -+ ///Transit the controller state - myState->cancel(*this); - } - -@@ -362,6 +387,31 @@ - AuthAgent::callFailed() - { - cpLog(LOG_DEBUG, "AuthAgent::callFailed()"); -+ Sptr<MultiLegCallData> mData = -+ CallDB::instance().getMultiLegCallData(myInvokee->getCallLeg()); -+ assert(mData != 0); -+ -+ Sptr<AccountingData> accData = mData->getAccountingData(); -+ time_t t; -+ t = time(&t); -+ accData->setEndTime(t); -+ -+ if(B2bConfig::instance().getStr(B2bConfig::PP_OPTIONS) -+ != B2bConfig::PP_FREE) -+ { -+ ///Send Stop records to billing -+ int duration = t - accData->getStartTime(); -+ Sptr<BillingData> bData; -+ bData.dynamicCast(myAAAData); -+ assert(bData != 0); -+ bData->setDuration(duration); -+ -+ Sptr<AAAEvent> aEvent = new AAAEvent(this); -+ cpLog(LOG_DEBUG, "AuthAgent::Sending Acct Stop"); -+ B2bFacade::instance().getAAATransceiver()->sendAcctStop(aEvent); -+ } -+ -+ ///Transit the controller state - myState->fail(*this); - } - -@@ -426,5 +476,37 @@ - void - AuthAgent::receivedStatus(UaBase& agent, const Sptr<SipMsg>& msg) - { -+ Sptr<StatusMsg> statusMsg; -+ statusMsg.dynamicCast(msg); -+ assert(statusMsg != 0); -+ int statusCode = statusMsg->getStatusLine().getStatusCode(); -+ if(statusCode > 200) -+ { -+ Sptr<MultiLegCallData> mData = -+ CallDB::instance().getMultiLegCallData(myInvokee->getCallLeg()); -+ assert(mData != 0); -+ -+ Sptr<AccountingData> accData = mData->getAccountingData(); -+ time_t t; -+ t = time(&t); -+ accData->setEndTime(t); -+ -+ if(B2bConfig::instance().getStr(B2bConfig::PP_OPTIONS) -+ != B2bConfig::PP_FREE) -+ { -+ ///Send Stop records to billing -+ int duration = t - accData->getStartTime(); -+ Sptr<BillingData> bData; -+ bData.dynamicCast(myAAAData); -+ assert(bData != 0); -+ bData->setDuration(duration); -+ bData->setTermCause(BT_SERVICE_UNAVAIL); -+ -+ Sptr<AAAEvent> aEvent = new AAAEvent(this); -+ cpLog(LOG_DEBUG, "AuthAgent::Sending Acct Stop"); -+ B2bFacade::instance().getAAATransceiver()->sendAcctStop(aEvent); -+ } -+ } -+ - MultiLegCallControl::instance().receivedStatus(agent,msg); - } |