cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
136
Views
0
Helpful
0
Replies
vyapaka85
Beginner

Call Hang up/Drop Not working

Hello All,  Below is my scenario

  1.   Extension A is observed 
  2.   Caller calls from PSTN to Extension A
  3.   Extension A rings and A Rejects the call.

I am using call.drop() to reject the call. When I invoke this, the call seems to disconnect and then ring all over again. Need to Invoke the drop method couple of times to actually disconnect the call.

However the same drop method works in first attempt,  if I call Extension A from Extension B which is also under same provider.

Also, tried call drop and disconnect methods from JTAPI test client as well and the behavior is the same. which is get a call -> rings (with callid 1) -> drop() ->seems to disconnect ->Rings again (This time with callid 2)

Is there some other way this needs to be tackled? below is my code

                                      

           Terminal userTerminal = init.getProvider().getTerminal(terminal);
           Call call = TerminalUtilities.getCallWithId(userTerminal, callId);
                      if (call != null) {
                                  CiscoCall callImpl = (CiscoCall) call;
                                  callImpl.drop();
                                LOG.info("{} dropCall - Dropped call : {} ", extnTermLogStr, callId);
                                                }
0 REPLIES 0
Content for Community-Ad