OPUS CODEC ASTERISK 13


opuscodec*CLI> core show translation
opus 15600 15600 15600 15600 15600    15600 15600  9600  9600  9600  9600 17500 17500  9000 17000 17000 15600 15600 15600 15600 23500 15600 15600   15600     –
opuscodec*CLI>

Mixmonitor tidak support jika menggunakan codec opus

Gunakan Monitor untuk me-record file recording (wav to mp3)

exten => _X.,n,Set(DIR=/var/www/html/recording/${STRFTIME(${EPOCH},,%Y/%m/%d)})
exten => _X.,n,System(/bin/mkdir -p ${DIR})
exten => _X.,n,Set(FILE_NAME=${EXT}-${NUMBER}-${STRFTIME(${EPOCH},,%H%M%s)})
exten => _X.,n,Set(FILE_REC=/var/www/html/recording/${STRFTIME(${EPOCH},,%Y/%m/%d)}/${FILE_NAME})
exten => _X.,n,Noop(${FILE_REC})
exten => _X.,n,Set(MONITOR_EXEC_ARGS=&& nice -n 19 /usr/bin/lame -V 1 “${FILE_REC}.wav” “${FILE_REC}.mp3” && /bin/rm -rf “${FILE_REC}.wav”)
exten => _X.,n,Monitor(wav,${FILE_REC},mb)
exten => _X.,n,Dial(SIP/sonus-mg/199962${EXTEN:1},,tT)
exten => _X.,n,NoOp(DIAL_STATUS=${DIALSTATUS}, HANGUP_CAUSE=${HANGUPCAUSE})
;exten => _X.,n,Hangup()

exten => h,1,Noop(${FILE_REC})
exten => h,n,Hangup()

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: