- Make sure we set setvar= variables on outbound calls too, not only inbound calls.
authorOlle Johansson <oej@edvina.net>
Thu, 29 Jan 2009 13:21:31 +0000 (13:21 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 29 Jan 2009 13:21:31 +0000 (13:21 +0000)
commitb79a12e929890e700019e0939c95ee4e53575dd2
tree6b8c5d709dac29067781e8d11c487a36e1490343
parent3e144e2a71abdcf37175870ecef811827c9c22f9
- Make sure we set setvar= variables on outbound calls too, not only inbound calls.
- Also, change a function in app.c to return a userful value instead of always returning 0.

Patch by fnordian, changed by Corydon76 and myself.

This does not close the bug report, as fnordian had an additional change we're still discussing.

(related to issue #14059)
Reported by: fnordian
Patches:
      chan_sip_hfield.patch uploaded by fnordian (license 110)
      20090116__bug14059.diff.txt uploaded by Corydon76 (license 14)
Tested by: fnordian, Corydon76, oej

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@172268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
include/asterisk/app.h
main/app.c