Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
We are trying to run an application which is using JTAPI "SendData" method to hard Cius device. "Allow Control of Device from CTI" box is checked for Cius but we are getting "Terminal is restricted" error. Our CUCM version is 7.1.5 and Cius Active load is sipcius.9.2.2-49
We are sending RTPMTx command to Cius for enabling the multicast RTP transmission from Cius.
 
Can you please let me know either JTAPI is supported for Cius on CUCM 7.1.5 or not?
 
Regards,
Umesh

RE: Cius and JTAPI
Answer
12/9/11 10:17 AM as a reply to Umesh Chaurasia.
We are also sufferring from nearly the same problem on cius works on CUCM 8.6.2.21007-1 with version 9-2-1SR1-19SEC. We're unable to receive any jtapi or tapi events of any cius device.
 
Any ideas?

RE: Cius and JTAPI
Answer
12/12/11 6:35 PM as a reply to Umesh Chaurasia.
Umesh -

There is no XSI service on the Cius, so sendData will not work on the Cius device. If you can tell us more about the use-case you are trying to solve, we can help you determine how to accomplish your task on Android.

The ¿terminal restricted¿ error can occur if the device is not configured to allow CTI access, or the CTI user does not have the correct permissions. Most modern Cisco phones which have ¿connected transfer/conf¿ and ¿rollover¿ features and require additional CTI roles of:

Standard CTI Allow Control of Phones supporting Connected Xfer and conf
Standard CTI Allow Control of Phones supporting Rollover Mode

Please try this on the Cius and see if it resolves the 'terminal restricted' error.

thanks,
Amanda Whaley

RE: Cius and JTAPI
Answer
12/13/11 8:43 AM as a reply to Amanda Whaley.
Hi Amanda,

We are working on 3 applications for Cius. We received Cius from Cisco. Our Cius Active load is sipcius.9.2.2-49. Applications/Use case on which we rae working are -
- Advance Directory Search - ADS ( Similar to CIsco Corporate Directory with search on multiple fields and all numbers will be displaed etc)
- Voice Relay (Paging using multicast)
- External Caller detail

We tested ADS and it's working fine.
For Voice relay, Cius is one end point in relay system. When Voice Relay will be initiated from Cius, this will act as transmitter and other Cisco IP phones will act as receiver. We are using RTPMRx and RTPMTx XSI command to Cius and CIsco IP phone for voice relay.

The first role I have already added, now I will add "Standard CTI Allow Control of Phones supporting Rollover Mode" role and try again. Our application is getting JTAPI terminal restricted error.

You have mentioned that "There is no XSI service on the Cius", but in ADS application we send "Dial:xxxx" XSI xommand and it's working.
 
Regards,
Umesh

RE: Cius and JTAPI
Answer
12/13/11 9:53 AM as a reply to Umesh Chaurasia.
After adding "Standard CTI Allow Control of Phones supporting Rollover Mode" role, "Terminal Restricted" error resolved.

So here Cius is transmiiter and my other 2 Cisco IP phones are multicast receiver. When I run voice relay application I can see speaker and mute button of 2 IP phones get activated as we are sending RTPMRx to ip phones and RTPMTx to Cius.

There is no voice transmitting from Cius to Cisco IP phones. Does CIus supports RTPMTx XSI command?

Regards,
Umesh

RE: Cius and JTAPI
Answer
12/14/11 12:32 AM as a reply to Umesh Chaurasia.
Umesh -
I am glad that the "Terminal Restricted" error has been resolved.

The Cius supports RTPMTx command, but in a different way than a regular IP phone.

Our team has not completed extensive testing of this feature, but
you can find out more about how to use this command on the Cius by referencing the
CiusAdd-onLegacyXMLSupport.pdf document which is included in the extras folder of the Cius Add-on download.

Please note that there is a typo in the RTPMTx section of the document -- the URI Format is missing an M in RTPTx

thanks -
Amanda Whaley

RE: Cius and JTAPI
Answer
1/16/12 2:22 PM as a reply to Umesh Chaurasia.
Hi,

We tried with window.xsi.invokeURI(<URI>) API, the "Dial" and "EditDial" commands are working fine but RTPMTx and RTPMRx not working.
We also tested directory sample delivered with addon.

Our CUCM version is 7.1.5 and Cius Active load is sipcius.9.2.2-49. Do I need to upgrade Cius firmware or CUCM?

Assume RTPMTx/RTPMRx start working on initiator Cius how the command will be invoked on remote Cius? Do we need to deploy some socket listener application to invoke window.xsi.invokeURI(<URI>) API on remote Cius. What should be our application design to push command on remote Cius like for IP phone there was /CGI/Execute and JTAPI SendData API.

Regards,
Umesh

RE: Cius and JTAPI
Answer
1/17/12 2:02 PM as a reply to Umesh Chaurasia.
Today we have tested with CUCM 8.5 , result is same. RTPMTx/RTPMRx with window.xsi.invokeURI not working.

Our Cius details are -
CIUS-7
Android Version - 2.2.2
Kernel Version - 2.6.31.6-mrst
Active Load - sipcius 9-2-2-49
Can you please help us to resolve this issue?

Regards,
Umesh

RE: Cius and JTAPI
Answer
1/27/12 10:15 PM as a reply to Umesh Chaurasia.
Hi,
 
You can use the SendData method to send data to a Cius in CUCM version 8.5, I've tested that myself.  The data shows up in the onXSIEvent() in the DeviceListener.  I'm not sure why it wouldn't work in 7.1.5.

 
However, personally, I don't do it this way.  The problem is that unlike our other phones there can be more than one application that expects data to delivered this way, each application has to ignore data targeted at other applications, so in general I would advise against it.
 
Here are a few options that I like
 
1.) Use C2DM.  This is the "Android way" to send notifications.  Matt Williams wrote a nice Blog post about C2DM a while back.
2.) Use XMPP.  XMPP isn't just for instant messages.  XMPP is fast, lightweight and allows both one to one and one to many communications.

 
 
Larry M.
 
Hi,
 
We are trying to run an application which is using JTAPI "SendData" method to hard Cius device. "Allow Control of Device from CTI" box is checked for Cius but we are getting "Terminal is restricted" error. Our CUCM version is 7.1.5 and Cius Active load is sipcius.9.2.2-49
We are sending RTPMTx command to Cius for enabling the multicast RTP transmission from Cius.
 
Can you please let me know either JTAPI is supported for Cius on CUCM 7.1.5 or not?
 
Regards,
Umesh