Author Message
GagandeepSingh
Joined: Nov 19, 2013
Messages: 2
Offline
We are developing a basic Avaya Call Agent application using DMCC services on AES. As we are starting with very basic application we are using PHP as framework.

Currently I am trying to StartApplicationSession in order to check connectivity with DMCC on AES.

As per understanding from the Dev doc i need to send a request in order to get session id from server.

I am facing some issues doing that which are listed below:


I am using POST URL as "http://10.130.1.78:4721/". Is it correct url or i am doing something wrong here.

Current Header looks like

Host: 10.130.1.78:4721
Content-Length: 896
Content-Type: application/xml
Version: 00
Invoke ID: 3321


XML Body as


<?xml version="1.0" encoding="utf-8"?>
<StartApplicationSession
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-354/appl_session">
<applicationInfo>
<applicationID>mdApp</applicationID>
<applicationSpecificInfo>
<SessionLoginInfo xmlns="http://www.avaya.com/csta">
<userName xmlns="">userid</userName>
<password xmlns="">password</password>
<sessionCleanupDelay xmlns="">60</sessionCleanupDelay>
<sessionID xmlns="" />
</SessionLoginInfo>
</applicationSpecificInfo>
</applicationInfo>
<requestedProtocolVersions>
<protocolVersion>http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv2</protocolVersion>


Can anybody help me get this right. Any kind of help will be appreciated.

By sending above XML i get below given response.

[Fiddler] ReadResponse() failed: The server did not return a response for this request.Server returned 0 bytes.
MartinFlynn
Joined: Nov 30, 2009
Messages: 1921
Offline
DMCC is not a web service and does not operate over HTTP. You need to open a socket to the AE Services DMCC port.

Download the DMCC XML SDK. It includes some sample code in c++ which will give you a good idea as to what is involved. The process should be similar using PHP.

Martin
GagandeepSingh
Joined: Nov 19, 2013
Messages: 2
Offline
Thanks Martin for your response.

I have the SDK with me, I'll check that and get back to you if need more help on this.
GreggB
Joined: Jul 17, 2014
Messages: 1
Offline
Hi

I know this is an old post but was wondering if you got this working with php?

Thanks
Gregg
Go to:   
Mobile view