similar to: Problem with HasNewVoicemail()

Displaying 20 results from an estimated 400 matches similar to: "Problem with HasNewVoicemail()"

2004 Dec 03
1
HasNewVoicemail does not find voicemailbox, but files exist
Hi, the app HasNewVoiceMail can't find my voicemail. This is the errormessage: Dec 3 14:24:01 NOTICE[12222481]: app_hasnewvoicemail.c:104 hasvoicemail_exec: Voice mailbox 25 at /var/spool/asterisk/voicemail/default/25/(null) does not exist however this is the output of lspbx:~# ls -l /var/spool/asterisk/voicemail/default/25/ total 316 -rwx------ 1 root root 11814 2003-11-22 18:18
2005 May 19
1
HasNewVoicemail not being called if user hang up after leaving VM ??
Hi, it seems if a user leaves voicemail and hangs up the call when done, then HasNewVoicemail never gets called on the next line in the context. However if they press # to finish their VM, then it moves to HasNewVoicemail and this works? eg:- ...... exten => 2002,3,VoiceMail(u${OFFICEVM}) exten => 2002,4,HasNewVoiceMail(2002) ...... exten => 2002,105, do something cos vm has been
2010 May 12
1
Voicemail() app not available?
Hi all, I have a demo machine I'm running up on Lenny - it has the packaged Asterisk version installed (1.4.21.2+stuff). I'm trying to add an extension to leave a voicemail message, just with Voicemail(1234), which I've done before (on 1.2 at least), but it's saying "no application 'Voicemail' ". "module show like voi" shows
2005 May 12
1
ast_yyerror - 'space' in Caller-ID - string comparison
I've some code to manipulate incoming Caller-ID - so its suitable for replying to... [sipdef] exten => s,1,NoOp(FWD SIP: "${CALLERIDNAME}" <${CALLERIDNUM}>) ; Alter incoming calles from pulver - add a '87' exten => s,2,Gotoif($[${CALLERIDNAME} = ${CALLERIDNUM}]?3:4) exten => s,3,SetCIDName(87${CALLERIDNUM}) exten => s,4,SetCIDNum(87${CALLERIDNUM}) exten
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 =>
2004 Jul 04
1
How to use return value in extensions.conf
Hi, I am trying to implement a dialplan in which the user is notified of a missed call, if no voicemail is left. Basically what I would like to achieve is something like ... exten => _0207XXXXXXX,1,DIAL(SIP/${EXTEN},15) exten => _0207XXXXXXX,2,HasNewVoicemail(${EXTEN:4}@default:INBOX|msgcount) exten => _0207XXXXXXX,3,Voicemail(u${EXTEN:4}) exten =>
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",
2004 Aug 18
1
Testing null values: ast_yyerror(): syntax error
OK, I'm going nuts here trying to correctly identify null values, specifically when callerID info is not available. FYI, I'm running Asterisk CVS-HEAD-08/17/04-13:08:53, and Bison 1.875a (debian Sid). A snippit of my dialplan looks like this: exten => s,1,SetCIDNum(${CALLERIDNUM}) exten => s,2,NoOp,${CALLERID} exten => s,3,DBGet(temp=idiot/${CALLERIDNUM}) ; Is the person calling
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
2005 Jun 29
5
Problems with OR Logic in the GotoIf Statement
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3034 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050629/596126bc/smime.bin
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 =>
2004 Apr 12
0
strange error at extension.conf
hi, i write this looking for free conference room, i checl code and don?t see any error but die at priority 7 if room 1001 have users in exten => _1NXXNXXXXXX,1,RouteCall(${EXTEN}) exten => _1NXXNXXXXXX,2,GotoIf($[${DESTINATION1:0:3} = CONF]?3:13) exten => _1NXXNXXXXXX,3,Setvar,var=0 exten => _1NXXNXXXXXX,4,MeetMeCount(1001|var) exten => _1NXXNXXXXXX,5,GotoIf($[${var} =0]?7:6)
2009 Jul 31
1
asterisk 1.6 call forwarding
Dear All, I'n trying to make a simple call forwarding, however I have small problem when evaluating an expresion. Here is my extensions.conf ... ; Unconditional Call Forward exten => _#21*X.,1,Set(DB(CFIM/${CALLERID(num)})=${EXTEN:4}) exten => _#21*X.,2,Hangup() exten => #21#,1,Set(ignored=${DB_DELETE(CFIM/${CALLERID(num)})}) exten => #21#,2,Hangup() ... exten =>