search for: emergency_num

Displaying 9 results from an estimated 9 matches for "emergency_num".

2011 Apr 02
1
Problem getting TDM400P clone card to go off-hook and dial
...(SWEC: MG2) ### Span 2: DAHDI_DUMMY/1 "DAHDI_DUMMY/1 (source: HRtimer) 1" root at Trixie:~# ------------------------------------------------- extensions.conf (excerpt) ; Global variables [globals] ; Stuff for 911 EMERGENCY=0 EMERGENCY_TRUNK=DAHDI/4 ; Change this for production use: ;EMERGENCY_NUM=some_test_phone_number EMERGENCY_NUM=811 ;EMERGENCY_NUM=911 ... ; Which trunk to use for any DAHDI (PSTN-'Hard Line'-AKA POTS) type stuff POTSTRUNK=DAHDI/4 ... ; Emergency -- DO NOT REMOVE! exten => 911,1,Goto(nineoneone,s,1) ... ; EMERGENCY! See http://www.voip-info.org/wiki-Ast...
2005 Mar 17
3
Undocumented "exten" syntax?
...nfo.org/wiki-Asterisk+tips+911, I see these extensions.conf lines: exten => s,1,SetVar(SET_EMERG_FLAG=0) exten => s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK}) exten => s,n,SetGlobalVar(EMERGENCY=1) exten => s,n,SetVar(SET_EMERG_FLAG=1) exten => s,n(dial),Dial(${EMERGENCY_TRUNK}/${EMERGENCY_NUM}) exten => s,s+2(trunkbusy),GotoIf($[${EMERGENCY} = 1]?inprogress) Now, I have several questions: * What is the "n" priority and how can they use it for several different items? Don't they need an increasing integer there? * What is the "(checkavail)" doing? *...
2010 Mar 03
1
911, channel full
...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}) 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($[&qu...
2010 Aug 30
2
help with dialplan
.../27 GMNETPHONE0=SIP/30 GMNETPHONE1=SIP/31 GMNETPHONE2=SIP/32 GMNETPHONE3=SIP/33 GMNETPHONE4=SIP/34 GMNETPHONE5=SIP/35 GMNETPHONE6=SIP/36 GMNETPHONE7=SIP/37 EXTERNPHONE0=SIP/150 CPHONE1=SIP/16780000000 CPHONE2=SIP/17700000000 EMERGENCY=0 EMERGENCY_TRUNK=DAHDI/G1 ; Change this for production use: EMERGENCY_NUM=6789542133 [from-pstn] exten => s,1,Set(FROM_DID="6780000000) exten => s,n,NoOp(id is ${FROM_DID}) exten => s,n,Goto(incoming1,s,1) [from-pstn1] exten => s,1,Set(FROM_DID="6780000000) exten => s,n,NoOp(id is ${FROM_DID}) exten => s,n,Goto(incoming1,s,1) [from-pstn2] e...
2006 Jan 10
1
busydetect
Hi, I'm struggling to get busydetect to work. I'm using asterisk 1.2.1 and a digium TDM04B (4 port FXO) card. I've set busydetect=yes, busycount=6 and busypattern=300,200 in zapata.conf and i've modified zondata.c with a busy setting of 620+480, 300/200 which is the busysignal received from Korea Telecom. Asterisk isn't detecting the busy signal and doesn't hangup.
2005 Jun 15
0
Asterisk slow transferring calls
...-transfer:PARKED|7200|SIP/DNE|te405p-in,Zap/g4/ 211,1) [emergency] exten => s,1,SetVar(SET_EMERG_FLAG=0) exten => s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK}) exten => s,n,SetGlobalVar(EMERGENCY=1) exten => s,n,SetVar(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($[$...
2005 Sep 23
0
Problem with outbound calls
...rver*CLI> pri show span 1 Primary D-channel: 16 Status: Provisioned, Up, Active Switchtype: EuroISDN Type: Network Window Length: 0/7 Sentrej: 0 SolicitFbit: 0 Retrans: 0 Busy: 0 Overlap Dial: 0 Extensions.conf: [general] static=yes writeprotect=no [globals] EMERGENCY=0 EMERGENCY_TRUNK=Zap/17 EMERGENCY_NUM=some_test_phone_number MAX_RING_TIME = 20 CONSOLE=Console/dsp ; Console interface for demo ;CONSOLE=Zap/1 ;CONSOLE=Phone/phone0 IAXINFO=guest ; IAXtel username/password ;IAXINFO=myuser:mypass TRUNK=Zap/g1...
2006 Feb 19
2
Line Dropouts on E405P
...405p-in,Zap/g4/211,1) [emergency] exten => s,1,Dial(ZAP/g1/000) exten => s,1,SetVar(SET_EMERG_FLAG=0) exten => s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK}) exten => s,n,SetGlobalVar(EMERGENCY=1) exten => s,n,SetVar(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($[$...
2005 Mar 22
0
RE: Asterisk-Users Digest, Vol 8, Issue 150
...ee these > extensions.conf lines: > > exten => s,1,SetVar(SET_EMERG_FLAG=0) > exten => s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK}) > exten => s,n,SetGlobalVar(EMERGENCY=1) > exten => s,n,SetVar(SET_EMERG_FLAG=1) > exten => s,n(dial),Dial(${EMERGENCY_TRUNK}/${EMERGENCY_NUM}) > exten => s,s+2(trunkbusy),GotoIf($[${EMERGENCY} = 1]?inprogress) I hope the wiki page mentions that the "n" priority is only supported in CVS-HEAD, not 1.0.x. -- Always do right. This will gratify some people and astonish the rest. Mark Twain -----------------------------...