SUpport gains on outbound calls
authorMark Spencer <markster@digium.com>
Wed, 22 Oct 2003 04:04:59 +0000 (04:04 +0000)
committerMark Spencer <markster@digium.com>
Wed, 22 Oct 2003 04:04:59 +0000 (04:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1654 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 945b54b..1fb8509 100755 (executable)
@@ -1306,6 +1306,8 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout)
                ast_log(LOG_WARNING, "Unable to flush input on channel %d\n", p->channel);
        p->outgoing = 1;
 
+       set_actual_gain(p->subs[SUB_REAL].zfd, 0, p->rxgain, p->txgain, p->law);
+
        switch(p->sig) {
        case SIG_FXOLS:
        case SIG_FXOGS: