From: Mark Michelson Date: Mon, 6 Aug 2012 15:00:08 +0000 (+0000) Subject: Improve debug message for temporary outbound proxies. X-Git-Tag: 1.8.17.0-rc1~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f3839ae0368d4dd3ed53f9eee4f15547d637329;p=thirdparty%2Fasterisk.git Improve debug message for temporary outbound proxies. Thanks to Paul Belanger for pointing this out. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@370797 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c51628d1d2..82121c2189 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3176,8 +3176,9 @@ static struct sip_proxy *obproxy_get(struct sip_pvt *dialog, struct sip_peer *pe { if (dialog && dialog->options && dialog->options->outboundproxy) { if (sipdebug) { - ast_debug(1, "BLAH\n"); + ast_debug(1, "OBPROXY: Applying dialplan set OBproxy to this call\n"); } + append_history(dialog, "OBproxy", "Using dialplan obproxy %s", dialog->options->outboundproxy->name); return dialog->options->outboundproxy; } if (peer && peer->outboundproxy) {