Author Message
FatihCEVIK
Joined: Nov 12, 2013
Messages: 7
Offline
Hi,

I'm trying to make conference call with 6.3 SDK and with Visual C# 2010 platform. At first i'm placing a call from extension 4000(my DMCC extension)to extension1003 and after connection established, i'm holding active call and placing new call with MakeCall method and calling extension 1000 and after 1000 answered me and connection established then i'm placing my conference call code and with held call and new active call.
This my code worked me few times but most of times i couldnt place conference call with successfull.and my getThirdPartyCallController_OnConferencedEvent event even not is firing then conference is unsuccessfull!

Here is my code block;

ThirdPartyCallController.CallIdentifier activeCall = new ThirdPartyCallController.CallIdentifier(DeviceId, cCallHistory[CallId);
ThirdPartyCallController.CallIdentifier heldCall = new ThirdPartyCallController.CallIdentifier(heldCallDeviceId, heldCallCallId);

serviceProvider.getThirdPartyCallController.ConferenceCall(activeCall, heldCall, null);

I also tried that same process with dashboard.exe and result is same. But i tried same scenario with Onex Communicator conference between those extensions works perfeck but not with my code or dashboard or i also tired AES .NET C# sample applicaiton with name "popupapp_1_1" it also acting same as my code. Conference not working.


Have any idea ?

"I can provide you any log if you ask."

Regards
Fatih CEVIK
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
It looks like you may be using a different DeviceID for each call identifier. Make sure you are using the controlling party's DeviceID for both calls.

Martin
FatihCEVIK
Joined: Nov 12, 2013
Messages: 7
Offline
Hi,

I checked that what you told about DeviceIDs, but dasboard is also acting same. It looks like held connection stays in a state like hold and not retriving back for conference. I have dasboad incoming and outgoing XMLs about my conference scenario. I can send you as an email if ou wish

Regards
Fatih
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online
I made the same call using the dashboard and had no problems. The XML trace below may help you to figure out what you are doing wrong. Note that I answered the first call before putting it on hold and answered the second call before performing the conference:

Outgoing XML 2
<?xml version="1.0" encoding="utf-8"?>
<MakeCall xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<callingDevice typeOfNumber="other" mediaClass="notKnown">40204:CM10::0</callingDevice>
<calledDirectoryNumber typeOfNumber="other" mediaClass="notKnown">40203:CM10::0</calledDirectoryNumber>
<callCharacteristics>
<priorityCall>false</priorityCall>
</callCharacteristics>
</MakeCall>
-----------------------
Incoming XML 2
<?xml version="1.0" encoding="UTF-8"?>
<MakeCallResponse xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<callingDevice>
<callID>4741</callID>
<deviceID typeOfNumber="other" mediaClass="notKnown" bitRate="constant">40204:CM10::0</deviceID>
</callingDevice>
<extensions>
<privateData>
<private>
<MakeCallResponsePrivateData xmlns:ns1="http://www.avaya.com/csta" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="MakeCallResponsePrivateData">
<callLinkageData>
<globalCallData>
<globalCallLinkageID>
<globallyUniqueCallLinkageID>00010047411378378397</globallyUniqueCallLinkageID>
</globalCallLinkageID>
</globalCallData>
</callLinkageData>
</MakeCallResponsePrivateData>
</private>
</privateData>
</extensions>
</MakeCallResponse>

----- Answered the call at 40203 -----

---------------------
Outgoing XML 4
<?xml version="1.0" encoding="utf-8"?>
<HoldCall xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<callToBeHeld>
<deviceID typeOfNumber="other" mediaClass="notKnown">40204:CM10::0</deviceID>
<callID>4741</callID>
</callToBeHeld>
</HoldCall>
-----------------------
Incoming XML 4
<?xml version="1.0" encoding="UTF-8"?>
<HoldCallResponse xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3" />
---------------------
Outgoing XML 5
<?xml version="1.0" encoding="utf-8"?>
<MakeCall xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<callingDevice typeOfNumber="other" mediaClass="notKnown">40204:CM10::0</callingDevice>
<calledDirectoryNumber typeOfNumber="other" mediaClass="notKnown">40201:CM10::0</calledDirectoryNumber>
<callCharacteristics>
<priorityCall>false</priorityCall>
</callCharacteristics>
</MakeCall>
-----------------------
Incoming XML 5
<?xml version="1.0" encoding="UTF-8"?>
<MakeCallResponse xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<callingDevice>
<callID>4742</callID>
<deviceID typeOfNumber="other" mediaClass="notKnown" bitRate="constant">40204:CM10::0</deviceID>
</callingDevice>
<extensions>
<privateData>
<private>
<MakeCallResponsePrivateData xmlns:ns1="http://www.avaya.com/csta" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="MakeCallResponsePrivateData">
<callLinkageData>
<globalCallData>
<globalCallLinkageID>
<globallyUniqueCallLinkageID>00010047421378378449</globallyUniqueCallLinkageID>
</globalCallLinkageID>
</globalCallData>
</callLinkageData>
</MakeCallResponsePrivateData>
</private>
</privateData>
</extensions>
</MakeCallResponse>


----- Answered the call at 40201 -----

---------------------
Outgoing XML 7
<?xml version="1.0" encoding="utf-8"?>
<ConferenceCall xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<heldCall>
<deviceID typeOfNumber="other" mediaClass="notKnown">40204:CM10::0</deviceID>
<callID>4741</callID>
</heldCall>
<activeCall>
<deviceID typeOfNumber="other" mediaClass="notKnown">40204:CM10::0</deviceID>
<callID>4742</callID>
</activeCall>
</ConferenceCall>
-----------------------
Incoming XML 7
<?xml version="1.0" encoding="UTF-8"?>
<ConferenceCallResponse xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<conferenceCall>
<callID>4742</callID>
<deviceID typeOfNumber="other" mediaClass="notKnown" bitRate="constant">40204:CM10::0</deviceID>
</conferenceCall>
<connections>
<connectionListItem>
<newConnection>
<callID>4742</callID>
<deviceID typeOfNumber="other" mediaClass="notKnown" bitRate="constant">40204:CM10::0</deviceID>
</newConnection>
<endpoint>
<deviceID typeOfNumber="explicitPrivate:localNumber" mediaClass="notKnown" bitRate="constant">40204:CM10::0</deviceID>
</endpoint>
</connectionListItem>
<connectionListItem>
<newConnection>
<callID>4742</callID>
<deviceID typeOfNumber="other" mediaClass="notKnown" bitRate="constant">40201:CM10::0</deviceID>
</newConnection>
<endpoint>
<deviceID typeOfNumber="explicitPrivate:localNumber" mediaClass="notKnown" bitRate="constant">40201:CM10::0</deviceID>
</endpoint>
</connectionListItem>
<connectionListItem>
<newConnection>
<callID>4742</callID>
<deviceID typeOfNumber="other" mediaClass="notKnown" bitRate="constant">40203:CM10::0</deviceID>
</newConnection>
<endpoint>
<deviceID typeOfNumber="explicitPrivate:localNumber" mediaClass="notKnown" bitRate="constant">40203:CM10::0</deviceID>
</endpoint>
</connectionListItem>
</connections>
<extensions>
<privateData>
<private>
<ConferenceCallResponsePrivateData xmlns:ns1="http://www.avaya.com/csta" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ConferenceCallResponsePrivateData">
<callLinkageData>
<globalCallData>
<globalCallLinkageID>
<globallyUniqueCallLinkageID>00010047411378378397</globallyUniqueCallLinkageID>
</globalCallLinkageID>
</globalCallData>
</callLinkageData>
</ConferenceCallResponsePrivateData>
</private>
</privateData>
</extensions>
</ConferenceCallResponse>

FatihCEVIK
Joined: Nov 12, 2013
Messages: 7
Offline
Hi,
I find out that i have to press Conf. button (for conference) 2 times on dashboard app. I mean while i'm on a call and then pressing Conf. button then it lets me dial new ext number to dial for conference after that 3th ext accepts call but till now conference not started yet until i press Conf. button 2nd time again then conference starts. Is this the way how it works?

This worked on my .Net app which we developing too. When i run my conference code block two times it works and Conference call stars. Not at first time but i ned to pass these code block 2 times.

try
{
consultationFlag = false;

ThirdPartyCallController.CallIdentifier activeCall = new ThirdPartyCallController.CallIdentifier(DeviceId, cCallHistory[cCallHistory.CurrentCallIndex].CallId);
ThirdPartyCallController.CallIdentifier heldCall = new ThirdPartyCallController.CallIdentifier(heldCallDeviceId, heldCallCallId);

int invokeId = serviceProvider.getThirdPartyCallController.ConferenceCall(activeCall, heldCall, null);
}
catch (Exception ex)
{
MessageBox.Show("Conference Call: " + ex.Message, "Hata");
callLogForm.Logout();
Application.Exit();
}

Wanted to know reason ?

Thnaks
Fatih
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Online

> I find out that i have to press Conf. button (for conference) 2 times on dashboard

That is correct. Pressing buttons on the dashboard simulates pushing them on the real phone. To conference a call using a phone involves the following steps:

1. While on a call, push the Conference button. This puts the first call on hold and starts another call.

2. Dial the number of the 3rd extension.

3. Push the Conference button (it may have been renamed to "Complete") to put all phones into a conference.

> Not at first time but i ned to pass these code block 2 times.

That should not be the case. If the first call is on Hold and the second call is active (either one phone is ringing or two phones are talking) then ConferenceCall() will complete the conference. This is shown in the XML I inserted to this thread previously.

Martin
Go to:   
Mobile view