Fix FollowMe CallerID on outgoing calls.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 13 Dec 2011 23:10:42 +0000 (23:10 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 13 Dec 2011 23:10:42 +0000 (23:10 +0000)
commit090f9d83a542c52fa9122b77e837304bac9324eb
treec9ff620ca732a929fc9b8a0c5ee71bfbe42b58c5
parent7d1c55d093f44b0e468e04cab370e861de7c1878
Fix FollowMe CallerID on outgoing calls.

The addition of the Connected Line support changed how CallerID is passed
to outgoing calls.  The FollowMe application was not updated to pass
CallerID to the outgoing calls.

* Fix FollowMe CallerID on outgoing calls.

* Restructured findmeexec() to fix several memory leaks and eliminate some
duplicated code.

* Made check the return value of create_followme_number().  Putting a NULL
into the numbers list is bad if create_followme_number() fails.

* Fixed a couple uses of ast_strdupa() inside loops.

* The changes to bridge_builtin_features.c fix a similar CallerID issue
with the bridging API attended and blind transfers.  (Not used at this
time.)

(closes issue ASTERISK-17557)
Reported by: hamlet505a
Tested by: rmudgett

Review: https://reviewboard.asterisk.org/r/1612/
........

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

Merged revisions 348102 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_followme.c
bridges/bridge_builtin_features.c