Cisco Unified Application Environment Developer Forums

« Back to Developers

Re: [Cuae-developers] Recording phone conversation

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello Sukhadeo,

For you to record to a file, you would use the combination of JTAPI
actions and media server actions. Also you would be using the CTI ports.

You have to create a connection using CreateConnection action. You
specify the MediaTxIp and MediaTxPort. You get back a connection ID,
MediaRxIp and MediaRxPort. Pass the MediaRxIp and MediaRxPort to the
JTAPIStartMonitoring action (RxIp and RxPort)

If the JTAPIStartMonitoring action succeeds, use the Record action to
record the stream to a file. You have to pass the connection Id that you
got from the create connection. You can specify the file format and file
name.

At this point, you are done and you will have the call recorded to a
file.

There are few options that you have in terms of using a specific CTI
port or we selecting a CTI port from a device pool. Please refer to the
api reference.

Also there are few easy flavors of the JTAPIStartMonitoring
functionality where you can listen from a phone the conversation between
two other phones.

Let me know if you have further questions on this.

Please post your responses/question to cuae-developers alias
(cuae-developers@developer.cisco.com)

Thanks,
Rajesh

-----Original Message-----
From: cuae-dev@yahoogroups.com mailto:cuae-dev@yahoogroups.com On
Behalf Of sukhadeo_p
Sent: Tuesday, July 01, 2008 5:07 AM
To: cuae-dev@yahoogroups.com
Subject: [cuae-dev] Recording phone conversation

Hi,

I have CallId from JTapiIncomingCall triggering event.

Now to start the phone recording to a file, I have to use
JTAPIStartMonitoring API

Or

I can use Record API directly. But here I need ConnectionID. To get
connectionID I have to use CreateConnection API.

The place I am stuck is that both of these APIs JTAPIStartMonitoring and
CreateConnection APIs expect parameters which I do not have.

Pls. suggest which of these two options is best. And how to get these
parameters.

Regards,
Sukhadeo Prasad,
Parsec Technologies.

-----

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cuae-dev/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/cuae-dev/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:cuae-dev-digest@yahoogroups.com
mailto:cuae-dev-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
cuae-dev-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com

Hello Sukhadeo,

Also keep in mind that this feature is supported only in CUCM 6.x and above.

Thanks,
Rajesh

-----

Hello Sukhadeo,

For you to record to a file, you would use the combination of JTAPI actions and media server actions. Also you would be using the CTI ports.

You have to create a connection using CreateConnection action. You specify the MediaTxIp and MediaTxPort. You get back a connection ID, MediaRxIp and MediaRxPort. Pass the MediaRxIp and MediaRxPort to the JTAPIStartMonitoring action (RxIp and RxPort)

If the JTAPIStartMonitoring action succeeds, use the Record action to record the stream to a file. You have to pass the connection Id that you got from the create connection. You can specify the file format and file name.

At this point, you are done and you will have the call recorded to a file.

There are few options that you have in terms of using a specific CTI port or we selecting a CTI port from a device pool. Please refer to the api reference.

Also there are few easy flavors of the JTAPIStartMonitoring functionality where you can listen from a phone the conversation between two other phones.

Let me know if you have further questions on this.

Please post your responses/question to cuae-developers alias
(cuae-developers@developer.cisco.com)

Thanks,
Rajesh

-----Original Message-----
From: cuae-dev@yahoogroups.com mailto:cuae-dev@yahoogroups.com On Behalf Of sukhadeo_p
Sent: Tuesday, July 01, 2008 5:07 AM
To: cuae-dev@yahoogroups.com
Subject: [cuae-dev] Recording phone conversation

Hi,

I have CallId from JTapiIncomingCall triggering event.

Now to start the phone recording to a file, I have to use JTAPIStartMonitoring API

Or

I can use Record API directly. But here I need ConnectionID. To get connectionID I have to use CreateConnection API.

The place I am stuck is that both of these APIs JTAPIStartMonitoring and CreateConnection APIs expect parameters which I do not have.

Pls. suggest which of these two options is best. And how to get these parameters.

Regards,
Sukhadeo Prasad,
Parsec Technologies.

Thread moved from cuae-dev yahoo group.

Hello Sukhadeo,

Before i answer the question, I want to clarify by asking the question

1. When you say scale to 90 IP Phones, would you have 90 recording sessions, or only a percentage of it will have recording sessions?

If you would 90 recording sessions, yes, you would need 90 CTI ports. If not you can configure the number of CTI ports to the maximum number of recording sessions that you would have.

Role of CTI port:
The silent monitoring feature happens using the bridge in the phone. So ideally, it is used for a supervisor to monitor a conversation between a agent and a client.

If you want to record this conversation, you would have to connect the bridge on the phone to a media server (or something that can record an rtp stream). To make the media connection between the bridge in the phone and the media server, we use the CTI port.

So each recording session will need to connect to the media server and each such connection would need a CTI port.

Let me know if it helps.

Thanks,
Rajesh
-----
From: cuae-dev@yahoogroups.com mailto:cuae-dev@yahoogroups.com On Behalf Of Sukhadeo Prasad
Sent: Wednesday, July 02, 2008 11:16 PM
To: cuae-dev@yahoogroups.com
Subject: Re: [cuae-dev] RE: Recording phone conversation

Hi Rajesh,

Thanks for elaborating the solution. I have few more questions.

This recording solution is to be scaled up for 90 IPPhones. So do i need to create 90 CTI Ports. Moreover could you elaborate more on what is the role of CTI port in this scenario.

Regards,
Sukhadeo Prasad,
Parsec Technologies.