print out capability set, if h323debug is turned on
authorJeremy McNamara <jj@nufone.net>
Tue, 13 Apr 2004 18:32:23 +0000 (18:32 +0000)
committerJeremy McNamara <jj@nufone.net>
Tue, 13 Apr 2004 18:32:23 +0000 (18:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2686 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/h323/ast_h323.cpp

index e71c513..912a822 100755 (executable)
@@ -908,6 +908,9 @@ int h323_set_capability(int cap, int dtmfMode)
                g711aCap->SetTxFramesInPacket(g711Frames);
        } 
 
+       if (h323debug) {
+               cout <<  "Allowed Codecs:\n\t" << setprecision(2) << endPoint->GetCapabilities() << endl;
+       }
        return 0;
 }