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>
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.
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. On Fri, Jul 13, 2018 at 10:09 AM, Antony Stone < Antony.Stone at asterisk.open.source.it> wrote:> 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. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: https://community.asterisk. > org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180713/cf5af3a0/attachment.html>
Apparently Analagous Threads
- How to dial extensions asynchronous-sequentially ?
- Paging and Auto Answer on Grandstream GXP2000
- How to dial extensions asynchronous-sequentially ?
- RES: How to dial extensions asynchronous-sequentially ?
- RES: RES: How to dial extensions asynchronous-sequentially ?