add more debug
authorJeremy McNamara <jj@nufone.net>
Thu, 24 Jul 2003 17:58:23 +0000 (17:58 +0000)
committerJeremy McNamara <jj@nufone.net>
Thu, 24 Jul 2003 17:58:23 +0000 (17:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1215 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/h323/ast_h323.cpp

index d7aba8d..0e8d86d 100755 (executable)
@@ -205,12 +205,12 @@ int MyH323EndPoint::MakeCall(const PString & dest, PString & token,
        
        *callReference = connection->GetCallReference();
        
-
-       cout << "Callerid looks like [" << callerid << "]" << endl;
-
-       if (strlen(callerid))
+       if (strlen(callerid)) {
+               cout << "Setting callerid: [" << callerid << "]" << endl;
                connection->SetLocalPartyName(PString(callerid));
-
+       } else {
+               cout << "Callerid NOT SET!" << endl; 
+       }
        connection->Unlock();   
 
        if (h323debug) {