How to start, stop and restart recording a call with API?

113 views
Skip to first unread message

Eric Hernaez

unread,
Dec 10, 2013, 2:11:43 AM12/10/13
to netsapiens-de...@googlegroups.com
Chris,

Can you please advise how to use the API to start, stop and then restart recording during a single call session?

Thanks

Chris Aaker

unread,
Dec 10, 2013, 10:39:03 AM12/10/13
to Eric Hernaez, netsapiens-de...@googlegroups.com
The object will be "call" the action will be "record_on" or "record_off". You will need to provide the uid (user@domain) off one leg of the call as well as the callid. This is similar to initiating a hold via the api, the actions there are "hold_orig"/"hold_term" and "unhold"

Chris


--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--

Chris Aaker

NetSapiens Inc.
920 Kline St. #400, La Jolla, CA 92037
Phone: +1 (866) 4-VOIP-IQ x5226 Direct: +1 (858) 764-5226
Email: caa...@netsapiens.com gChat- c.a...@gmail.com

Megan McKenna

unread,
Dec 24, 2013, 10:46:01 AM12/24/13
to netsapiens-de...@googlegroups.com
Chris,
 
If we want to turn on the call recording feature and leave it on, will we simply use "record_on" as mentioned below? You also mentioned, needing the UID, will that be necessary if we are only wanting to turn on the recording at this point?

Megan McKenna

unread,
Dec 31, 2013, 1:19:10 PM12/31/13
to netsapiens-de...@googlegroups.com, Rohit K
Chris,
 
We have tried to use the record_on call action, but have not been able to activate the recording feature on the device. We have tried to write it into the subscriber and device rules, neither worked. I have added the programmer to the thread incase he has additional input. All we are trying to do is turn on the recording feature permanently and then be able retrieve the recordings. Additional instruction on how to do this would be great.
 
Thanks in advance,
 
 
On Tuesday, December 10, 2013 1:11:43 AM UTC-6, Eric Hernaez wrote:

Chris Aaker

unread,
Dec 31, 2013, 11:05:51 PM12/31/13
to Megan McKenna, netsapiens-de...@googlegroups.com
No, for permanent recording of a device you will need to use object "recording", action "create" and give the full sip uri as field "aor". This is assuming you have a working Licf setup already in place. 

Chris 


--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Megan McKenna

unread,
Jan 7, 2014, 12:58:47 PM1/7/14
to netsapiens-de...@googlegroups.com, Megan McKenna, Rohit K
Please advise if this script would be correct and properly turn on call recording permanently. If not, can you please a working sample?
 
:domain => "Entering domain name here",
        :user => "test_number,
         :aor=> "sip:1234@domainname"
              :object => 'recording',
            :action => 'create'
           
 
 
 
On Tuesday, December 31, 2013 10:05:51 PM UTC-6, Chris Aaker wrote:
No, for permanent recording of a device you will need to use object "recording", action "create" and give the full sip uri as field "aor". This is assuming you have a working Licf setup already in place. 

Chris 
On Tue, Dec 24, 2013 at 5:46 AM, Megan McKenna <meganmc...@gmail.com> wrote:
Chris,
 
If we want to turn on the call recording feature and leave it on, will we simply use "record_on" as mentioned below? You also mentioned, needing the UID, will that be necessary if we are only wanting to turn on the recording at this point?
 

On Tuesday, December 10, 2013 1:11:43 AM UTC-6, Eric Hernaez wrote:
Chris,

Can you please advise how to use the API to start, stop and then restart recording during a single call session?

Thanks

--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-developer-forum+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Chris Aaker

unread,
Jan 7, 2014, 1:11:39 PM1/7/14
to Megan McKenna, netsapiens-de...@googlegroups.com, Rohit K
That looks correct yes. 


To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Chris Aaker

unread,
Jan 8, 2014, 9:42:11 AM1/8/14
to Rohit K, Megan McKenna, netsapiens-de...@googlegroups.com
LiCf is just our netsapiens call recording server. Please work with Megan on that. 


On Wed, Jan 8, 2014 at 6:12 AM, Rohit K <ro...@circarconsulting.com> wrote:

Hi Chris,

Please let us know what is meant by working Licf setup ?
How can we know that whether we have any sort of setup like that in place for Hotel CRM ?


Regards,
Rohit K


On Tuesday 07 January 2014 11:41 PM, Chris Aaker wrote:
That looks correct yes. 


On Tue, Jan 7, 2014 at 9:58 AM, Megan McKenna <meganmc...@gmail.com> wrote:
Please advise if this script would be correct and properly turn on call recording permanently. If not, can you please a working sample?
 
:domain => "Entering domain name here",
        :user => "test_number,
         :aor=> "sip:1234@domainname"
              :object => 'recording',
            :action => 'create'
           
 
 
 
On Tuesday, December 31, 2013 10:05:51 PM UTC-6, Chris Aaker wrote:
No, for permanent recording of a device you will need to use object "recording", action "create" and give the full sip uri as field "aor". This is assuming you have a working Licf setup already in place. 

Chris 
On Tue, Dec 24, 2013 at 5:46 AM, Megan McKenna <meganmc...@gmail.com> wrote:
Chris,
 
If we want to turn on the call recording feature and leave it on, will we simply use "record_on" as mentioned below? You also mentioned, needing the UID, will that be necessary if we are only wanting to turn on the recording at this point?
 

On Tuesday, December 10, 2013 1:11:43 AM UTC-6, Eric Hernaez wrote:
Chris,

Can you please advise how to use the API to start, stop and then restart recording during a single call session?

Thanks
--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--

Chris Aaker

NetSapiens Inc.
920 Kline St. #400, La Jolla, CA 92037
Phone: +1 (866) 4-VOIP-IQ x5226 Direct: +1 (858) 764-5226
--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--

Chris Aaker

NetSapiens Inc.
920 Kline St. #400, La Jolla, CA 92037
Phone: +1 (866) 4-VOIP-IQ x5226 Direct: +1 (858) 764-5226
Email: caa...@netsapiens.com gChat- c.a...@gmail.com

Megan McKenna

unread,
Jan 8, 2014, 10:42:02 AM1/8/14
to netsapiens-de...@googlegroups.com, Rohit K, Megan McKenna
Thanks Chris, I have already spoken with him on that.
That looks correct yes. 


To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-developer-forum+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--

Chris Aaker

NetSapiens Inc.
920 Kline St. #400, La Jolla, CA 92037
Phone: +1 (866) 4-VOIP-IQ x5226 Direct: +1 (858) 764-5226
--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-developer-forum+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--

Chris Aaker

NetSapiens Inc.
920 Kline St. #400, La Jolla, CA 92037
Phone: +1 (866) 4-VOIP-IQ x5226 Direct: +1 (858) 764-5226
Email: caa...@netsapiens.com gChat- c.a...@gmail.com

Megan McKenna

unread,
Jan 8, 2014, 11:47:40 AM1/8/14
to netsapiens-de...@googlegroups.com, Rohit K, Megan McKenna
Chris,
 
Our attempts to complete the task of turning on the audio recording did not work with the following script:
 
-dobject=recording -daction=create -daor="sip:1016@HotelCRM" -duser=1016 -ddomain=HotelCRM
 
or
 
-dobject=recording -daction=create -daor="1016@HotelCRM" -duser=1016 -ddomain=HotelCRM
 
I checked the logs and there were no errors.
We can provide additional information off of this chain if necessary.

Chris Aaker

unread,
Jan 8, 2014, 12:04:09 PM1/8/14
to Megan McKenna, netsapiens-de...@googlegroups.com, Rohit K
This is probably do to your older version of code. your at 1220 which didn't have any of these features in it. Any more needs here please go off thread or open a ticket. 

Chris


To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages