[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
Wed Sep 8 08:59:57 CDT 2010


branch "master" has been updated
       via  b37828b7ce257b319e77b117e13b9952c97a58b6 (commit)
      from  58b34bb7e20ad559729da1b0962c045acd40c6f2 (commit)

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


- Log -----------------------------------------------------------------
commit b37828b7ce257b319e77b117e13b9952c97a58b6
Author: Mark Michelson <mmichelson at digium.com>
Date:   Wed Sep 8 09:01:01 2010 -0500

    Use proper destination for outbound sessions.

diff --git a/src/SipSession.cpp b/src/SipSession.cpp
index c15992c..ffb005c 100644
--- a/src/SipSession.cpp
+++ b/src/SipSession.cpp
@@ -270,7 +270,7 @@ void SipSession::start(const Ice::Current&)
    char remote[64];
    bool userDefined = config.transportConfig.user.size() != 0;
    pj_ansi_sprintf(remote, "sip:%s%s%s",
-		   userDefined ? config.transportConfig.user.c_str() : "",
+		   userDefined ? mImplPriv->mDestination.c_str() : "",
 		   userDefined ? "@" : "",
 		   config.transportConfig.address.c_str());
    remote_uri = pj_str(remote);

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list