[asterisk-users] Withholding Answer Supervision

Dovid Bender dovid at telecurve.com
Fri Jul 13 08:53:47 CDT 2018


Hi,

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

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()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180713/decdd27a/attachment.html>


More information about the asterisk-users mailing list