[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:48:49 CDT 2010


branch "master" has been updated
       via  bd2a4b04d55b72ac2eebe5dbe647ddb37b720ecf (commit)
      from  3c4289a94f197f6cdc69f43e58b0bc0eac05596b (commit)

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


- Log -----------------------------------------------------------------
commit bd2a4b04d55b72ac2eebe5dbe647ddb37b720ecf
Author: Joshua Colp <jcolp at digium.com>
Date:   Thu Aug 26 12:00:40 2010 -0300

    Store the created dialog on the endpoint.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 4a0e052..3968e8d 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -112,6 +112,7 @@ static void handle_new_invite(pjsip_rx_data *rdata)
 	//but for now have it there just so stuff'll compile!
 	SipEndpointPtr* caller = new SipEndpointPtr(factory->createEndpoint("Butt"));
 	(*caller)->setInviteSession(inv_session);
+	(*caller)->setDialog(dlg);
 
 	//We've created our calling endpoint. Now we need to look up the destination.
 	pjsip_uri *ruri = rdata->msg_info.msg->line.req.uri;

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list