# Call recording

**URL:** <https://community.asterisk.org/t/call-recording/14973>\
**Category:** Asterisk Support\
**Created:** [June 12, 2007, 4:18pm UTC](https://community.asterisk.org/t/call-recording/14973 "2007-06-12T16:18:26Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![dinesh009](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@dinesh009](https://community.asterisk.org/u/dinesh009)\
**Post date:** [June 12, 2007, 4:18pm UTC](https://community.asterisk.org/t/call-recording/14973/1 "2007-06-12T16:18:26Z")

</div>

Dear all

Problem: Unable to record call after routing a call to the sip agent.

I used manager api commands to originate, transfer and record the call.

The file gets created but the conversation does not get stored on the file which was created.

The command which i used to record the conversation is the following

Action: Monitor  
Channel: sip/brekekeout-080808009(Respondent line)  
Format: gsm  
Mix: 1

Please help me to sort out the problem

Regards  
Karthik

---

<div class="post-metadata">

**Author:** ![dinesh009](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@dinesh009](https://community.asterisk.org/u/dinesh009)\
**Post date:** [June 12, 2007, 5:14pm UTC](https://community.asterisk.org/t/call-recording/14973/2 "2007-06-12T17:14:07Z")

</div>

Hi

I was successful in recordign the conversation when i try to first connect to agent then to respondent. In this case also i issued the monitor command once the channels gets bridged.

please help

Regards  
Karthik

---

<div class="post-metadata">

**Author:** ![narvus](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@narvus](https://community.asterisk.org/u/narvus)\
**Post date:** [June 13, 2007, 11:28am UTC](https://community.asterisk.org/t/call-recording/14973/3 "2007-06-13T11:28:36Z")

</div>

Hi  
I’m trying to record calls, but I don’t get it. What I’d like to do is that the caller or the called could start the recording by pressing \*1. I read something about it but I don’t know how extension.conf should look like. Should I modify any other file?

Thank you all.

---

<div class="post-metadata">

**Author:** ![ianplain](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ianplain/32/1776_2.png) [@ianplain](https://community.asterisk.org/u/ianplain)\
**Post date:** [June 13, 2007, 11:58am UTC](https://community.asterisk.org/t/call-recording/14973/4 "2007-06-13T11:58:34Z")

</div>

Have you looked at the features.conf ? and [voip-info.org](http://voip-info.org)[voip-info.org/wiki/index.php … tures.conf](http://www.voip-info.org/wiki/index.php?page=Asterisk+config+features.conf)

Ian

---

<div class="post-metadata">

**Author:** ![narvus](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@narvus](https://community.asterisk.org/u/narvus)\
**Post date:** [June 14, 2007, 8:34am UTC](https://community.asterisk.org/t/call-recording/14973/5 "2007-06-14T08:34:52Z")

</div>

Thank you very much for your answer. I read the information you referred me to. I saw the option ‘automon=\>\*1’ in features.conf. Only by uncomment it I will be able to record a call just by pressing \*1? Is that all I must do?

Thanks.

---

<div class="post-metadata">

**Author:** ![sanaA\_openvision](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@sanaA\_openvision](https://community.asterisk.org/u/sanaA_openvision)\
**Post date:** [June 14, 2007, 9:33am UTC](https://community.asterisk.org/t/call-recording/14973/6 "2007-06-14T09:33:02Z")

</div>

Hi,

to record calls I do in extensions.conf:

[IncomingCall]  
exten =\> s,1,Set(CALLFILENAME=${EXTEN:1}${CALLERIDNUM})  
exten =\> s,2,Monitor(wav,${CALLFILENAME},m)  
…

and in /var/spool/asterisk/monitor/ you find all your CALLFILENAME Without do anything in features.conf.

In my configuration i record all the call (Incoming and outgoingCall) and if you have any questions I can help you.

And please if you read my Messsage (Subject “send sms with asterisk”) I’m awaiting your kind reply. 😊☹

```
                                                            SanaÃ¢
```

---

<div class="post-metadata">

**Author:** ![narvus](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@narvus](https://community.asterisk.org/u/narvus)\
**Post date:** [June 14, 2007, 9:51am UTC](https://community.asterisk.org/t/call-recording/14973/7 "2007-06-14T09:51:01Z")

</div>

Hi SanaÃ¢,  
Thank your for your answer, I’ll try what you suggested. Unfortunately I’m too new in the asterisk world and I need to study a lot more. If I find an answer to your problem I’ll tell you.

See you!

---

<div class="post-metadata">

**Author:** ![dinesh009](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@dinesh009](https://community.asterisk.org/u/dinesh009)\
**Post date:** [June 15, 2007, 6:08pm UTC](https://community.asterisk.org/t/call-recording/14973/8 "2007-06-15T18:08:40Z")

</div>

Hi All,

```
   How to record a conversation after the conversation has started?
   Can we achive it with Manager API instead of using features.conf?

```

Regards  
Karthik

---

<div class="post-metadata">

**Author:** ![rantsh](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/rantsh/32/776_2.png) [@rantsh](https://community.asterisk.org/u/rantsh)\
**Post date:** [June 15, 2007, 7:42pm UTC](https://community.asterisk.org/t/call-recording/14973/9 "2007-06-15T19:42:59Z")

</div>

When I record my calls all I get is empty wav files… at some point I modified the extensions.conf file and got to record the ringing but not the call itself, can someone please point me in the right direction? my script works fine on an \* 1.2.3 box, but not on \* 1.4.0

---

<div class="post-metadata">

**Author:** ![dinesh009](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@dinesh009](https://community.asterisk.org/u/dinesh009)\
**Post date:** [June 18, 2007, 5:36am UTC](https://community.asterisk.org/t/call-recording/14973/10 "2007-06-18T05:36:41Z")

</div>

Hi rantsh,

```
      Can you say what modifications you have made for recording?

```

I have got the similar problem. The file gets created but the content doesnot gets stored.

Regards  
Karthik

---

<div class="post-metadata">

**Author:** ![rantsh](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/rantsh/32/776_2.png) [@rantsh](https://community.asterisk.org/u/rantsh)\
**Post date:** [June 18, 2007, 3:46pm UTC](https://community.asterisk.org/t/call-recording/14973/11 "2007-06-18T15:46:45Z")

</div>

[quote=“dinesh009”]Hi rantsh,

```
      Can you say what modifications you have made for recording?

```

I have got the similar problem. The file gets created but the content doesnot gets stored.

Regards  
Karthik[/quote]

Hi dinesh009, I’ve written all my advances and problems in this thread in the quest to get this thing working properly, hopes it can help you, and if you solve the issue please let me know how

This is the [http://forums.digium.com/viewtopic.php?t=16283](http://forums.digium.com/viewtopic.php?t=16283)

---

<div class="post-metadata">

**Author:** ![narvus](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@narvus](https://community.asterisk.org/u/narvus)\
**Post date:** [June 20, 2007, 11:22am UTC](https://community.asterisk.org/t/call-recording/14973/12 "2007-06-20T11:22:21Z")

</div>

Hi, I was finally able to record calls. In extensions.conf I have:

exten=\>2030,1,Set(MONITOR\_EXEC=/etc/asterisk/soxmixwav.sh)  
exten=\>2030,2,Set(CALLFILENAME=/var/spool/asterisk/monitor/${EXTEN})  
exten=\>2030,3,Answer  
exten=\>2030,4,Monitor(wav,${CALLFILENAME},M)  
exten=\>2030,5,Dial(SIP/2030,10,Ttr)  
exten=\>2030,6,Hangup

With this I get two different files in /var/spool/asterisk monitor  
Typing soxmix file1.wav file2.wav out.wav I get a file with whole conversation.

I’d like to start recording the call when either the caller extension or the called extension dial \*1. I’ve tried what I’ve read but I don’t get it to work. Any suggestion will be apreciated.

Thank you.

---

<div class="post-metadata">

**Author:** ![BruceAtMaxup](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@BruceAtMaxup](https://community.asterisk.org/u/BruceAtMaxup)\
**Post date:** [September 17, 2007, 8:08pm UTC](https://community.asterisk.org/t/call-recording/14973/13 "2007-09-17T20:08:18Z")

</div>

Is there a way to get the call to record automatically without either party pressing W or w?

---

<div class="post-metadata">

**Author:** ![hasnain110](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/hasnain110/32/770_2.png) [@hasnain110](https://community.asterisk.org/u/hasnain110)\
**Post date:** [January 20, 2019, 12:45pm UTC](https://community.asterisk.org/t/call-recording/14973/14 "2019-01-20T12:45:13Z")

</div>

I am following same but my files are only 44 KB and nothing records …any help ?

---

<div class="post-metadata">

**Author:** ![ambiorixg12](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ambiorixg12/32/1887_2.png) [@ambiorixg12](https://community.asterisk.org/u/ambiorixg12)\
**Post date:** [January 21, 2019, 2:21am UTC](https://community.asterisk.org/t/call-recording/14973/15 "2019-01-21T02:21:41Z")

</div>

This thread have 11 years, a lot thing has been changed please open a new one

---

<div class="post-metadata">

**Author:** ![ambiorixg12](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/ambiorixg12/32/1887_2.png) [@ambiorixg12](https://community.asterisk.org/u/ambiorixg12)\
**Post date:** [January 21, 2019, 2:21am UTC](https://community.asterisk.org/t/call-recording/14973/16 "2019-01-21T02:21:47Z")

</div>


