Author Message
nirfar
Joined: Dec 3, 2014
Messages: 61
Offline
hi

i am using Conference Call Service cstaConferenceCall() with emc softphone sdk.

after the conference call is complete, i still get connection in the second device that create the conference
this connection is not released as expected.

i cant clear this connection.

tried clear call - disconnect all parties
clear connection is not responding

how can i to close the connection ? this connection have the same callid as the conference in the first device


the flow for the call

1. incoming acd call in line 1 - alreting
2. outgoing call from second line to IVR.
3. conference between second line to first line (i need to add the call from second line to conference with the customer in first line)

call delivered
{click call appearance (2) --> call dial 2nd dn}
established
{click call appearance --> call answer(alerting call)}
established
{csta conference call(incoming call, hold call)

//asxmlstation.currentcall.count==2

conference
{
// asxmlstation description
//telephony description only one current call at call appearance one
//asxmlstation.currentcall[0].connection.callid== asxmlstation.currentcall[1]. connection.callid
}

{
//asxmlstation.currentcall[0].callapperrance==1
//asxmlstation.currentcall[1].callapperrance==2
}


thanks
Nir
CedricDSouza
Joined: Nov 6, 2008
Messages: 14
Offline
You can use XMLStation.GetCallByUCID(CurrentCallUCID) to get the current conference call

This returns StationCall object say objStationCall

Using this you can check if the state is alerting / connecting use the CallRelease API otherwise use CallPartyDrop passing the station DN of the party to drop.

if (objStationCall.CallState == enCallState.Alerting || objStationCall.CallState == enCallState.Connecting)
{
XMLStation.CallRelease(objStationCall);
}
else
XMLStation.CallPartyDrop(strPartyDN, objStationCall);
Go to:   
Mobile view