aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/ast_h323.cpp
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-08 18:22:39 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-08 18:22:39 +0000
commite186bce692eb42a01f18ad4949616e16a236ca89 (patch)
treecacf97f95fd9bba38d1f99621ecb45b3823705b1 /channels/h323/ast_h323.cpp
parent9f929977f3b72b7cb4ff08c7f7747c5c05924f12 (diff)
d'oh! make it so you can acutally use other ports than 1720
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@783 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/ast_h323.cpp')
-rwxr-xr-xchannels/h323/ast_h323.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index 831092fdd..04238b4d4 100755
--- a/channels/h323/ast_h323.cpp
+++ b/channels/h323/ast_h323.cpp
@@ -193,7 +193,6 @@ int MyH323EndPoint::MakeCall(const PString & dest, PString & token,
cout << " -- Making call to " << fullAddress << " using gatekeeper." << endl;
} else {
fullAddress = dest; /* host */
- fullAddress += psprintf(":%i", port); /* host:port */
if (h323debug)
cout << " -- Making call to " << fullAddress << "." << endl;
}
@@ -939,6 +938,8 @@ int h323_make_call(char *host, call_details_t *cd, call_options_t call_options)
PString dest = PString(host);
+ cout << "dest: " << dest << endl;
+
res = endPoint->MakeCall(dest, token, &cd->call_reference, call_options.port);
memcpy((char *)(cd->call_token), (const unsigned char *)token, token.GetLength());