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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Aug 26 09:10:22 CDT 2010


branch "master" has been updated
       via  a945957a4450b5ec845062e868c4e31413c0be4a (commit)
      from  3a708f29ef51b918256a6dad526980b639ef32ef (commit)

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


- Log -----------------------------------------------------------------
commit a945957a4450b5ec845062e868c4e31413c0be4a
Author: Mark Michelson <mmichelson at digium.com>
Date:   Thu Aug 26 09:10:24 2010 -0500

    Remove the on_send_ack callback for now and let pjsip do the work.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 6011e73..ba6225b 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -358,11 +358,11 @@ static void invOnMediaUpdate(pjsip_inv_session *inv, pj_status_t status)
 {
 	//stub
 }
-
-static void invOnSendAck(pjsip_inv_session *inv, pjsip_rx_data *rdata)
-{
-	//stub
-}
+//Comment this out for now so pjsip will send the ACK for us.
+//static void invOnSendAck(pjsip_inv_session *inv, pjsip_rx_data *rdata)
+//{
+//	//stub
+//}
 
 static pjsip_redirect_op invOnRedirected(pjsip_inv_session *inv, const pjsip_uri *target, const pjsip_event *e)
 {
@@ -408,7 +408,7 @@ PJSipSessionModule::PJSipSessionModule() : mName("Session Module")
 		mInvCallback.on_rx_offer = invOnReceiveOffer;
 		mInvCallback.on_create_offer = invOnCreateOffer;
 		mInvCallback.on_media_update = invOnMediaUpdate;
-		mInvCallback.on_send_ack = invOnSendAck;
+		//mInvCallback.on_send_ack = invOnSendAck;
 		mInvCallback.on_redirected = invOnRedirected;
 	}
 	

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list