[asterisk-users] internal call record

Karsten Wemheuer
Thu, 04 Apr 2019 15:59:07 -0000

Hi,

Am Sonntag, den 10.03.2019, 12:46 +0300 schrieb Gokan
Atmaca:
> Hello
>
> Mynum: 6001 , Othernum: 6002.
>
>
> I can record as follows. But I do not enter individual records for
> each internal
> required. I want to do it more smoothly with a Macro.
>
> Thanks.
>
> exten => _6001,1,NoOp()
> exten => _6001,n,MixMonitor(${UNIQUEID}.wav,ab)
> exten => _6001,n,Dial(SIP/6001,20)
> exten => _6001,n,StopMixMonitor()
> exten => _6001,n,Hangup()
>
If You are using SIP, pay attention to media setup (option
"directmedia" in case of chan_sip).

Using directmedia the media flows from end to end not running through
asterisk. In this case recording doesn't work.

HTH,

Karsten