Author Message
JAYAGANESH
Joined: Mar 29, 2010
Messages: 0
Offline
Multiple registration method- Is it possible to control call recording by jtapi events.
(i mean, can i start or stop recording by jtapi events)

JohnBiggs
Joined: Jun 20, 2005
Messages: 1142
Location: Rural, Virginia
Offline
Have you read the " DevConnect Developer Guide: Developing Client-side Call Recording Applications using Avaya Application Enablement Services" White Paper?

https://devconnect.avaya.com/public/flink.do?f=/public/download/AES/WhitePapers/AEServicesCallRecording_SVC4050.pdf

The answer to your question is no. Multiple registrations per device is a DMCC service.. JTAPI plays no role in that solution.
QizhiYi
Joined: Jan 8, 2014
Messages: 0
Offline
Do I need extra license to do Multiple registrations?

I can't register two registrations with independent or with one main and one dependent.

And the redirectMedia api seems no working. I receive no errors, just not working.
JohnBiggs
Joined: Jun 20, 2005
Messages: 1142
Location: Rural, Virginia
Offline
Each DMCC registration consumes a VALUE_AES_DMCC_DMC license on AE Services (or an IP_API_A license on Communication Manager). Which will depend on protocol version in use, product releases, and configuration details.

In a Multiple Registrations per device case, There are many possible permutations, but if the registration(s) come through DMCC, then each registration consumes one DMCC_DMC/IP_API_A license.

2) What do the dmcc-trace.log.0 trace files show you? What type of error are you getting? ... your statement is similar to someone saying sometimes my car doesn't start, and expecting the other party to give a diagnosis.

3) Again what do the trace files show? What preconditions are we talking about? What is your setup? The redirectMedia does work in every release I have tested, however without a more complete statement of your setup, I can not be of any help.

QizhiYi
Joined: Jan 8, 2014
Messages: 0
Offline
I open two Dashboard 4.2.46.0
firstly registering device in Main succeed
second registering device in Dependent failed.
I got 'invalidDeviceState' . Can you advise ?

--- Session one register device 6449 in Main
---------------------
Outgoing XML 1
<?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>testTool</applicationID>
<applicationSpecificInfo>
<SessionLoginInfo xmlns="http://www.avaya.com/csta">
<userName xmlns="">Ctiuser01</userName>
<password xmlns="">Ctiuser01!</password>
<sessionCleanupDelay xmlns="">60</sessionCleanupDelay>
<sessionID xmlns="" />
</SessionLoginInfo>
</applicationSpecificInfo>
</applicationInfo>
<requestedProtocolVersions>
<protocolVersion>http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv3</protocolVersion>
</requestedProtocolVersions>
<requestedSessionDuration>180</requestedSessionDuration>
</StartApplicationSession>
-----------------------
Incoming XML 1 -1
<?xml version="1.0" encoding="UTF-8"?><StartApplicationSessionPosResponse xmlns="http://www.ecma-international.org/standards/ecma-354/appl_session"><sessionID>B3B224C7476D375BF74E74A7D38DE086-565</sessionID><actualProtocolVersion>http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv3</actualProtocolVersion><actualSessionDuration>180</actualSessionDuration></StartApplicationSessionPosResponse>
---------------------
Outgoing XML 2
<?xml version="1.0" encoding="utf-8"?>
<GetDeviceId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.avaya.com/csta">
<switchName>S8700</switchName>
<switchIPInterface>172.16.3.204</switchIPInterface>
<extension>6449</extension>
<controllableByOtherSessions>true</controllableByOtherSessions>
</GetDeviceId>
-----------------------
Incoming XML 2 -1
<?xml version="1.0" encoding="UTF-8"?><GetDeviceIdResponse xmlns="http://www.avaya.com/csta"><device typeOfNumber="other" mediaClass="voice" bitRate="constant">6449:S8700:172.16.3.204:0</device></GetDeviceIdResponse>
---------------------
Outgoing XML 3
<?xml version="1.0" encoding="utf-8"?>
<RegisterTerminalRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.avaya.com/csta">
<device typeOfNumber="other" mediaClass="notKnown">6449:S8700:172.16.3.204:0</device>
<loginInfo>
<forceLogin>true</forceLogin>
<sharedControl>false</sharedControl>
<password>123456</password>
<mediaMode>CLIENT</mediaMode>
<dependencyMode>MAIN</dependencyMode>
</loginInfo>
<localMediaInfo>
<rtpAddress>
<address>172.16.1.64</address>
<port>31000</port>
</rtpAddress>
<rtcpAddress>
<address>172.16.1.64</address>
<port>31001</port>
</rtcpAddress>
<codecs>g711U</codecs>
<packetSize>20</packetSize>
<encryptionList>none</encryptionList>
</localMediaInfo>
</RegisterTerminalRequest>
-----------------------
Incoming XML 3 6449:S8700:172.16.3.204:0
<?xml version="1.0" encoding="UTF-8"?><RegisterTerminalResponse xmlns="http://www.avaya.com/csta"><device><deviceIdentifier xmlns:ns1="http://www.ecma-international.org/standards/ecma-323/csta/ed3" typeOfNumber="other" mediaClass="voice" bitRate="constant">6449:S8700:172.16.3.204:0</deviceIdentifier></device><signalingEncryption>challenge</signalingEncryption><code>1</code></RegisterTerminalResponse>


=== session 2 in Dependent

---------------------
Outgoing XML 1
<?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>testTool</applicationID>
<applicationSpecificInfo>
<SessionLoginInfo xmlns="http://www.avaya.com/csta">
<userName xmlns="">Ctiuser01</userName>
<password xmlns="">Ctiuser01!</password>
<sessionCleanupDelay xmlns="">60</sessionCleanupDelay>
<sessionID xmlns="" />
</SessionLoginInfo>
</applicationSpecificInfo>
</applicationInfo>
<requestedProtocolVersions>
<protocolVersion>http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv3</protocolVersion>
</requestedProtocolVersions>
<requestedSessionDuration>180</requestedSessionDuration>
</StartApplicationSession>
-----------------------
Incoming XML 1 -1
<?xml version="1.0" encoding="UTF-8"?><StartApplicationSessionPosResponse xmlns="http://www.ecma-international.org/standards/ecma-354/appl_session"><sessionID>8721ED1436B0530B548A3825AB0965F7-566</sessionID><actualProtocolVersion>http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv3</actualProtocolVersion><actualSessionDuration>180</actualSessionDuration></StartApplicationSessionPosResponse>
---------------------
Outgoing XML 2
<?xml version="1.0" encoding="utf-8"?>
<GetDeviceId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.avaya.com/csta">
<switchName>S8700</switchName>
<switchIPInterface>172.16.3.204</switchIPInterface>
<extension>6449</extension>
<controllableByOtherSessions>true</controllableByOtherSessions>
</GetDeviceId>
-----------------------
Incoming XML 2 -1
<?xml version="1.0" encoding="UTF-8"?><GetDeviceIdResponse xmlns="http://www.avaya.com/csta"><device typeOfNumber="other" mediaClass="voice" bitRate="constant">6449:S8700:172.16.3.204:0</device></GetDeviceIdResponse>
---------------------
Outgoing XML 3
<?xml version="1.0" encoding="utf-8"?>
<RegisterTerminalRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.avaya.com/csta">
<device typeOfNumber="other" mediaClass="notKnown">6449:S8700:172.16.3.204:0</device>
<loginInfo>
<forceLogin>true</forceLogin>
<sharedControl>false</sharedControl>
<password>123456</password>
<mediaMode>CLIENT</mediaMode>
<dependencyMode>DEPENDENT</dependencyMode>
</loginInfo>
<localMediaInfo>
<rtpAddress>
<address>172.16.1.64</address>
<port>31000</port>
</rtpAddress>
<rtcpAddress>
<address>172.16.1.64</address>
<port>31001</port>
</rtcpAddress>
<codecs>g711U</codecs>
<packetSize>20</packetSize>
<encryptionList>none</encryptionList>
</localMediaInfo>
</RegisterTerminalRequest>
-----------------------
Incoming XML 3 6449:S8700:172.16.3.204:0
<?xml version="1.0" encoding="UTF-8"?><CSTAErrorCode xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3"><stateIncompatibility>invalidDeviceState</stateIncompatibility></CSTAErrorCode>
JohnBiggs
Joined: Jun 20, 2005
Messages: 1142
Location: Rural, Virginia
Offline
Try setting the 'Controllable by other sessions' flag on the GetDeviceID request for the device ID used by the MAIN registration.
Go to:   
Mobile view