Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
Forum Index » DMCC APIs » DMCC Call Agent on PHP [Beginner Request]   XML
 
Author Message
GagandeepSingh



Joined: 19/11/2013 11:43:54
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.

This message was edited 1 time. Last update was at 19/11/2013 11:56:08

MartinFlynn



Joined: 30/11/2009 05:00:18
Messages: 1758
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: 19/11/2013 11:43:54
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: 17/07/2014 19:28:00
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: