Ken D'Ambrosio
2008-Sep-02 23:16 UTC
[asterisk-users] Selectively disable echo cancellation?
Hi, all. I have a Sangoma A104D (on-board, DSP-based echo can); I'm currently passing through some of my in-bound calls to a legacy PBX (which I hope to eventually replace). That being said, until I do, I'd like to kill echo cancellation for the passed-through calls -- I don't want to mess with their fax reception. Any idea how to do this? Thanks! -Ken
Octavio Ruiz
2008-Sep-03 02:42 UTC
[asterisk-users] Selectively disable echo cancellation?
On Tue, Sep 2, 2008 at 6:16 PM, Ken D'Ambrosio <ken at jots.org> wrote:> Hi, all. I have a Sangoma A104D (on-board, DSP-based echo can); I'm > currently passing through some of my in-bound calls to a legacy PBX (which > I hope to eventually replace). That being said, until I do, I'd like to > kill echo cancellation for the passed-through calls -- I don't want to > mess with their fax reception. > > Any idea how to do this?Is echocancelwhenbridged=no inside zapata.conf what are you looking for? If not, what I figured out is if you run System(wan_ec_client wanpipe1 disable ${VALUE}) ; in your dialplan logic [perhaps inside a macro called with the M() option for Dial()] would do the trick. Don't forget that you obtain "Zap/${VALUE}-1" from ${CHANNEL} (using some variable stripping) and to run System(wan_ec_client wanpipe1 enable ${VALUE}) ; at Hangup. Regards, -- Octavio H. Ruiz Cervera Tel.: (+52 55) 8590-9000 Ext. 7016 Mobile: (+52 1 55) 14-087790 Mobile: (+52 1 55) 41-351242