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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Dec 7 09:28:27 CST 2010


branch "ami" has been updated
       via  8ee7a5420a736690e8614aad55c474ca0c2b4679 (commit)
      from  ae1a24529c1eb4198fb9fe248fe552e0251b942a (commit)

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


- Log -----------------------------------------------------------------
commit 8ee7a5420a736690e8614aad55c474ca0c2b4679
Author: Mark Michelson <mmichelson at digium.com>
Date:   Tue Dec 7 09:33:47 2010 -0600

    Change "handleRefer" in debug messages to appropriate substitute.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 6da3b59..292ba17 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -91,14 +91,14 @@ public:
         }
         catch (const std::exception &e)
         {
-            lg(Debug) << "handleRefer() sending 400 due to exception:  " << e.what() << std::endl;
+            lg(Debug) << "ConnectBridgedSessionsCallback sending 400 due to exception:  " << e.what() << std::endl;
             pjsip_dlg_respond(mInvSession->dlg, mRData, 400, NULL, NULL, NULL);
             return;
         }
         pjsip_dlg_respond(mInvSession->dlg, mRData, 200, NULL, NULL, NULL);
         
         Ice::Current current;
-        lg(Debug) << "handleRefer() calling session->stop(). " << std::endl;
+        lg(Debug) << "ConnectBridgedSessionsCallback calling session->stop(). " << std::endl;
         mSession->stop(new ResponseCode(16), current);
     }
 private:
@@ -124,21 +124,21 @@ public:
         }
         catch (const AsteriskSCF::Core::Routing::V1::DestinationNotFoundException &)
         {
-            lg(Debug) << "handleRefer() sending 404 due to destination not found for target: "<< mTarget <<  std::endl;
+            lg(Debug) << "ConnectBridgedSessionsWithDestination sending 404 due to destination not found for target: "<< mTarget <<  std::endl;
 
             pjsip_dlg_respond(mInvSession->dlg, mRData, 404, NULL, NULL, NULL);
             return;
         }
         catch (const std::exception &e)
         {
-            lg(Debug) << "handleRefer() sending 400 due to exception:  " << e.what() << std::endl;
+            lg(Debug) << "ConnectBridgedSessionsWithDestination sending 400 due to exception:  " << e.what() << std::endl;
             pjsip_dlg_respond(mInvSession->dlg, mRData, 400, NULL, NULL, NULL);
             return;
         }
         pjsip_dlg_respond(mInvSession->dlg, mRData, 200, NULL, NULL, NULL);
         
         Ice::Current current;
-        lg(Debug) << "handleRefer() calling session->stop(). " << std::endl;
+        lg(Debug) << "ConnectBridgedSessionsWithDestination calling session->stop(). " << std::endl;
         mSession->stop(new ResponseCode(16), current);
     }
 private:

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


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list