search for: loopcount

Displaying 20 results from an estimated 26 matches for "loopcount".

2009 Sep 17
1
Changing or Adding a Line to the Extensions.conf in Asterisk
...11|20) exten => s,n,Dial(Sip/227&Sip/225&Sip/213|20) exten => s,n,Goto(ivr,s,1) exten => _2XX,1,Macro(extensions,${EXTEN}) exten => 1234,1,Dial(Sip/phone1,20) ;Aastra 480iCT [closed] exten => s,1,Goto(ivr,s,1) [ivr] exten => s,1,Answer exten => s,n,Set(LOOPCOUNT=0) exten => s,n(begin),Set(TIMEOUT(digit)=3) exten => s,n,Set(TIMEOUT(response)=10) exten => s,n,Background(aa_1) exten => s,n,WaitExten(10) exten => s,n,Goto(loop,1) exten => #,1,Directory(default|internal) exten => i,1,Playback(invalid) exten => i,n,Goto(loop...
2006 Nov 08
1
Delay between DTMF Down & Detected Digit
...a scrubbed segment from the log. If any additional information is needed, please let me know. Any help is appreciated in advance! Jon [ivr-3] include => ivr-3-custom include => ext-findmefollow include => ext-local include => app-directory exten => h,1,Hangup exten => s,1,Set(LOOPCOUNT=0) exten => s,n,Set(__DIR-CONTEXT=default) exten => s,n,Answer exten => s,n,Wait(1) exten => s,n(begin),Set(TIMEOUT(digit)=3) exten => s,n,Set(TIMEOUT(response)=10) exten => s,n,Background(custom/RM_Daytime) exten => hang,1,Playback(vm-goodbye) exten => hang,n,Hangup exten =...
2010 Nov 10
2
[LLVMdev] Bug in DragonEgg or LLVM
The following code using OpenMP pragmas , when compiled with gcc 4.5 + LLVM 2.8 + DragonEgg 2.8 and ran, produces segmentation fault. //----------------------------------------------------------- #define LOOPCOUNT 10000 int main() { int bit_and = 1; int logics[LOOPCOUNT]; int i; for (i = 0; i < LOOPCOUNT; ++i) { logics[i] = 1; } #pragma omp parallel for schedule(dynamic,1) reduction(&:bit_and) for (i = 0; i < LOOPCOUNT; ++i) { bit_and = (bit_and & logics[i]); }...
2007 May 23
0
IVR Loop on invalid input
...over. This does not happen with a commercial digital phone such as a cellphone or Avaya handset. The dialplan follows: [ivr-2] include => ivr-2-custom include => ext-findmefollow include => ext-local include => app-directory exten => h,1,Hangup exten => s,1,Set(LOOPCOUNT=0) exten => s,n,Set(__DIR-CONTEXT=default) exten => s,n,Answer exten => s,n,Wait(1) exten => s,n(begin),Set(TIMEOUT(digit)=3) exten => s,n,Set(TIMEOUT(response)=4) exten => s,n,Background(custom/demo_main_ivr) exten => hang,1,Playback(vm-goodbye) exten => hang,n,Hang...
2011 Nov 03
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...Marcello Maggioni wrote: > Mmm I found out a very strange behavior (to me) of the SCEV analysis > of the loop bound of the external loop I posted. > When in ScopDetection it gets the SCEV of the external loop bound in > the "isValidLoop()" function with: > const SCEV *LoopCount = SE->getBackedgeTakenCount(L); > > It returns a SCEVCouldNotCompute, but if I change the "if" block > inside the loop from: > if (i+j> 1000) > to: > if (i> 1000) > > that SCEV results valid. > > Later in the ScopInfo pass it crashes anal...
2023 Jun 17
1
Expanding my answering-machine system
...day-check,s,1)      same => n,Gosub(get-callerid,s,1)      same => n,Goto(auto-attend,s,1) [auto-attend] include => dial-by-extension ;************* ;* Set timeouts ;************* exten => s,1,Set(TIMEOUT(response)=8)      same => n,Set(TIMEOUT(digit)=2)      same => n,Set(LOOPCOUNT=0)      same => n,GotoIf($["${Holiday}" = "YES"]?HOLIDAY:BEGIN)      same => n(BEGIN),Answer()      same => n,Wait(1) ;**************************************************** ;* Play the 'Welcome message' and office hours message ;*****************************...
2014 Aug 02
2
[LLVMdev] Create "appending" section that can be partially dead stripped
On 01/08/14 19:37, Reid Kleckner wrote: > What happens if you drop appending linkage? I think it will just work, > since you are already using a custom section, which will ensure that all > the data appears contiguously in memory. Thanks for the suggestion, but it still puts everything in a single .section statement. > Although, I do worry about what LLVM's alias analysis will
2014 Aug 05
2
[LLVMdev] Create "appending" section that can be partially dead stripped
..., i32 0 %ele1 = load i32* %eleptr1 %ele2 = load i32* %eleptr2 %sum1 = add i32 %ele1, %ele2 store i32 %sum1, i32* %sumvar ; now loop over the entire array by using @arrstart and @arrstop %loopstop = ptrtoint [0 x i32]* @arrstop to i64 %loopstart = ptrtoint [0 x i32]* @arrstart to i64 %loopcount = sub i64 %loopstop, %loopstart %looparrinit = bitcast [0 x i32]* @arrstart to i32* br label %LoopStart ; sum all elements in the array LoopStart: %looparr = phi i32* [%looparrinit, %Entry], [%looparrnext, %LoopBody] %loopcond = icmp eq i64 %loopcount, 0 br i1 %loopcond, label %LoopEnd,...
2007 Jul 30
0
Trouble getting sound from a call
...AX2 connection. The same happens after hours when we have our night mode set. If you dial the main number after hours you are passed straight to the voice mail server where I have an IVR set to answer/handle the calls: [ivr-1] include => heading-out exten => h,1,Hangup exten => s,1,Set(LOOPCOUNT=0) exten => s,n,Set(__DIR-CONTEXT=default) exten => s,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT}) exten => s,n,Set(_IVR_CONTEXT=${CONTEXT}) exten => s,n,GotoIf($["${CDR(disposition)}" = "ANSWERED"]?begin) exten => s,n,Answer exten => s,n,Wait(1) exten => s...
2010 Mar 25
0
call not routed
...tions,1,1) Mar 25 09:48:21 VERBOSE[3685] logger.c: -- Executing GotoIfTime("Zap/4-1", "08:00-12:00|mon-fri|*|*?ivr-4|s|1") in new stack Mar 25 09:48:21 VERBOSE[3685] logger.c: -- Goto (ivr-4,s,1) Mar 25 09:48:21 VERBOSE[3685] logger.c: -- Executing Set("Zap/4-1", "LOOPCOUNT=0") in new stack Mar 25 09:48:21 VERBOSE[3685] logger.c: -- Executing Answer("Zap/4-1", "") in new stack Mar 25 09:48:21 VERBOSE[3685] logger.c: -- Executing Wait("Zap/4-1", "1") in new stack Mar 25 09:48:22 VERBOSE[3685] logger.c: -- Executing Set(&quot...
2010 Aug 26
1
Timecondition fallthrough on 2nd GSM Modem, First modem and ZAP's are all fine
...] logger.c: -- Executing [5 at timeconditions:2] Goto("mISDN/3-u10744", "ivr-5|s|1") in new stack [Aug 26 11:04:37] VERBOSE[9172] logger.c: -- Goto (ivr-5,s,1) [Aug 26 11:04:37] VERBOSE[9172] logger.c: -- Executing [s at ivr-5:1] Set("mISDN/3-u10744", "LOOPCOUNT=0") in new stack [Aug 26 11:04:37] VERBOSE[9172] logger.c: -- Executing [s at ivr-5:2] Set("mISDN/3-u10744", "__DIR-CONTEXT=default") in new stack [Aug 26 11:04:37] VERBOSE[9172] logger.c: -- Executing [s at ivr-5:3] Set("mISDN/3-u10744", "_IVR_CONTEX...
2006 May 05
0
Problem on Zap Channel with IVR
...0 txgain=0.0 group=0 callgroup=1 pickupgroup=1 immediate=no ;faxdetect=both faxdetect=incoming ;faxdetect=outgoing ;faxdetect=no and this is what I see in the asterisk cli during the call : *Code:* -- Starting simple switch on 'Zap/1-1' -- Executing Set("Zap/1-1", "LOOPCOUNT=0") in new stack -- Executing Answer("Zap/1-1", "") in new stack -- Executing Wait("Zap/1-1", "1") in new stack -- Executing Set("Zap/1-1", "TIMEOUT(digit)=10") in new stack -- Digit timeout set to 10 -- Executing...
2009 Feb 23
1
Inbound call to IVR drops after 21 seconds?
...o("SIP/202.101.202.101-b763ce60", "ivr-2|s|1") in new stack -- Goto (ivr-2,s,1) -- Executing [s at ivr-2:1] Set("SIP/202.101.202.101-b763ce60", "MSG=custom/AA-Msg") in new stack -- Executing [s at ivr-2:2] Set("SIP/202.101.202.101-b763ce60", "LOOPCOUNT=0") in new stack -- Executing [s at ivr-2:3] Set("SIP/202.101.202.101-b763ce60", "__DIR-CONTEXT=default") in new stack -- Executing [s at ivr-2:4] Set("SIP/202.101.202.101-b763ce60", "_IVR_CONTEXT_ivr-2=") in new stack -- Executing [s at ivr-2:5] Set(&...
2023 Jun 17
1
Expanding my answering-machine system
...>      same => n,Goto(auto-attend,s,1) > > [auto-attend] > > include => dial-by-extension > > ;************* > ;* Set timeouts > ;************* > > exten => s,1,Set(TIMEOUT(response)=8) >      same => n,Set(TIMEOUT(digit)=2) >      same => n,Set(LOOPCOUNT=0) > >      same => n,GotoIf($["${Holiday}" = "YES"]?HOLIDAY:BEGIN) >      same => n(BEGIN),Answer() >      same => n,Wait(1) > > ;**************************************************** > ;* Play the 'Welcome message' and office hours message...
2023 Jun 17
1
Expanding my answering-machine system
Doug, This is where the weeds start growing. On 6/17/2023 4:55 AM, Doug Lytle wrote: > > For both capabilities, you can use Background() instead of Playback() > for audio prompts.  Background() allows for interrupting the prompts > and continue on with your dialplan. > > Understood. From the book: The most common use of the Background() application is to create basic
2007 Feb 12
17
NFS/ZFS performance problems - txg_wait_open() deadlocks?
Hi. System is snv_56 sun4u sparc SUNW,Sun-Fire-V440, zil_disable=1 We see many operation on nfs clients to that server really slow (like 90 seconds for unlink()). It''s not a problem with network, there''s also plenty oc CPU available. Storage isn''t saturated either. First strange thing - normally on that server nfsd has about 1500-2500 number of threads. I did
2011 Nov 02
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
Mmm I found out a very strange behavior (to me) of the SCEV analysis of the loop bound of the external loop I posted. When in ScopDetection it gets the SCEV of the external loop bound in the "isValidLoop()" function with: const SCEV *LoopCount = SE->getBackedgeTakenCount(L); It returns a SCEVCouldNotCompute, but if I change the "if" block inside the loop from: if (i+j > 1000) to: if (i > 1000) that SCEV results valid. Later in the ScopInfo pass it crashes analyzing the SCEV of the comparison expression (in b...
2006 Apr 30
1
newbie-too much latency
...mand 'Command' Apr 30 10:28:55 VERBOSE[3051] logger.c: -- Executing Goto("Zap/4-1", "ivr-4|s|1") in new stack Apr 30 10:28:55 VERBOSE[3051] logger.c: -- Goto (ivr-4,s,1) Apr 30 10:28:55 VERBOSE[3051] logger.c: -- Executing Set("Zap/4-1", "LOOPCOUNT=0") in new stack Apr 30 10:28:55 VERBOSE[3051] logger.c: -- Executing Answer("Zap/4-1", "") in new stack Apr 30 10:28:55 VERBOSE[3051] logger.c: -- Executing Wait("Zap/4-1", "1") in new stack Apr 30 10:28:56 VERBOSE[3051] logger.c: -- E...
2006 Oct 20
2
getting DID info..
This might be a newbie question... I'm using a SIP trunk and trying to get DID line information on an incoming call. All I hear is a nice lady saying 'Zero' - then the call continues... Any suggestions? thanks Todd exten => s,n,Set(DIDID=(<${FROM_DID}>)) exten => s,n,SayNumber(DIDID) or exten => s,n,Set(FROM_DID=${EXTEN}) exten =>
2006 Nov 05
1
asterisk DTMF detection
..."mISDN/4-1", "FROM_DID=9298") in new stack -- Executing Set("mISDN/4-1", "FAX_RX=disabled") in new stack -- Executing Goto("mISDN/4-1", "ivr-4|s|1") in new stack -- Goto (ivr-4,s,1) -- Executing Set("mISDN/4-1", "LOOPCOUNT=0") in new stack -- Executing Set("mISDN/4-1", "__DIR-CONTEXT=default") in new stack -- Executing Answer("mISDN/4-1", "") in new stack P[ 4] * ANSWER: P[ 4] --> Connection is without BF encryption P[ 4] --> ECHO OFF P[ 4] --> None P[ 4]...