[asterisk-users] Withholding Answer Supervision

Antony Stone Antony.Stone at asterisk.open.source.it
Fri Jul 13 09:09:26 CDT 2018


On Friday 13 July 2018 at 15:53:47, Dovid Bender wrote:

> Hi,
> 
> Is there any way of telling Asteirsk to withhold answer subversion on a
> call till I call Answer.

Please could you express differently what you are trying to do?

I do not understand the above question.

> My DP looks like this:
> 
> [incoming]
> Exten => 18005551212,1,Noop()
>  same => n,Answer
>  same => n,Mset(__uid=${SIPCALLID})
>  same => n,MixMonitor(/tmp/FROM_CALLER_${uid}-${START}.WAV)
>  same => n,Dial(Local/1 at dial_call_center/n&Local/2 at dial_call_center
> /n&Local/3 at dial_call_center/n&Local/4 at dial_call_center
> /n&Local/5 at dial_call_center/n,,gm)
>  same => n,Goto(2)
> 
> [dial_call_center]
> Exten => _X,1,Set(CALLERID(num)=18005551212)
>  same => n,Wait(${RAND(0,1)}.${RAND(10,99)})
>  same => n,Set(__uid=${MD5(${SIPCALLID}_${UNIQUEID}_${CHANNEL})})
>  same => n,Dial(SIP/${CLIENT}@1.1.1.1:5080,,gU(verify_human))
> 
> [verify_human]
> Exten => s,1,Noop()
>  same => n,MixMonitor(/tmp/TO_CALL_CENTER_${uid}-${EPOCH}_SECOND.WAV)
>  same => n,AMD
>  same => n,ExecIf($["${AMDSTATUS}" != "FOUND"]?Hangup(16)))
>  same => n,DumpChan()

Regards,

Antony.

-- 
"The problem with television is that the people must sit and keep their eyes 
glued on a screen; the average American family hasn't time for it."

 - New York Times, following a demonstration at the 1939 World's Fair.

                                                   Please reply to the list;
                                                         please *don't* CC me.



More information about the asterisk-users mailing list