diff --git a/channels/chan_h323.c b/channels/chan_h323.c index ae4b5c3525..6157487751 100755 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -462,8 +462,8 @@ static int oh323_call(struct ast_channel *c, char *dest, int timeout) } } pvt->outgoing = 1; - ast_log(LOG_DEBUG, "Placing outgoing call to %s:%d\n", called_addr, pvt->options.port); - res = h323_make_call(called_addr, &(pvt->cd), pvt->options); + ast_log(LOG_DEBUG, "Placing outgoing call to %s:%d\n", dest, pvt->options.port); + res = h323_make_call(dest, &(pvt->cd), pvt->options); if (res) { ast_log(LOG_NOTICE, "h323_make_call failed(%s)\n", c->name); return -1;