search for: softhangup

Displaying 20 results from an estimated 63 matches for "softhangup".

2005 Mar 25
2
911 & SoftHangup on SPA-3000
...e 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, I made the appropriate changes -- Changing Zap/1 to SIP/postoutbound. Things are working fine if nobody is using the line. However, if people are using the line, ChanIsAvail doesn't detect it. I thought -- fine,...
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...
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. Thank...
2009 Dec 29
1
identifying channel for softhangup
...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 the SoftHangup app in asterisk to disrupt an existing call ? pbx1*CLI> soft hangup SIP/vgw1-00000075 SIP/141-00000074 pbx1*CLI> soft hangup SIP/vgw1-00000075 Requested Hangup on channel 'SIP/vgw1-00000075' -- Executing [h at extensions:1] Hangup("SIP/141-00000074", "") in...
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 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:
2005 Jun 03
3
911 context, is this right?
...(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 => 911,204,Dial(Zap/5/911) exten => 911,205,Hangup() exten => 911,304,SoftHangup(Zap/5-1) exten => 911,305,Wait(2) exten => 911,306,Goto(204) Did I get the Priority + 101 idea right here? Chris Coulthurst chris@shuksan.com
2003 Jul 28
1
Call Forwarding and DND conf
I have put together this call forwarding and dnd config: I'm sure it can be dome with macro's but I couldn't figure that out... anyone care to input. 74 Turns DND on my phone will not ring, drops caller to voicemail... 73 Turns DND off 72+ext forward your extension to another extension and voicemail is left at the forwarded extension. 71 turns off call forwarding. ; dnd Could
2005 Oct 04
4
Emergency calls - forcing through on channel
Hi Hypothetical but quite possible scenerio: Attempted emergency 911 call but all zap channels are already in use. Is there any way to hangup zap channels before dial(Zap/g1/911) or equivalent. AFAIK hangup doesn't except options so I CANNOT do something like hangup(Zap/g1) to clear zap channels before the dial statement - this is what i was hoping to do. So what do other people do?
2009 Sep 29
2
play audio file within an active call
...ecks 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 automatically (softhangup). What's the simplest approach to playing a sound file within an active channel? I thought of writing a cron agi script that scans active channels, retrieves their duration and if it's > X minutes then "RedirectChannel" to a context which executes a Playback(file); if it'...
2003 Dec 02
3
How to restart * thru phone "when convenient"
...ate because the SIP client will stay connected until priority 6 has been executed - so I locked myself in basically. Any suggestion how to accomplish this? With "restart now" there is no problem, but that's not what I want... BTW: Where exactly is the difference between Hangup and Softhangup()? Cheers, Philipp
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,...
2005 Jan 03
3
Line-in as MOH source
...*55. There are some problems, however: 1. Asterisk treats this as a normal call, so only one user can listen at a time. Is there a way to let several user listen simultaneously? 2. As this is a low priority call, it should be dropped when incoming call is sent to a channel which dialed it. I guess SoftHangup could be used, but I don't know how to determine which channel to hangup. 3. I have no idea how to use this as a source for music on hold. Any help would be appreciated. Niksa
2005 Feb 09
0
Why does Asterisk Hangup cause server to freeze?
...; t,1,Hangup exten => i,1,Hangup And this would reliably freeze the machine after I left a voicemail in mailbox 7777, or pressed an invalid key, or allowed Asterisk to timeout. Basically, all I wanted was for Asterisk to hangup on the caller. :) Now I've changed all instances of Hangup to SoftHangup, and the problem does not occur any more. This is unsatisfactory, though, because I DO want asterisk to hang up the connection when it sees fit. Does anyone have any ideas why Hangup isn't working for me? It seems a simple enough command, and others are obviously using it! Has anyone else enco...
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 write this so it "forcibly seized" a line out of that group?...
2007 Oct 16
1
Clean Hangup() ?
...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' and I get the 'wrong extension' signal in the phone... And SoftHangup() don't work much better. No *Hangup() at all 'hangs' for a while, until I'm forcibly hung up... Replacement?
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
2010 Mar 03
1
911, channel full
...et(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}) exten => s,s+2(trunkbusy),GotoIf($[${EMERGENCY}=1]?inprogress) exten => s,n,SoftHangup(${EMERGENCY_TRUNK}-1) exten => s,n,Wait(12) exten => s,n,Goto(checkavail) exten => s,s+2(inprogress),Congestion exten => s,checkavail+101(notavail),Goto(trunkbusy) exten => h,1,GotoIf($["${SET_EMERG_FLAG}"="1"]?3) exten => h,3,Set(EMERGENCY=0,g) If all lines c...
2008 Sep 05
1
dahdi & tdm400p: no luck
As best i could figure it out, I've installed dahdi and rc4. My TDM400P doesn't answer fxo or fxs. /etc/dahdi/system.conf: loadzone = us defaultzone=us fxoks=1,2 fxsks=4 /etc/asterisk/chan_dahdi.conf: [house-phones] context=internal ; Uses the [internal] context in extensions.conf signalling=fxo_ks ; fxo_ks Use FXO signalling for an FXS chanel dahdichan => 1 ;
2009 Jun 04
7
Asterisk AGI issues (at high load)
...and the system becomes "normal" again. 3) What we are seeing are NOT Zombie processes though. It is "as-if" AGI processes are not exiting when traffic increases. But as soon as traffic decreases things become normal. 4) We did follow standard suggestions for AGI scripts (exit, Softhangup, etc) 5) We checked and the CPU utilization seems to be 25% idle at high loads.. so it does not seem like a CPU issue. We have a dual core 3.0GHz intel processor and based upon benchmarking info, we should be easily able to handle 96 calls (with transcoding). 6) We see that each AGI process takes...