Project

General

Profile

Call Management

Added by zl over 3 years ago

Hi,
I have a few questions regarding the call management. When I start a call there is the event "CallDialled". Is there also an event when the call has been answered? Or is there any other way to check this? And is there any way to check whether an outgoing call has been ended after it has been answered? And a third question: Although I have one active call the "GetCurrentCalls()" function always returns 0 (I tried it using the demo application).

Best regards
Felix


Replies (4)

RE: Call Management - Added by admin over 3 years ago

Hi,

Try with the attached patch, and use GetCurrentCalls to retrieve the active calls.

Thanks
Regards
admin

RE: Call Management - Added by zl over 3 years ago

Hey,
thanks for the patch. This seems to work, so many thanks.

Best regards
Felix

RE: Call Management - Added by zl over 3 years ago

Hey, I have another problem. It seems, that the Dial(...) method blocks the mobile gateway instance until the other party has answered the call. This leads to 2 major problems:

  1. The CallDialled Event is first fired when the call has been answered
  2. If the other party does not answer the call I have no more control about the gateway (I cant hangup because Dial() is blocking)

Is this the normal behaviour?

RE: Call Management - Added by zl over 3 years ago

Sorry, my fault. COLP was turned on for my device although my documentation said it would be turned off by default. So I had to disable it manually. Now Dial() is no more blocking

    (1-4/4)