Another temp fix attempt, until I can do it correctly.
authorJeremy McNamara <jj@nufone.net>
Tue, 16 Nov 2004 15:37:56 +0000 (15:37 +0000)
committerJeremy McNamara <jj@nufone.net>
Tue, 16 Nov 2004 15:37:56 +0000 (15:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index fd50d52..5b92834 100755 (executable)
@@ -464,8 +464,8 @@ static int oh323_call(struct ast_channel *c, char *dest, int timeout)
        } else {
                sprintf(called_addr, "%s:%d",addr, pvt->options.port);
        }
-       ast_log(LOG_DEBUG, "Placing outgoing call to %s\n", called_addr);
-       res = h323_make_call(called_addr, &(pvt->cd), pvt->options);
+       ast_log(LOG_DEBUG, "Placing outgoing call to %s\n", dest);
+       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;