similar to: Why does Asterisk Hangup cause server to freeze?

Displaying 20 results from an estimated 3000 matches similar to: "Why does Asterisk Hangup cause server to freeze?"

2005 Feb 08
1
Asterisk causing server to hang ... any hints?
I am trying to set up a simple Asterisk server. All it's going to do for now is to act as my voicemail box. I've got a DID from Voicepulse, and am using IAX (I'll get to SIP someday when I want to circumvent the phone company for long-distance, but for now I'd be happy to get a trial version of Asterisk running). So far, I've managed to set up voicemail.conf, extensions.conf
2005 Jul 26
1
Are busy and congestion behaving differently than documented?
I am using asterisk (2 week old CVS) am for the first time have been starting to experiment with busy and congestion. At this point I am only using sip endpoints PAP2-NA devices. All testing of this is being done on a local network. my test extension looks like this: exten => 7777,1,Answer exten => 7777,2,busy(35) exten => 7777,3,Hangup Or like this: exten => 7777,1,Answer
2007 Oct 16
1
Clean Hangup() ?
Took some examples from voip-info.org to deal with call forwarding etc: exten => _*21*X.,1,NoOp(Unconditional Call Forward on extension ${CALLERID(num)} to ${EXTEN:4}) exten => _*21*X.,n,Set(DB(CFIM/${CALLERID(num)})=${EXTEN:4}) exten => _*21*X.,n,Hangup() Problem is that * don't hangup cleanly: Spawn extension (default, *21*2403, 3) exited non-zero on 'SIP/2401-081e7048'
2004 Jan 02
3
* Stresstool Help required
Hi all, I am trying to write a program that sends SIP requests to asterisk. My aim is to make asterisk record as many voicemails it can at a time. The design of the program is like this: There are two processes: One main process and a child process (No flames pls. I have very little idea about pthreads and dl modules) The main program asks the user to input the number of test instances. When
2011 Feb 04
1
SoftHangup on asterisk 1.8.2.3
I am trying to use SoftHangup in my dialplan, but it's either not working or I'm not using it correctly. when i'm on the console, i see: pbx1*CLI> core show channels Channel Location State Application(Data) SIP/vgw1-000000a2 2156181505 at inbound:1 Up AppDial((Outgoing Line)) SIP/143-0000009f s at macro-SaferSIPDial Up Dial(SIP/99302156181505 at vgw1,, 2 active
2005 Mar 25
2
911 & SoftHangup on SPA-3000
Hi, I have a SPA-3000 and would like to use the 911 recipe from http://www.voip-info.org/wiki-Asterisk+tips+911. So I took the simple recipe and modified it slightly: exten => 911,1,ChanIsAvail(SIP/potsoutbound) exten => 911,2,Dial(SIP/potsoutbound/911) exten => 911,3,Hangup() exten => 911,102,SoftHangup(SIP/potsoutbound) exten => 911,103,Wait(1) exten => 911,104,Goto(1) Now,
2005 Jun 23
0
Asterisk server with remote monitoring capab ilities
We have two Baytech RPC3 remote power switches(8 outlets each), they are great, you can telnet into them and reset ports as needed. I even setup one of them to be controlled by an AGI script on our Asterisk servers to cycle power over the phone. Saved countless hours of driving. APC makes them too although they are more expensive. MATT--- -----Original Message----- From: beonice
2010 Mar 30
2
Priority based softhangup
Hi, Is it possible to softhangup a channel based on priority. I mean I want to put some calls in higher priority lets say 100. If all channels are busy and somebody wants to dial an extension with priority higher than 100. How can softhangup drop a line which has priority less than 100? I will appreciate your valuable help. Thanks Smir
2005 Feb 16
2
Anyone having trouble with VoicePulse Connect?
I've been using my voicepulse connect number for over a month now, but today it simply won't connect. My partner and I each have a number, both are mapped in my iax.conf and extensions.conf files. This has been working fine. Today, either number gives this message: Feb 16 21:53:14 NOTICE[4330]: chan_iax2.c:5757 socket_read: Rejected connect attempt from 66.234.228.170, request
2009 Nov 10
2
Hangup
Hi, is it possible to hangup a channel from another channel? I want to finish a call from another channel, but if I put exten => h,n,HangUp(channelname) it doesn't hangup... Is that correct? Thanks, _________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Mar 16
1
softhangup
Hi all, I am trying to drop a random channel in asterisk 1.6. The following line in extensions.conf works fine for the first channel exten => 911,4,SoftHangup(DAHDI/1-1) But I need to drop random channel for emergency not any specific one. Can someone show correct syntax for this Thanks smir
2009 Dec 29
1
identifying channel for softhangup
When I place an outbound call from asterisk 1.6.1.12 to a FXO port on my Cisco 1760V 12.4, the channel changes - seemingly incrementing: e.g., in the first call, below, the channel name is "SIP/vgw1-00000075" -- the second call (on the same FXO port after a soft hangup on the CLI) is "SIP/vgw1-00000077" How can I extract this information in the dialplan so that I can use
2005 Jun 03
0
(no subject)
Rich, What about a combination of your excellent/intelligent suggestion & something like this: exten => 911,1,Dial(Zap/g17/${EXTEN}) exten => 911,2,SoftHangup(Zap/1-1) exten => 911,3,Wait(1) exten => 911,4,Goto(1) ... with the idea that if a line is not free, we forcible seize one. Probably not correctly written, but, do you "get" where I am going? How would I
2008 Nov 28
2
force channel hangup
Hi guys, I have 1 zap channel in my house shared among couple people. If someone dials 911, I want that zap channel to be disconnected right away to make way for the 911 call. I dug through voip-info.org and didn't find much. Any hints? kel
2005 Jul 13
0
SIP calls to 'BUSY' or OFF HOOK PSTN numbers do not return busy indicate to sip phone?
What we would like to see happen or emulated is that if someone makes a call via our SIP provider to a PSTN number that is actually busy that we get an actual BUSY tone at the telephone. In our test case this is a PAP2-NA SIP device It would appear that when we call the far end (PSTN phone number) that is busy we do not get any busy indication at the user end (originating telephone on our
2005 Jun 03
3
911 context, is this right?
I have 3 analog trunks zap/1, zap/4 and zap/5. zap/5 is the least used line. Would the following work for 911 calls? [e911] exten => 911,1,ChanIsAvail(Zap/1) exten => 911,2,Dial(Zap/1/911) exten => 911,3,Hangup() exten => 911,102,ChanIsAvail(Zap/4) exten => 911,103,Dial(Zap/4/911) exten => 911,104,Hangup() exten => 911,203,ChanIsAvail(Zap/5) exten =>
2009 Sep 29
2
play audio file within an active call
Hi, I'm wondering if someone can share their thoughts on how to implement a system that periodically checks active channels which have been up for more than X minutes and plays/injects a sound file. The idea is to simply warn users that they've been on the phone for quite a while and maybe they should consider hanging up. If the call stays up for more than Y minutes, it is dropped
2003 Dec 02
3
How to restart * thru phone "when convenient"
Hi there, here is my attempt to initiate a "restart when convenient" from a software SIP phone. exten => 588,1,Answer exten => 588,2,Wait(1) exten => 588,3,Playback(restart-convenient) exten => 588,4,Wait(1) exten => 588,5,Authenticate(00000) exten => 588,6,System(/usr/sbin/asterisk -rx "restart when convenient") exten => 588,7,Hangup The problem: We
2010 Mar 03
1
911, channel full
Hi, I am trying to implement 911 funtionality in my PBX. A call should drop if all lines are busy. Here is my context nineoneone from extensions.conf [nineoneone] exten => s,1,Set(SET_EMERG_FLAG=0) exten => s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK}) exten => s,n,Set(EMERGENCY=1,g) exten => s,n,Set(SET_EMERG_FLAG=1) exten => s,n(dial),Dial(${EMERGENCY_TRUNK}/${EMERGENCY_NUM})
2003 Apr 30
2
oh323 failed to load
when i issue asterisk -vvv command i get this error please help regards Barbra [app_softhangup.so] => (Hangs up the requested channel) == Registered application 'SoftHangup' [codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder) == Registered translator 'lpc10tolin' from format 7 to 6, cost 50 == Registered translator 'lintolpc10' from format 6 to 7,