Module: sems Branch: rco/offer_answer Commit: bb5f9a03cd5dc91685a2992d726a7ec401c013ca URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=bb5f9a03cd5dc91685a2992d726a7ec401c013ca
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Thu Apr 21 17:49:59 2011 +0200 added SIP_REPLY_PENDING --- core/AmB2BSession.cpp | 2 +- core/AmSipHeaders.h | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp index cd63ef1..a13763b 100644 --- a/core/AmB2BSession.cpp +++ b/core/AmB2BSession.cpp @@ -122,7 +122,7 @@ void AmB2BSession::onB2BEvent(B2BEvent* ev) // don't relay INVITE if INV trans pending AmSipReply n_reply; n_reply.code = 491; - n_reply.reason = "Request Pending"; + n_reply.reason = SIP_REPLY_PENDING; n_reply.cseq = req_ev->req.cseq; relayEvent(new B2BSipReplyEvent(n_reply, true, SIP_METH_INVITE)); return; diff --git a/core/AmSipHeaders.h b/core/AmSipHeaders.h index 42428f9..c9df723 100644 --- a/core/AmSipHeaders.h +++ b/core/AmSipHeaders.h @@ -59,5 +59,6 @@ #define SIP_REPLY_EXTENSION_REQUIRED "Extension Required" #define SIP_REPLY_LOOP_DETECTED "Loop Detected" #define SIP_REPLY_NOT_EXIST "Call Leg/Transaction Does Not Exist" +#define SIP_REPLY_PENDING "Request Pending" #endif /* __AMSIPHEADERS_H__ */ _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
