Use passed dest value, for the moment. A better fix is being worked on
authorJeremy McNamara <jj@nufone.net>
Thu, 11 Nov 2004 20:34:46 +0000 (20:34 +0000)
committerJeremy McNamara <jj@nufone.net>
Thu, 11 Nov 2004 20:34:46 +0000 (20:34 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4211 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index ae4b5c3..6157487 100755 (executable)
@@ -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;