Displaying 20 results from an estimated 82 matches for "setglobalvars".
Did you mean:
setglobalvar
2005 Feb 12
0
Outbound calls on a busy Zap/1: BUSY vs. CHANUNAVAIL
Hi,
I'm using the macro below in extensions.conf for most of my outbound
calls. One issue with my current configuration is that when I make an
outbound call it doesn't properly detect that my PSTN line (Zap/1) is
busy with another call and then overflow to my outbound IAX
connections. I think the root cause is that DIALSTATUS gets reported
as BUSY. The debug output is below. My desired
2004 Oct 05
1
difference between dtmf digit 8 and 9
Hello,
this is an example extensions.conf.
[default]
exten => 500,1,Answer
exten => 8,1,SetGlobalVar(firstdigit=8)
exten => 8,2,Goto(process,s,1)
exten => 9,1,SetGlobalVar(firstdigit=9)
exten => 9,2,Goto(process,s,1)
I call extension 500 and send dtmf digit 9. This is printed to the
CLI:
-- Executing Answer("Zap/20-1", "") in new stack
-- Accepting
2006 Mar 07
1
Setting Vaaibles
Helo List,
First I would like to apologize for my bad spelling as
well as that I did not search the wiki first. I only
have email access at the moment.
I am having trouble setting both variables and global
variables thru an extension.
I am using Asterisk 1.2.4 with Ztdummy on CentOS 3.4
with an Xlite softphone. I have two xlite phones on
diffent computers. One logs in as xlite1 and the other
as
2004 Nov 30
0
No voice when I dial out
I can dial from 601 to a public number.
The public number rings. I pickup and hear nothing, while on 601 it keeps ringing.
(BTW, is it right to say "ringing" on the active phone?)
The *CLI> doesn't show me anything useful:
Executing Macro("SIP/601-8238", "dial-pstn|88097880|") in new stack
Executing SetGlobalVar("SIP/601-8238",
2006 May 29
4
How to enable call waiting on Sip Phones
How do you enable call waiting on sip phones? Ive looked and googled and
can only find call waiting pstn phones butnot for sip. Is their a way of
setting this up within the dailplan?
2006 May 22
1
behaviour depending on count of used lines
Hi there,
I want to set up an extension set that acts different depending on the count
of used lines. I have a EuroISDN E1 board with mISDN and I only want to offer
10 lines. Therefore I set up a global variables LINES in the general section
of extensions.conf and instantiate it with 0. I a call is incoming I check
the LINES variable wether is 10 or more. If so I make a call transfer. If not
2006 Feb 01
3
Dumb Dialout Question
I'm still trying to learn some parts of Asterisk, so sorry in advance for the dumb question!
How do I set up an extension to dial out to the PSTN through my ZAP interfaces? I want the ability to have a ring group that will ring all of the phones in an office and then ring cell phones if nobody answers. I'm sure this is simple to do but I'm at a loss.
I have tried the following
2004 Dec 01
0
extension and PSTN connection
I got two phones on an ATA-186 (601, 602) and two phones on the TDM22B
(603, 604). I have two lines on the TDM22B.
I cannot figure out some of the problems:
1. 601 dials via ZAP/3-1 to local phone number at PSTN:
ringing
pickup on PSTN (empty)
still ringing in the phone set 601
2. call from PSTN back:
601 picks up ... everything works !!!
No caller id shows up
3. For testing I have only one
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.
2009 May 20
1
Macro with DIALSTATUS
Hi,
I am trying to pass DIALSTATUS to a Macro so that i can set a
variable when a call is placed (call is placed via a call file to
another extension first). Basically i don't want to dial a number
where a call is already bridged and thats why i am setting a variable.
[macro-afterdial];
exten => s,1,Goto(s-${ARG1},1)
exten => s-ANSWER,1,SetGlobalVar(NUM${ARG2} = "ACTIVE")
2003 Oct 23
1
Extended logic syntax
Hi. Can anyone help me with the following:
[globals]
OFFICEHOURS
....................................
[internal]
exten => *80,2,SetGlobalVar(OFFICEHOURS=100)
exten => *80,2,SetGlobalVar(OFFICEHOURS=200)
....................................
[incoming]
exten => s,1,GotoIf($[${OFFICEHOURS} = 100}]?incoming-officehours:incoming-officehours-off
1. Am I using the right sytanx when
2004 Jan 02
1
Asterisk Gotoif / last called
Hi guys
Ive been trying to get this to work for ages now, basicaly im trying to do if ${woteva} = "" (nothing), or its none existenant then do label 1, else label 2. for my last called function, so it will play a different message if theres no last call in the system or it was anonymous.
ive tried
exten => 1000,1,GotoIf($[${last-call${CALLERIDNUM}} = ""]?4:5)
and heaps of
2005 Mar 17
3
Undocumented "exten" syntax?
Over at http://www.voip-info.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} =
2005 Feb 11
4
Setting a "Forward" to an external number on your phone
Hi!
Maybe I have just been looking on the wrong pages but there is a
question that is very important for me. I already studied some
Demo-Dialplans and made some basic experiences with Asterisk. But what I
need to find out is how I can handle this.
I am leaving my office and I want to tell asterisk to forward calls now
to my mobile phone by just hitting a key (on my IP-Phone) or by using a
2013 Nov 27
3
issue with speech in IVR
hello list
i have an IVR menu in asterisk 1.4
like below
exten => 600,1,Ringing()
exten => 600,n,Wait(2)
exten => 600,n,Goto(home,s,1)
[home]
exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten => s,n,Background(${sounds_path}music1)
exten => s,n,Background(${sounds_path}music2)
exten => s,n,Background(${sounds_path}music3)
exten =>
2007 Feb 09
1
Outbound Call Transfer Problem
Hi
I am using Asterisk 1.2 and for the life of me, I am unable to transfer
outbound calls (eg calls I initiate from sip extensions). When I press
#, nothing happens. Inbound calls transfer fine, but only once per call.
The problem happens:
- With both software and hardware phones.
- With calls going out through the ZAP channel and to internal SIP
extensions.
- After I have transferred an
2003 Dec 14
1
Error loading modem driver
When I attempt to start asterisk with my modem setup listed it will not start
attached are the error messages i get and also the modem.conf that i am currently using. Any assistance would be greatly appreciated.
running CVS ver 12/7/03, modified only to allow the RxFax and TxFax to compile and run with it (from http://www.opencall.org)
just e-mail me privately if you need more info
Thanks in
2004 Sep 25
3
Queue and Agent functionality
I've seen alot of posts lately on Queue and Agent functionality, and
alot of hacks to make them do different things that most call center
managers want.
In the sake of doing this one time, I'd like to develop a single list
of request so we can consolidate a feature request for the Queue/Agent
system.
Here are the ones that I run into the most:
1. Queue should know the status of agents
2006 Oct 17
4
IVR problem
All,
I'm not able to play background files since this morning. I'm seeing this
error message in the logs:
[Oct 17 10:23:56] WARNING[4572] file.c: File
custom/asterisk-prospectus_IVR-main-day does not exist in any format
[Oct 17 10:23:56] WARNING[4572] file.c: Unable to open
custom/asterisk-prospectus_IVR-main-day (format 0x4 (ulaw)): Permission
denied
[Oct 17 10:23:56] WARNING[4572]
2005 Feb 18
3
Help asterisk startup errors
Hello all,
HI i am very new to asterisk and my boss needs me to investigate setting
up asterisk for a new client. I have downloaded and installed (make,
make install and make progdocs)asterisk on my personal computer and
when i try to run it (./asterisk -vvvc) i get the following output
below:
NOTE: i am running REDHAT 9.0 on a 796MHz cpu machine:
I am excited to be able to work with asterisk