Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating AGC+DENOISE+JITTER with FreePBX (crackly tx audio) #154

Open
ghost opened this issue Dec 17, 2021 · 1 comment
Open

Integrating AGC+DENOISE+JITTER with FreePBX (crackly tx audio) #154

ghost opened this issue Dec 17, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 17, 2021

No documentation is provided to integrate AGC+DENOISE and JITTERBUFFER in Asterisk >12 (ex. 18).

I'm trying to figure out how to best integrate them as my TX audio is relatively poor quality.

This is what my extensions_custom.conf looks like, roughly:

[dongle-incoming]
exten => sms,1,Verbose(Incoming SMS from ${CALLERID(num)} ${BASE64_DECODE(${SMS_BASE64})})
...
exten => sms,n,Hangup()
exten => _.,1,Set(CALLERID(name)=${CALLERID(num)})
exten => _.,n,Goto(from-trunk,${EXTEN},1)

[macro-dial-one-custom]
; denoise
exten => s,n,Set(DENOISE(rx)=on)
exten => s,n,Set(DENOISE(tx)=on)
; agc
exten => s,n,Set(AGC(rx)=4000)
exten => s,n,Set(AGC(tx)=4000)

The dongle.conf context is set to dongle-incoming.

How are we supposed to integrate the AGC and co in a custom extension with FreePBX? from-sip is not used anywhere.

@Sarmingsteiner
Copy link

Sarmingsteiner commented May 15, 2023

Maybe not the best solution, but for us the following manual configuration in dongle.conf works best:
rxgain=4 ; increase the incoming volume; may be negative
txgain=-5 ; increase the outgoing volume; may be negative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants