summaryrefslogtreecommitdiff
path: root/channels/chan_skinny.c
diff options
context:
space:
mode:
authorDamien Wedhorn <voip@facts.com.au>2012-01-29 22:33:08 +0000
committerDamien Wedhorn <voip@facts.com.au>2012-01-29 22:33:08 +0000
commit843c7ef0887687439013c8bfac1be831cbb3a563 (patch)
tree0490e05d0c57f6f34ce3b7feb64f77195ea72a2d /channels/chan_skinny.c
parentdd35aa15556244a90d4e85992932dccf3a28e4f8 (diff)
Allow softkey reject while device onhook.
Fixes up softkey endcall. Previous code was a copy of onhook, now allows for endcall softkey to be used while device is still onhook. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r--channels/chan_skinny.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index ab967339f..5fa323620 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -6507,13 +6507,6 @@ static int handle_soft_key_event_message(struct skinny_req *req, struct skinnyse
if (skinnydebug)
ast_verb(1, "Received Softkey Event: End Call(%d/%d)\n", instance, callreference);
- if (d->hookstate == SKINNY_ONHOOK) {
- /* Something else already put us back on hook */
- /* Not ideal, but let's send updated time anyway, as it clears the display */
- transmit_definetimedate(d);
- return 0;
- }
-
if (l->transfer && sub && sub->xferor && sub->owner->_state >= AST_STATE_RING) {
/* We're allowed to transfer, we have two active calls and
we made at least one of the calls. Let's try and transfer */