callscreen: use ReleaseAndAnswer just when there is active call.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 11 Aug 2012 20:35:35 +0000 (17:35 -0300)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 11 Aug 2012 20:35:35 +0000 (17:35 -0300)
commitb77a0482c6c97d75fb562e1b3f8b14c0d83beb31
tree95773470fd4c2f76564ecab6c3a19bfc083179e8
parent9c7f7ce80ebbf29c52163f0293c6783f51617402
callscreen: use ReleaseAndAnswer just when there is active call.

Otherwise, if there is a Held call, we must call Hangup directly.

Fixes #23 (Hangup call turns into swap calls)
dialer/callscreen.c