Withholding Answer Supervision

Home » Asterisk Users » Withholding Answer Supervision
Asterisk Users 2 Comments

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@dial_call_center/n&Local/2@dial_call_center
/n&Local/3@dial_call_center/n&Local/4@dial_call_center
/n&Local/5@dial_call_center/n,,gm)
same => n,Goto(2)

[dial_call_center]
Exten => _X,1,Set(CALLERID(num)005551212)
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()

2 thoughts on - Withholding Answer Supervision

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

    I do not understand the above question.

    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.

  • I am calling a few numbers at once and running AMD on each one. If AMD
    detects a human I want to connect the two if not I want to keep calling over and over. The issue I have is that if one of the called numbers connects even if it’s a machine and I call Hangup or Congestion it will stop the other calls and go back to s,2. I want Asterisk to keep trying the other legs as well and run AMD on them too.