app_dial.c: Force COLP update if outgoing channel name changed.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 24 Sep 2015 17:59:08 +0000 (12:59 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 25 Sep 2015 17:40:31 +0000 (12:40 -0500)
commit680b76eb2541229f6bd2261c55960e7174314ed3
treec16f97eb6e178e305bd5742c71355aaedebe02da
parentfdf0bcb04a0c768fac80adbf41164210586ab403
app_dial.c: Force COLP update if outgoing channel name changed.

* When a call is answered and the outgoing channel name has changed then
force a connected line update because the channel is no longer the same.
The channel was masqueraded into by another channel.  This is usually
because of a call pickup.

Note: Forwarded calls are handled in a controlled manner so the original
channel name is replaced with the forwarded channel.

ASTERISK-25423
Reported by: John Hardin

Change-Id: I2e01f7a698fbbc8c26344a59c2be40c6cd98b00c
apps/app_dial.c