[asterisk-scf-commits] asterisk-scf/release/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Apr 14 13:22:06 CDT 2011


branch "master" has been updated
       via  307e2b902ca3b1466aff00951914feb31bdedfec (commit)
      from  1f886e1225940e228bec9a983cf4a7b844e69cb4 (commit)

Summary of changes:
 src/PJSipSessionModule.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 307e2b902ca3b1466aff00951914feb31bdedfec
Author: Joshua Colp <jcolp at digium.com>
Date:   Thu Apr 14 15:25:14 2011 -0300

    Fix a bug where we would attempt to send a 405 Method Not Supported for ACKs when we really want another module to handle them.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 8717d6c..27756f9 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -772,6 +772,8 @@ pj_bool_t PJSipSessionModule::on_rx_request(pjsip_rx_data *rdata)
     pjsip_dialog *dlg = pjsip_rdata_get_dlg(rdata);
     switch (rdata->msg_info.msg->line.req.method.id)
     {
+    case PJSIP_ACK_METHOD:
+	return PJ_FALSE;
     case PJSIP_INVITE_METHOD:
         if (dlg == NULL)
         {

-----------------------------------------------------------------------


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list