Author Message
Swapnil_Bhosale
Joined: May 18, 2015
Messages: 88
Offline
Hi All,

I am trying to make a audio conference call.
I am using Joda Library to get current UTC Time and paasing it in Scopia XML API <Schedule_Conference_Request> request.

However, whenever i check the status of conference it shows "Start Failed".

Start Time Code :

public String createStartTime()
{
org.joda.time.DateTime zulu =new org.joda.time.DateTime( org.joda.time.DateTimeZone.UTC );
String utcDate=zulu.toString();
int index=utcDate.indexOf(".");
return utcDate.substring(0, index);

}


Scopia Create Conference Request :

String reqMsgCreate = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ "<MCU_XML_API>" + "<Request>"
+ "<Schedule_Conference_Request>"
+ "<RequestID>"+Integer.toString(r.nextInt(number))+"</RequestID>" + "<Conference>"
+ "<MemberId>"+memberId+"</MemberId>"
+ "<ServicePrefix>"+MyResource.scopiaServicePrefix+"</ServicePrefix>"
+ "<Subject>Meeting For Maintainance</Subject>"
+ "<Number>"+MyResource.scopiaServicePrefix+""+Integer.toString(r.nextInt(number))+"</Number>"
+ "<AccessPIN>ODczNTQz</AccessPIN>"
+ "<StartTime>"+startTime+"+05:30</StartTime>"
+ "<Duration>P0Y0M0DT1H30M15S</Duration>"
+ "</Conference>"
+ "</Schedule_Conference_Request>" + "</Request>"
+ "</MCU_XML_API>";


Conference Status :

<MCU_XML_API>
<Version>8.0</Version>
<Response>
<Get_Conference_Response>
<RequestID>99014488</RequestID>
<ReturnValue>OK</ReturnValue>
<Conference>
<MemberId>2033</MemberId>
<Number>7181838004</Number>
<AccessPIN/>
<ServiceTemplateId>10002</ServiceTemplateId>
<ServicePrefix>72</ServicePrefix>
<Priority>DELAY</Priority>
<AllowStreaming>OFF</AllowStreaming>
<StreamingStatus>UNDEFINED</StreamingStatus>
<ReservedPorts>
<Regular>0</Regular>
<SD>0</SD>
<HD>0</HD>
<FullHD>0</FullHD>
</ReservedPorts>
<BlockDialIn>false</BlockDialIn>
<AutoExtend>true</AutoExtend>
<WaitingRoom>false</WaitingRoom>
<AdvancedProperties>
<DurationAfterLeft>PT10M0.000S</DurationAfterLeft>
<TerminationCondition>AFTER_ALL_PARTIES_LEFT</TerminationCondition>
</AdvancedProperties>
<OneTimePINRequired>false</OneTimePINRequired>
<ConferenceId>3623</ConferenceId>
<Status>START_FAILED</Status>
<Subject>Meeting For Maintainance</Subject>
<StartTime>2015-07-02T14:11:00.000+05:30</StartTime>
<Duration>PT1H30M0.000S</Duration>
<LocationId>AUTO</LocationId>
<RecordingMeetingWhenStart>false</RecordingMeetingWhenStart>
</Conference>
</Get_Conference_Response>
</Response>
</MCU_XML_API>




What and how should i given start time so that conference will get schedule immediately and status should be "In-Session"

Please give me sample code to give start time with respect to my time zone i.e GMT +5:30.


Thanks in advance.


Thanks and regards,
Swapnil
Swapnil_Bhosale
Joined: May 18, 2015
Messages: 88
Offline
Hi All,

Issue is resolved.

I must give Access Pin field otherwise conference could not get started.
Thank you all.
JoelEzell
Joined: Nov 15, 2013
Messages: 780
Offline
Hi Swapnil, it's good to hear that you got your issue resolved. FYI, scheduling a conference is one of the operations that IS supported using our high level SchedConf API. You may want to look at using this API instead of using the XML API for this operation.
Swapnil_Bhosale
Joined: May 18, 2015
Messages: 88
Offline
Hi Joel,

I have tried with that as well,

But the issue is after scheduling 1 or two conference. It starts to give me "UNKNOWN_SERVER_ERROR"
After that i have to wait almost 1 hour then it works fine.

So i am using Scopia XML API

Go to:   
Mobile view