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;
}
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());
ast_log(LOG_WARNING, "Line is already in use (%s)\n", c->name);
return -1;
}
-
- /* set the connect port */
- p->call_opt.port = port;
/* outgoing call */
p->outgoing = 1;
host = tmp;
ext = NULL;
}
-
+
p = oh323_alloc(0);
if (!p) {