Using Freeswitch ESL Api answer a call from one sip remote softphone to another sip remote softphone using java

585 Views Asked by At

I want to answer a call ringing from one sip remote softphone to another sip remote softphone using Freeswitch ESL API in java.

I tried, using the uuid_answer API command to answer a call while getting "Unique-ID" form CHANNEL_CALLSTATE Event,

EslMessage response = client.sendSyncApiCommand("uuid_answer",Event_Header.get("Unique-ID"));

while this command executes successfully, enabling the dialer softphone to start listening while in the background it keeps on ringing the other softphone, and meanwhile the dial timeout and call ends.

0

There are 0 best solutions below