Displaying 20 results from an estimated 9000 matches similar to: "GotoIf CALLERID(num)"
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
2006 Apr 20
3
Asterisk Won't start after SVN Trunk Update
Hi:
I deleted old modules in /usr/lib/asterisk/modules
before make install. I built zaptel and libpri before
asterisk. Modprobe zaptel and modprobe -v wctdm
executed witiout complaint. Starting asterisk
produced the output below with several warnings and a
failure. Can someone help, please. I double-spaced
the warnings in the text below. The first warning is
about music on hold because it
2005 Feb 19
3
Still asterisk startup crash plz help
Hi,
First i would like to thank the kind people of the list who have
answered my previuos mail, but i am still stuck as asterisk still
crashes upon startup, i have read the install article at
http://www.voip-info.org/wiki-Asterisk+Step-by-step+Installation
and i have search the asterisk archives, but i still cant get asterisk
to work, i have tried reinstalling asterisk but it still complains and
2013 May 05
1
GotoIf DIALSTATUS - not working
What am I doing wrong?
Goif dialstatus: busy CONGESTION not working.
exten => _7NXXXXXX,1,Dial(SIP/7780${EXTEN:1}@pstn-5665,60,tr)
exten => _7NXXXXXX,n,GotoIf($[$["${DIALSTATUS}" = "BUSY"] | $["${DIALSTATUS}" = "CONGESTION"]]?line2)
exten => _7NXXXXXX,n(line2),Dial(SIP/9780${EXTEN:1}@pstn-1270,60,tr)
exten => _7NXXXXXX,n,Hangup()
When I try to
2006 Nov 16
2
installing asterisk for Ubuntu Synaptic
I have an Ubuntu system and went into Synaptic and checked asterisk for
installation. Once installed, I started it with /usr/sbin/asterisk -vvvgc
and got the following output with several errors and notices. Do I need to
do more or are these ok? I expected to have some conf files in
/etc/asterisk but there is nothing there.
Thanks!
Created by Mark Spencer <markster@digium.com>
2010 Dec 30
4
call is not going to Voicemail with "1,n"
I've tried to simplified the dial plan and use "n" instead of numbers but I've noticed it is not executing my voicemail if I substitute number with "n"
In the example below when the call is not answered, it does not go to voicemail; call just hangup.
exten => 1,1,Playback(transfer)
exten => 1,n,Dial(${sales_support}&IAX2/iaxy-322,20,jrw)
exten =>
2007 Jun 26
1
CDR Records "s" as dst
I am using VoiceOne http://voiceone.it/ as my management interface.
I am not 100% sure when it started, but my CDR is now full of "s" as
the DST instead of the actual dialed number.
As I understand it - it is because it is being recorded in the CDR
while in a macro (as below).
Is there any work around so that I can record the actual dialed number?
[macro-dialout]
exten =
2006 Mar 24
3
iax limit question
I want to limit the number of simultaneous incoming
calls that my IAX DID can accept to, say, 2. The IAX
DID provider sets no limit.
The code below does work, but when the limit is in
effect, new callers hear a "call cannot be completed
as dialed.." message instead of a busy signal. Maybe
this is an issue with the provider, but I do not like
this and want callers to hear a busy signal.
2013 Jun 13
1
blocking spammer by callerID "name"
I have a subroutine to block spammer by CALLERID(number)
exten => 4,1,GotoIf(${BLACKLIST()}?blacklisted,s,1)
exten => 4,n,Set(goaway=${CALLERID(number):0:2})
exten => 4,n,GotoIf($["${goaway}" = "V4" ]?blacklisted,s,1)
exten => 4,n,GotoIf($["${goaway}" = "V3" ]?blacklisted,s,1)
but I just got another spammer (automated calls) who rotates his
2005 Feb 24
2
Delay after entering digits with IVR
I have a [start] context that all my inbound and '0' calls are routed
into.
Because of the way I want to set my system up, I want to prompt the user
to enter a 1 if they know the extension, or a 2 for a directory and
nothing else.
It works, however there is a 5 to 10 second delay after enter the 1 or 2
before the system responds.
I have read over the wiki on how asterisk handles digit
2014 Jul 09
1
PRI congestion instead of busy
I have two servers, each connected to the PTSN via PRI. When I call from site A (951-999-9999) to site B (555-1212) and the phone at site B is on the phone, I hear the normal ring tone for about 20 seconds, then the message "all circuits are busy now. please try your call again latter" followed by the congestion tone. Instead, I want this to busy ring and then hang up without any
2005 Mar 22
1
Help Debugging my code?
Hey, I'm currently using the GotoIf application to set it so if
certain caller ID's call my number, it will transfer it to my cell
phone, here is the code I have so far. I get an error message that
states "call rejected by 198.22.67.70: No such context/extention."
when I call the number from my house number. Anyway, here is the code
I have.
[inbound]
exten =>
2007 Aug 27
3
voip provider settings problem, please help
hi ppl, i'm using asterisk 1.2 because i'm making use of voiceone, but before i was using asterisk
1.4 and had the same problem, it concerns an italian voip/sip provider called eutelia/skypho, my
problem is the following one:
when i start my pbx my skypho account is working fine, meaning that e.g. incoming calls are shown
in the asterisk CLI and caller and callee can hear each other when
2013 Jun 14
1
GotoIf($["${CALLERID(number)}
I'm trying to to to "dial1" if caller id match:
but dial plan execute 220,n(dial1) regardless
exten => 220,n,GotoIf($["${CALLERID(number)}" = "7804792668"]?dial1)
exten => 220,n(dial1),Dial(${sales_support}&${accounting}&${family},25,m(penguin)w)
exten => 220,n,
I was under impression that if condition is met it will jump to
2008 Dec 16
1
interesting problem
I?ve got an interesting problem and am wondering if anyone can shed light ?
I am running Asterisk on RHEL Server release 5.2 connecting to an Avaya Definity G3R via a Digium TE220.
Asterisk 1.4.20
Zaptel 1.4.4
Libpri 1.4.4
MySQL 5.0.45
Festival Speech Synthesis System: 1.95
We have about 4200 accounts in a MySQL db. Asterisk retrieves the user information from the database, festival tts says
2007 Aug 16
1
Set CALLERID(num) to a specific number only if ${CALLERID(num)} is not an NANP number
Im trying to figure out the base way to check the callerID being sent
to my Asterisk box and use it if it is a valid NANP number, but
replace it with a static NANP number if it is not. (Why? I have a
few carriers that require this, and a few international users - if it
happens to take one of the carriers that require it, I want it to set
a static number that is valid).
I'm playing
2008 Feb 15
1
DialPlan help with Analog Fax Machine
I'm struggling to get my dialplan to work with a simple analog fax
machine.
I have TDM400B zaptel card with an FXO and FXS port. I have the FXO
port connected to the POTS machine and the FAX machine connected to the
FXS port.
The FAX machine itself works fine, I can FAX outgoing messages fine. I
can also dial the FAX extension from the internal context, the FAX
machine answers and I
2014 Jul 02
1
Gotoif($[${LEN(${CALLERID(number)})} != 4]?true) doesn't work...
Greetings,
I'm hoping that an extra pair of eyes might help me to solve a challenge...
Anyone have any idea why the following would not work? I'm trying to test
for a callerid value that is 4 digits in length..
exten => s,1,NoOp(CLID is ${CALLERID(all)})
exten => s,n,Gotoif($[${LEN(${CALLERID(number)})} != 4]?true)
exten => s,n,NoOp(Value is False)
exten => s,n,Hangup
2005 Jan 18
3
Newbie question: Can't start up asterisk
Folks,
I've just successfully set up Asterisk (as part of the
Asterisk Management Portal installation). When I say
"successfully", I mean that I have gone through all
the steps detailed for the installation of AMP and not
hit any snags there. I can connect to my asterisk
server via ssh and can also connect via Http to the
portal to change settings in AMP.
Now I'm trying to
2014 Aug 07
2
agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call
due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is
an answer anywere.
Is there a way to get_data