sbc: b/f: reply 100 Trying to in-dlg msgs which are to be relayed

Conflicts:

	apps/sbc/SBC.cpp
1.4.3+spce3.0
Stefan Sayer 13 years ago
parent d4054b48cf
commit 3930ca276e

@ -858,6 +858,11 @@ void SBCDialog::onSipRequest(const AmSipRequest& req) {
} }
} }
if (fwd) {
DBG("replying 100 Trying of %s msg to be fwd'ed\n", req.method.c_str());
dlg.reply(req, 100, SIP_REPLY_TRYING);
}
AmB2BCallerSession::onSipRequest(req); AmB2BCallerSession::onSipRequest(req);
} }
@ -1221,6 +1226,11 @@ void SBCCalleeSession::onSipRequest(const AmSipRequest& req) {
} }
} }
if (fwd) {
DBG("replying 100 Trying of %s msg to be fwd'ed\n", req.method.c_str());
dlg.reply(req, 100, SIP_REPLY_TRYING);
}
AmB2BCalleeSession::onSipRequest(req); AmB2BCalleeSession::onSipRequest(req);
} }

@ -62,5 +62,6 @@
#define SIP_REPLY_EXTENSION_REQUIRED "Extension Required" #define SIP_REPLY_EXTENSION_REQUIRED "Extension Required"
#define SIP_REPLY_LOOP_DETECTED "Loop Detected" #define SIP_REPLY_LOOP_DETECTED "Loop Detected"
#define SIP_REPLY_NOT_EXIST "Call Leg/Transaction Does Not Exist" #define SIP_REPLY_NOT_EXIST "Call Leg/Transaction Does Not Exist"
#define SIP_REPLY_TRYING "Trying"
#endif /* __AMSIPHEADERS_H__ */ #endif /* __AMSIPHEADERS_H__ */

Loading…
Cancel
Save