Record Page call

Hello,

I want to record a Page call (unidirectional call), but I’m having problems.

I tried to do it with MixMonitor, and the audio file (.wav) is created for the call duration but I have no audio on it.

Could anyone help, please?

Thanks!

The size of the .wav is non-zero ? What does your pertinent dial plan in extensions.conf look like ?

Even an empty .wav will not be zero length.

Thank you for your answer penguinpbx and david551.

No, wav files are not empty. Actually, when I call 111 MixMonitor works fine with Dial but it doesnet when I use the extention 00 and call two endpoints.

exten => 111,1,NoOp(Record Test)
same => n,Answer()
same => n, MixMonitor(${STRFTIME(${EPOCH},,%d-%m-%Y_%Hh%Mm%Ss)}.wav)
same => n,Dial (PJSIP/6001)
same => n,Hangup()

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;; LIVE, prefix 00 ;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
exten => _00X.,1,NoOp(Call for Live connexion - extension => ${EXTEN})
same => n,Set(PARSE=${EXTEN:2})
same => n,Set(ZONE1=${PARSE:0:4})
same => n,Set(ZONE2=${PARSE:4:4})
same => n, NoOp(Parse result : ZONE1 - ${ZONE1},  ZONE2 - ${ZONE2})
same => n, NoOp(${STRFTIME(${EPOCH},,%d-%m-%Y_%H:%M:%S)})
same => n, MixMonitor(${STRFTIME(${EPOCH},,%d-%m-%Y_%Hh%Mm%Ss)}.wav)
same => n, Page(PJSIP/${ZONE1}&PJSIP/${ZONE2})
same => n, Hangup()

Any idea?

Thank you for your time!

Use a non-optimising local channel, and record the call to the local channel, rather that from the local channel to the paged numbers.

David511, I don’t understand your answer. Can you be more specific?

Thanks!

Read up on local channels and the /n option.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.