[asterisk-users] Add Monitor application to call suppresses audio

David Backeberg dbackeberg at gmail.com
Tue May 26 13:58:09 CDT 2009


On Wed, May 13, 2009 at 11:53 AM, Barry L. Kline <blkline at attglobal.net> wrote:
> If I insert a Monitor() prior to dialing the outbound call, I get no
> audio in the recording and the caller hears no audio.   Occasionally it
> works (perhaps 1 out of 5 times) but most of the time the caller can't
> hear the callee, and vice versa.
>
> The fully working code looks like this:
> 1) exten => s,n(place),Verbose(4,Dialing answering service);
> 2) exten => s,n,Playback(vrec_prompts/this-call-may-be-recorded);
> 3) exten => s,n,Set(GROUP()=ANSSVC);
> 4) exten =>
> s,n,Set(CALLFILENAME=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}_${CALLERID(num)});
> 5) exten => s,n,Dial(${OUTGOING_PRI}/${ANSWERINGSVC},15,r);
> 6) exten => s,n,Goto(s-${DIALSTATUS},1);

What is the 6 for?
What is the goto supposed to do?

This could certainly explain why the first call works and not the
subsequent calls.
Why don't you want to just hangup the call after 5 completes?



More information about the asterisk-users mailing list