Displaying 20 results from an estimated 5000 matches similar to: "execute commands after hangup"
2015 Nov 28
2
endwhile jumping out of macro
Hi
I have a 3 level nested while-endwhile loop in a macro that when the
execution reaches endwhile, it is jumping out to the While at the caller
macro.
It shouldn't since the are instructions after the endwhile.
-- Executing [s at macro-call-from-outside:72] EndWhile("DAHDI/i1/1234567-4a7f", "") in new stack
== Channel 'DAHDI/i1/1234567-4a7f' jumping out of
2005 Sep 05
1
Unexpected results with "While" and "EndWhile" applications
I seem to be having a conceptual problem with the "While" and
"EndWhile" applications. It seems that on the first cycle, even if
the result of the "While" is false that the enclosed applications
will get run. Is this expected? It seems to be counter-intuitive,
but I don't know what the intent of the While routines is. I could
of course put a
2015 Jun 07
2
[LLVMdev] Loop Unfolding in LLVM
Hello,
I am looking for a loop unfolding procedure implemented in LLVM that helps
to transform a while-loop to n-layer If-statements. The transformation
should be on IR, although the example below is illustrated on the source
level.
original loop:
* WHILE (condition) DO
action
ENDWHILE*
Expected unfolded loop (2-layer):
* IF (condition) THEN*
* action*
* IF
2002 Mar 17
1
translate octave code to R
Hello,
I'd like to translate de code below, write in octave, to R. I'm learning to
operate R a few time ago, and an example of translation will be useful for
me.
This code is my lectures in an undergraduate course of statistical
computing.
echo off;
k=0;
while (k<>1)
n = input('a prime: ');
D = 2;
r = n - D * floor((n/D));
while((D <= sqrt(n) & (r <>
2016 Apr 11
2
User controlled i/o block size?
I hope this isn't a FAQ.
Per the man page I see ways to control the blocksize for hash
comparison reasons, but no way to control it for i/o performance
reasons.
I'm using rsync to copy folder trees full of large files and I'd like
to have control of how much data is read / written at a time. Maybe
read 10 MB, write 10 MB, etc.
Is there an existing way to do that?
== details ==
2012 Jul 07
1
[LLVMdev] Problem in LLVM CMake modules
Óscar Fuentes <ofv at wanadoo.es> writes:
> Yep, llvm_map_components_to_libraries gets confused by the existence of
> both gtest and gtest_main and enters an infinite loop. A workaround is
> to not pass "all" to llvm_map_components_to_libraries but a list of
> required components.
This patch *seems* to fix the problem (cmake regexps are not thoroughly
documented):
2010 Jun 18
1
Automatic attendant - Error in CLI.
Hello dear list.
I am currently working on a Automatic attendant, and the core things work, but I think the loop function isn't working as expected.
I am testing this environment: a sip internal call from 301 to 501.
The setup here is when 301 calls 501, and 301 doesn't enter an extension, it will go in loop, 3 times, and then hangup...Can't get that working.
Could someone please
2008 Dec 02
1
Parking calls
Hi,
How can I park a call from dialplan and get going??
Example:
1. Answer
2. While follow = false
3. ParkCall
4. Checksomthing ? follow = true
5. Endwhile
6. UnParkCall
7. Go on
..
The idea is let the call waiting while I do some things on the dialplan, is
it possible?? Maybe is not parking the solution??
Thanks
2016 Apr 11
5
User controlled i/o block size?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You didn't say if you were networking or what features of rsync you
are using but if you aren't networking and aren't doing anything fancy
you are probably better off with cp -au which is essentially the same
as rsync -au except faster.
Anyways, smaller reads and writes are usually better handled by the
OS's caches than really big
2011 Mar 02
2
[1.4] Comparing value of string with spaces?
Hello
I haven't found an example on how to compare the value of a string
variable with spaces in it, and the While loop below never exits:
========== extensions.conf
exten => start,n,Set(MYVAR="Dummy value")
exten => start,n,NoOp(${MYVAR})
;BAD TOO
;exten => start,n,While(!$[${MYVAR} : "Some string"])
exten => start,n,While($[${MYVAR} != "Some
2016 Mar 31
2
Asterisk 13 - Call Bridge issue.
I have the following senerio.
Call file calls 1st party.
When connected give called party option to connect to second party.
Issue Dial to second party. Caller answers and the two are bridged
together.
My issue is that 4 out of 5 calls fail to bridge the audio.
Am I missing something or is there some kind of bug? Here is my test
dialplan
;Dialer Base Code Files.
;Variables
2011 Mar 15
4
[1.4] Asterisk doesn't hang up?
Hello
I'm trying to use ChanIsAvail() to check when the landline is back
to idle after a call, but for some reason, Asterisk doesn't detect
that the callee has hung up after listening to MoH for a few seconds:
========== extensions.conf
;Play MoH for a few seconds, hang up, and
;check ChanIsAvail() able to detect when line idle again
exten => 8888,1,Answer()
exten =>
2010 Jun 18
1
Error trying to add context: Context 'internal' tries to include nonexistent context 'nighttime|12:30-8:00|mon-fri|*|*'
Hello again dear list.
Could you please help with this?
Thank you for all support, you are great, and i am now at a late stage in the setup and tweaking this server,
So I hope you can help me again.
I Can't make include the context nighttime. Just to demonstrate if it works, I have a playback function there.
But CLI reports:
CLI
[Jun 18 14:20:22] WARNING[2287]: pbx.c:9542
2007 Dec 05
5
New feature: calling all bug marshals
Hi.
I wanted to write a "popcorn" app for myself, both to learn how to
script in extensions.conf, but also because it was something handy.
Along the way, I found myself doing something like:
[popcorn]
exten => s,1,Set(FUTURETIME=$[${EPOCH} + 10])
...
exten => s,n,While(${EPOCH} < ${FUTURETIME})
exten => s,n,Wait(0.01)
exten => s,n,EndWhile()
exten => s,n,Play(beep)
2010 Apr 30
2
Continuing after a TIMEOUT(absolute)
Greetings,
I'm trying to continue to do some processing after a TIMEOUT
(absolute). In my dialplan below, when a call comes in to [default],
I call macro-phonenum and pass it a timeout of 20 seconds. macro-
phonenum sets TIMEOUT(absolute), then loops saying the phone number
that was called (in MACRO_EXTEN). When the timeout expires I want to
call my macro-hangup (so it can say
2009 Jul 03
0
e164.org and tollfree ENUM records
Recently, I've been having issues with the URIs returned from e.164.org and
toll free calls. It seems that the URIs that are returned from ENUMQUERY and
ENUMRESULT are no longer the proper numbering schemes that the poviders use.
I've been using the following [enum] template in my outbound route for quite
some time with great success until recently.
[enum](!)
exten =>
2006 Mar 24
11
Transferring a call with IAX
Here's an interesting question:
If I transfer a call from Asterisk system to another with IAX, is there any way I can get control back on the original system? Or.. do I lose control, and the dialplan has to continue on the new system?
Scenario is we transfer calls to an Asterisk system that handles ACD queues. If the ACD queue times out, we want to send the caller to voicemail on another
2012 Aug 03
1
[LLVMdev] Problem in LLVM CMake modules
So where could I find a list of LLVM libraries so I can figure out which
ones I actually need to link into my program?
Oscar Fuentes <ofv at wanadoo.es> writes:
> Óscar Fuentes <ofv at wanadoo.es <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>> writes:
>
> >/ This patch *seems* to fix the problem (cmake regexps are not thoroughly
> />/ documented):
>
2016 Apr 11
0
User controlled i/o block size?
All,
One big thing I failed to mention is I was running rsync inside a
cygwin windows 8.1 setup.
I moved it to a linux box and the behavior is much better. I get a
nice smooth 85-90 MB/sec. That might be the max speed of the source
drive.
I'd still like a way to improve rsync's performance in cygwin, but I
can understand it is a low priority.
Thanks
Greg
--
Greg Freemyer
2016 Apr 11
0
User controlled i/o block size?
I'm just doing a local copy:
rsync -avp --progress <source_dir> <dest_dir>
The source and dest are on different spindles.
Some of my copies are a TB or more (I just started one that is 1.5 TB).
It is my assumption (possibly faulty) that rsync is more robust for
handling any aborted copies that have to get restarted after the copy
failed, thus my preference for rsync.
3