aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-13 18:32:23 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-13 18:32:23 +0000
commit172df57aa4781f752e5f983c9e1ea094399b1940 (patch)
tree88a0c5b411ae8a330bf7e465148b9d8fd3f76ba6 /channels/h323
parentf3fea3491fd6082d8adff9e2947fb9ae2df6c1e1 (diff)
print out capability set, if h323debug is turned on
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2686 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rwxr-xr-xchannels/h323/ast_h323.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index e71c513d3..912a822ac 100755
--- a/channels/h323/ast_h323.cpp
+++ b/channels/h323/ast_h323.cpp
@@ -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;
}