search for: setcontext

Displaying 20 results from an estimated 46 matches for "setcontext".

Did you mean: getcontext
2006 Feb 27
1
Problems dialing to another Asterisk server
...r machine, which is 192.168.0.51 and asterisk is listening in 192.168.0.51, port 5038 And my Manager-java code is : originateAction.setChannel("Local/16007@mariaSIP/n"); originateAction.setCallerId("asterisk"); originateAction.setCallingPres(new Boolean(true)); originateAction.setContext("mariaSIP"); originateAction.setExten("222"); originateAction.setPriority(nPriority); originateAction.setTimeout(nTimeout); originateResponse = managerConnection.sendAction(originateAction, 30000); if(originateResponse.getResponse().equals("Success")) { setVarAction...
2010 Apr 07
2
[LLVMdev] Proposal: stack/context switching within a thread
...the functionality is available, sometimes, from the C standard library. But embedded environments (often running a limited standard library) and server environments would benefit heavily from a standard way to specify context switches within a single thread in the style of makecontext/swapcontext/setcontext, and built-in support for these operations would also open the way for optimizers to begin handling these execution paths. The use cases for these operations, and things like coroutines built on top of them, will only increase in the future as developers look for ways to get more concurrency while...
1999 Jan 11
0
unix password sync problem in samba-2.0.0beta5
...funkiness with the SIGCLD handling in smbd/chgpasswd.c. It seems that after an smbpasswd is run and unix password sync is being used, an smbd is left behind, rapidly spinning it wheels. A truss of the process shows it stuck doing the following: sigaction(SIGCLD, 0xEFFFE5F8, 0x00000000) = 0 setcontext(0xEFFFE7D8) Received signal #18, SIGCLD [caught] sigaction(SIGCLD, 0xEFFFE5F8, 0x00000000) = 0 setcontext(0xEFFFE7D8) Received signal #18, SIGCLD [caught] I'm looking at the code in smbd/chgpasswd.c and lib/signal.c to try and figure out what the problem is, but I thought I shoul...
2004 Sep 23
0
solaris 8 and ls -l problems
...FFBEC948) = 0 sigfillset(0xFF3428C8) = 0 sigprocmask(SIG_BLOCK, 0xFFBEC938, 0xFFBEC928) = 0 alarm(1) = 0 Received signal #14, SIGALRM, in sigsuspend() [caught] sigsuspend(0xFFBEC918) Err#4 EINTR setcontext(0xFFBEC600) alarm(0) = 0 sigprocmask(SIG_UNBLOCK, 0xFFBEC938, 0x00000000) = 0 sigaction(SIGALRM, 0xFFBEC898, 0x00000000) = 0 Then it keeps repeating the following: alarm(2) = 0 sigsuspend(0xFFBEC918)...
2005 Sep 08
1
Solaris NSS/winbind problem - large groups
Hello All, It seems that 'getent group groupname' hangs on large groups for Solaris 8/9 running winbind. Currently running Samba 3.0.20 but also tried 3.0.10. 'ls -l' also hangs if listing a file created by a user who's primary group is too large(such as Domain Users). Users can still access the files but netbackups hang. The problem I am experiencing is found in the
2002 May 01
3
scp 3.1p1 problem on Solaris
...= 508 ioctl(1, TIOCGPGRP, 0xFFBEDE9C) = 0 ioctl(1, TIOCGWINSZ, 0xFFBEDEF8) = 0 write(1, "\r p h p - 4 . 2 . 0 . t".., 80) = 80 sigaction(SIGALRM, 0xFFBEDFF8, 0xFFBEE078) = 0 alarm(1) = 0 setcontext(0xFFBEE1E8) ... Has anyone seens this before? Is openssh at fault here, or is it openssl? openssh configure: --prefix=/opt/ssh --without-rpath --sysconfdir=/etc . (Still not on this list; please Cc: replies :)
2010 Jul 17
1
AGI execution after Dial
...elow, it will go first to the 9051000XXXXXX extension and then to 1. Is it possible to use the CONSOLE (somehow like console dial number) channel to originate calls? This might be a solution. action.setChannel("SIP/99051000XXXXXX"); action.setCallerId("99051000XXXXXX"); action.setContext("autodialer"); action.setExten("1"); action.setPriority(new Integer(1)); action.setVariable("numero", "5555555"); Then, I figured I could place the calls from within an AGI script. Obviously, I got stuck again. Now, when I execute the application Dial, the s...
2015 Aug 06
3
Asterisk uses "Anonymous", but why?
..., what would > be the extension? > > Here is my Asterisk-Java code: > > managerConnection.addEventListener(this); > originateAction = new OriginateAction(); > originateAction.setChannel("SIP/"+ani); > originateAction.setContext("from-pstn"); > originateAction.setExten(????); > originateAction.setPriority(new Integer(1)); > originateAction.setCallerId("murthy"); > originateAction.setTimeout(new Integer(30000)); > >...
2015 Aug 06
4
Asterisk uses "Anonymous", but why?
On Thu, Aug 6, 2015 at 11:56 AM, Murthy Gandikota <murthy64 at hotmail.com> wrote: > Tested with X-Lite and it worked fiine. Is there some way to replace > "Anonymous" with a config parameter? > > Thanks for your kind help > > ---------------------------------------- > > From: murthy64 at hotmail.com > > To: asterisk-users at lists.digium.com >
2010 Apr 11
0
[LLVMdev] Proposal: stack/context switching within a thread
...h in turn supports high performance, safer concurrency, and lower overhead than native threads do, and enables concurrency on systems that lack native thread support. Some C library implementations include support for stack and context switching with functions such as makecontext, getcontext, and setcontext. However, these calls may not exist on some embedded systems, which may also lack native thread support and therefore have a greater need for context switching. Also, built-in support for context switching allows such operations to be lowered to inline assembly rather than a call into the C libra...
2005 Aug 29
14
Oracle 9.2.0.6 on Solaris 10
How can I tell if this is normal behaviour? Oracle imports are horribly slow, an order of magnitude slower than on the same hardware with a slower disk array and Solaris 9. What I can look for to see where the problem lies? The server is 99% idle right now, with one database running. Each sample is about 5 seconds. I''ve tried setting kernel parameters despite the docs saying that
2010 Apr 11
3
[LLVMdev] Proposal: stack/context switching within a thread
Kenneth Uildriks <kennethuil at gmail.com> wrote: > As I see it, the context switching mechanism itself needs to know > where to point the stack register when switching.  The C routines take > an initial stack pointer when creating the context, and keep track of > it from there.  If we don't actually need to interoperate with > contexts created from the C routines, we have
2015 Aug 06
2
Asterisk uses "Anonymous", but why?
...ound file, > > what would be the extension? > > > > Here is my Asterisk-Java code: > > > > managerConnection.addEventListener(this); > > originateAction = new OriginateAction(); > > originateAction.setChannel("SIP/"+ani); > > originateAction.setContext("from-pstn"); > > originateAction.setExten(????); > > originateAction.setPriority(new Integer(1)); > > originateAction.setCallerId("murthy"); > > originateAction.setTimeout(new Integer(30000)); > > > > // connect to Asterisk and log in > &g...
2002 Jun 18
1
remote rsync process dies, local hangs
...WTRAPPED|WNOHANG) = 0 Received signal #18, SIGCLD, in poll() [caught] siginfo: SIGCLD CLD_EXITED pid=18231 status=0x0000 poll(0xFFBEFAE8, 0, 20) Err#4 EINTR waitid(P_ALL, 0, 0xFFBEF620, WEXITED|WTRAPPED|WNOHANG) = 0 waitid(P_ALL, 0, 0xFFBEF620, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD setcontext(0xFFBEF7D0) poll(0xFFBEFAE8, 0, 16) = 0 waitid(P_PID, 18231, 0xFFBEFB08, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD sigaction(SIGUSR1, 0xFFBEFB48, 0xFFBEFBC8) = 0 sigaction(SIGUSR2, 0xFFBEFB48, 0xFFBEFBC8) = 0 llseek(0, 0, SEEK_CUR) Err#9 EBADF _exit(0) bash-2.03$ The destination directory has...
2003 Nov 07
0
RE: Asterisk-Users digest, Vol 1 #1808 - 13 msgs archives gsm of asterisk ???
...6. RE: archives gsm of asterisk ??? (Shoval Tom) 7. Re: Red Alarm (Andrew Kohlsmith) 8. Re: IAX/SIP Client (Dan) 9. Re: USB handsets/headsets?? (Dan) 10. Re: Anyone using * in a live production environment? (Andrew Kohlsmith) 11. Re: Anti-Ex Girl Friend logic (was Re: [Asterisk-Users] Setcontext based on CID...) (Chris Hirsch) --__--__-- Message: 1 From: Andrew Kohlsmith <akohlsmith-asterisk@benshaw.com> Organization: Benshaw Canada To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] a bit frightened, guys Date: Thu, 6 Nov 2003 10:34:49 -0500 Reply-To: asterisk...
2007 Mar 13
0
about use dtrace analyze tomcat''s situation
...9; matched 457 probes ^C CPU ID FUNCTION:NAME 8 2 :END lwp_cond_signal 67 bind 271 lwp_sigmask 282 getsockname 456 so_socket 528 fstat64 714 setsockopt 843 setcontext 946 ioctl 959 lwp_mutex_wakeup 1105 lwp_cond_broadcast 1430 close 1431 connect 2503 fsat 2505 getdents64 3894 fcntl 6785 doorfs 7043 resolvepath 8684 access...
1998 Nov 14
0
Sync passwd and smbpasswd
...aitid(P_ALL, 0, 0xEFFFC108, WEXITED|WTRAPPED|WNOHANG) = 0 waitid(P_ALL, 0, 0xEFFFC108, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD sigaction(SIGCLD, 0xEFFFC0B8, 0xEFFFC1B8) = 0 waitid(P_ALL, 0, 0xEFFFC138, WEXITED|WNOHANG|WNOWAIT) Err#10 ECHILD sigprocmask(SIG_UNBLOCK, 0xEFFFC1D8, 0x00000000) = 0 setcontext(0xEFFFC328) poll(0xEFFFC648, 1, -1) (sleeping...) --- Samba compile options --- FLAGSM = -DSUNOS5 -DSHADOW_PWD -DFAST_SHARE_MODES -DUFC_CRYPT -DALLOW_CHANGE_PASSWORD LIBSM = -lsocket -lnsl AWK = nawk ---
2001 Dec 12
1
2.5.0, Solaris 2.6, Daemon SIGSEGV
...: *** process killed *** 6191: Received signal #18, SIGCLD [caught] 6191: siginfo: SIGCLD CLD_KILLED pid=6192 status=0x000B 6191: waitid(P_ALL, 0, 0xEFFFF810, WEXITED|WTRAPPED|WNOHANG) = 0 6191: waitid(P_ALL, 0, 0xEFFFF810, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD 6191: setcontext(0xEFFFF9C0) 6191: _exit(0) Can anyone tell me what this is? I have looked through the list archives, but can't see anything, and had a google for it as well; none of these have lead me to a solution yet. Many thanks, James -- James Bromberger, Senior Web/Systems Administrator, JD...
2005 Jan 19
1
sshd hangs
...esult: # kill -CLD 24453 truss: 24453: Received signal #18, SIGCLD, in poll() [caught] 24453: poll(0xFFBEEF28, 2, -1) Err#4 EINTR 24453: sigaction(SIGCLD, 0x00000000, 0xFFBEEA90) = 0 24453: write(6, "\0", 1) = 1 24453: setcontext(0xFFBEEC10) 24453: sigprocmask(SIG_BLOCK, 0xFFBEEFE8, 0xFFBEEFF8) = 0 24453: waitid(P_ALL, 0, 0xFFBEEF00, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD 24453: sigprocmask(SIG_SETMASK, 0xFFBEEFF8, 0x00000000) = 0 24453: poll(0xFFBEEF28, 2, -1) = 1 24453: read(4, "\0&quot...
2010 May 26
0
[LLVMdev] [llvm-commits] [llvm] r104737 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
I didn't see swapcontext in the list in gcc's special_function_p function... -bw On May 26, 2010, at 2:20 PM, Alistair Lynn wrote: > Hello- > > Shouldn't this catch swapcontext as well? > > Alistair > > On 26 May 2010, at 22:14, Dale Johannesen wrote: > >> >> On May 26, 2010, at 2:05 PMPDT, Dan Gohman wrote: >> >>> vfork and