similar to: asterisk 1.6 call forwarding

Displaying 20 results from an estimated 700 matches similar to: "asterisk 1.6 call forwarding"

2007 Feb 15
7
Call forwarding
Hi All, I'm using asterisk 1.2.15 and call forwarding doesnt work for me. from my extensions.conf: ; Unconditional Call Forward exten => _*21*X.,1,NoCDR exten => _*21*X.,2,Set(DB(CFIM/${CALLERID(NUM)})=${EXTEN:4}) exten => _*21*X.,3,Playback(vm-saved) exten => _*21*X.,4,Hangup exten => #21#,1,NoCDR exten => #21#,2,DBdel(CFIM/${CALLERID(NUM)}) exten =>
2010 Nov 19
1
call forward problem
Hi, I tried to perform call forward in asterisk by writing the following in the dial plan.The data base is getting updated with the caller ID number how ever the call is not getting forwarded. [apps] exten => _*21*XX,1,Set(DB(CFIM/${CALLERID(number)})=${EXTEN:4}) exten => _*21*XX,2,Hangup exten => #21#,1,DBDel(CFIM/${CALLERID(num)})=${EXTEN:4} exten => #21#,2,Hangup Regards, Aparna
2007 Nov 26
3
Correct syntax for IF()?
Hello I've tried a bunch of things, but still get errors/warnings when using the IF() function: ============== TEST #1 exten => h,n,Set(WAV_FILE=${IF($[ ${STAT(e,/tmp/${CALLTIME}.wav)} ]?${CALLTIME}.wav)}) [Nov 26 21:52:34] WARNING[5074]: func_logic.c:107 acf_if: Syntax IF(<expr>?[<true>][:<false>]) ============== TEST #2 exten =>
2016 Aug 08
2
Trouble applying regex to dialplan variable that contains double-quotes
I am writing a dialplan context under asterisk 11.21.0 to handle SIP message routing between registered SIP peers using chan_sip. I am having trouble with double-quotes when the source peer uses a display name, which appears in quotes before the SIP URI. I want to extract the SIP URI from MESSAGE(from) in order to (conditionally) route a failure message back to the source peer. My test dialplan
2006 Apr 07
2
gotoif
Here is a section of my dialplan (macro) exten => s,200,Wait(1) exten => s,201,read(holdopt|screen-onhold|1) exten => s,202,GotoIf($[${holdopt} = 1 ]?4) exten => s,203,GoTo(200) it's simple really it loops telling you the caller is on hold until you press 1 and then it sends you off to another area. The problem right now is that if the read() times out i get these warnings...
2007 Aug 10
2
Dialplan loop
Folks, I'm trying to implement a simple loop in a dialplan. The object is to set a counter, run through some IVR options, increment the counter, return to the start, then finally fall through to an operator or voicemail. Am using 1.4.10 and have reviewed doc/ exten => s,1,Set(TIMEOUT(digit)=5) exten => s,n,Set(TIMEOUT(response)=20) exten => s,n,Set(loop = 0) exten =>
2009 Apr 17
1
how to call forward on 1.6
Hello, I want to enable call forwarding for asterisk 1.6.0.6 I couldnt seen any config or option on gui or extensions.conf about it. I found some dialing plans to enable it on web as follows: [apps] ; Unconditional Call Forward exten => _*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4}) exten => _*21*X.,2,Hangup exten => #21#,1,DBdel(CFIM/${CALLERIDNUM}) exten => #21#,2,Hangup ;
2009 Jan 08
4
AEL question: testing channel variables
Hi! I use the following condition: if (${FOOBAR}=YES) { ... } The problem is, that if FOOBAR is not defined at all Asterisk generates a warning: WARNING[11982]: ast_expr2.fl:407 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: =YES Of course I could use the following code, but this bloats up the code: if (${EXISTS(${FOOBAR})}) {
2006 Oct 13
2
AEL Question
Hi, all. I'm making my first foray into AEL. I'm starting with a simple macro, but I've already encountered an odd behaviour. I'm wondering if someone can shed some insight: Asterisk 1.2.9.1 macro newPlaceCallPSTN { s => { TIMEOUT(absolute)=7200; NoOp(Analog Out List: ${ANALOGOUT}); ChanIsAvail(${ANALOGOUT}); NoOp(Available Out List:
2010 Sep 09
1
syntax error, unexpected '<token>'
Hello list, getting warning : *syntax error, unexpected '<token>'* dialplan : exten => pbx,n,Macro(CheckNetworkProblems,${custID}) exten => pbx,n,NoOp(status = ${STATUS}) exten => pbx,n,GoToIf($["${STATUS}"="congestion"]?backup:nocongestion) CLI : [Sep 9 12:27:07] -- Executing [pbx at cust:15] NoOp("SIP/test13-0000002a",
2012 May 02
3
parsing issue
I get an error when I execute this code exten => rejected,n,Hangup($[-1*${Z}]) May 2 13:42:09] WARNING[23128]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected $end, expecting '-' or '!' or '(' or '<token>'; Input: -1* The variable "Z" has a negative number, which is the code that I need to use in the
2019 Oct 01
2
Increasing variables - Changes v13 vs v16
Hi list, on asterisk 13 I use same => n,Set(__myCpt=$[${myCpt} + 1]) which is working well. On an Asterisk 16 I get, for this same command [2019-10-01 16:15:01] WARNING[28197][C-00000008]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '+', expecting $end; Input: + 1 ^ What changes in 16 version creates this behavior and how to
2009 Mar 27
1
Strange warning message
Can anyone give me any idea on where to start looking for this ? 1.4 svn (ish) It has appeared twice in the last hour on a system that gets numerous inbound calls to the same number TIA Julian [Mar 27 17:21:07] WARNING[3239]: ast_expr2.fl:407 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: = 2 ^ [Mar 27 17:21:07] WARNING[3239]:
2010 Nov 03
1
Gotoif changed in 1.8?
Hi Gang, I'm testing 1.8.0 on one of my machines and this snippet "chokes" on line 7 (works fine with 1.4.30) [tb-account-balance] exten => s,1,Set(BALCOUNT=0) exten => s,n,NoOp(Verbose(acct ${digitacc} pwd ${digitpwd} )) exten => s,n(runagi),Set(TEST_RETURN="NONE") exten =>
2006 Feb 20
3
asterisk error
Hi, I got this message on my Asterisk messages file and after it Asterisk went down... 2006-02-18 08:13:55 WARNING[3214] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: + 1 ^ 2006-02-18 08:13:55 WARNING[3214] ast_expr2.fl: If you have questions, please refer to doc/README.variables in the asterisk source.
2008 Apr 15
1
gotoif syntax error
Asterisk is reporting the following error: [Apr 15 16:58:32] WARNING[14759] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ':', expecting $end; Input: : Always ^ here is the dialplan: exten => OUT,1,Gotoif($[$["${DB(AMPUSER/${ARG1}/recording)}" : "out=([^|]+)"] = Always]?r,1) exten =>
2006 Mar 03
2
Does an entry in AstDB stay after reboot?
I set up a call forwarding script in extensions.conf which uses the AstDB but I'm wondering if I reboot the server, will the entry in AstDB still reside? What the script does is when a call comes in, it check to see if there is a null value or a call forward number. If null, it will call the local office connections. If there is a number, it calls that. Now I just need to know if I reboot
2007 May 14
1
ast_yyerror - Help
Hey all, We're starting to see "all circuits are busy" and a few dropped calls. When these happen, in the messages log, I see the following error. May 14 14:42:13 WARNING[5604] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected $end, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: 0?7: What causes this?
2006 Mar 02
1
error messages on /var/log/asterisk/messages
Hi, I am using 1.2.3, and sometimes I can see the following message: Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: + 1 ^ Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: If you have questions, please refer to doc/README.variables in the asterisk source. Any ideas? Thank you
2005 May 15
1
Old DBGet/DBPut vs. new Set(var=${DB(...
Hello I upgraded to CVS head yesterday (due to the lack of zaptel drivers working with 2.6.10) And noticed that now DBGet and DBPut have been deprecated in favour of the new Set/DB one. In the UPGRADING.txt in Asterisk it says: * The applications DBGet and DBPut have been deprecated in favor of functions. Here is a table of their replacements: DBGet(foo=family/key)