]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Improve debug message for temporary outbound proxies.
authorMark Michelson <mmichelson@digium.com>
Mon, 6 Aug 2012 15:02:04 +0000 (15:02 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 6 Aug 2012 15:02:04 +0000 (15:02 +0000)
Thanks to Paul Belanger for pointing this out.
........

Merged revisions 370797 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@370798 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 9d5cc1d5543ebb8156d3f3b5ea226167f091439c..3b929bf66d06b319499940f534556d2771d9c48e 100644 (file)
@@ -3198,8 +3198,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) {