move a large block into a separate function.
authorLuigi Rizzo <rizzo@icir.org>
Sat, 4 Nov 2006 00:01:40 +0000 (00:01 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sat, 4 Nov 2006 00:01:40 +0000 (00:01 +0000)
commit1385b6f047f38fe02971fb69543ac44dfb376d81
treee8570ae61d0bfe31a6e003c27b399cc0e275fa96
parent65beb9dc10ae2feece436a9797e1566979f691ee
move a large block into a separate function.
Mark with XXX a possible bug in previous code which used
the wrong source in case of a forwarded call.

the function do_forward() needs to be split further, as the initial
part is replicated in another places (with some minor differences, most likely
forgotten when updating after the copy).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c