Hasan Syed
Hasan Syed

Reputation: 21

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

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.

Upvotes: 1

Views: 740

Answers (0)

Related Questions