Displaying 10 results from an estimated 10 matches for "rgprefix".
Did you mean:
gprefix
2006 Jun 21
2
FW: syntax error
...as
Sent: Thursday, 22 June 2006 12:22 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] syntax error
That's freePBX or AMP code that we've since fixed - The replacement line is
exten => s,2,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != "${RGPREFIX}"]?4:3) ; check for old prefix
(Upgrade to freePBX 2.1.1, it's much better, really)
--Rob
(freePBX dev)
> -----Original Message-----
> From: dviggiani@tiscali.it [mailto:dviggiani@tiscali.it]
> Sent: Wednesday, 21 June 2006 10:17 PM
> To: '...
2011 Mar 28
1
DTMF input while waiting in queue...
...ID: ${UNIQUEID},Channel: ${CHANNEL})
exten => 1820,n,ExecIf($["${REGEX("(M[(]auto-blkvm[)])" ${DIAL_OPTIONS})}"
!= "1"]?Set(_DIAL_OPTIONS=${DIAL_OPTIONS}M(auto-blkvm)U(ackcall^s^1)))
exten => 1820,n,Set(__NODEST=${EXTEN})
exten => 1820,n,GotoIf($["foo${RGPREFIX}" = "foo"]?REPCID)
exten => 1820,n,GotoIf($["${RGPREFIX}" !=
"${CALLERID(name):0:${LEN(${RGPREFIX})}}"]?REPCID)
exten => 1820,n,Noop(Current RGPREFIX is ${RGPREFIX}....stripping from
Caller ID)
exten => 1820,n,Set(CALLERID(name)=${CALLERID(name):${LEN(...
2006 Nov 14
6
unable to get channel lock BAD BAD BAD
...39; | grep !=
's' => 1. GotoIf($["${REALCALLERIDNUM:1:2}" != ""]?start)
[pbx_config]
2. GotoIf($["${REALCALLERIDNUM:1:2}" != ""]?start)
[pbx_config]
2.
GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" !=
"${RGPREFIX}"]?4:3) [pbx_config]
2.
Set(VMGAIN=${IF($["foo${VM_GAIN}"!="foo"]?"g(${VM_GAIN})":"")})
[pbx_config]
'docfu' => 1.
Set(RTCFU=${IF($["${VMBOX}"!="novm"]?${RINGTIMER}...
2005 Jul 11
1
ASterisk@home + Broadvoice = Almost working installation...
...acro call such as the following:
; Macro(dial,$DIAL_TIMER,$DIAL_OPTIONS,$EXT1,$EXT2,$EXT3,...)
[macro-dial]
exten => s,1,GotoIf($[ "${MACRO_CONTEXT}" = "macro-rg-group" ]?4:2) ; if this is
from rg-group, don't strip prefix
exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} != ${RGPREFIX}]?4:3)
; check for ring-group prefix
exten => s,3,SetCIDName(${CALLERIDNAME:${LEN(${RGPREFIX})}}) ; strip off prefix
exten => s,4,AGI,dialparties.agi
exten => s,5,NoOp(Returned from dialparties with no extensions to call)
exten => s,6,SetVar(DIALSTATUS=BUSY)
exten =>...
2006 Jun 21
0
AW: syntax error
Hi,
> Does anyone know why this row:
> exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} !=
> ${RGPREFIX}]?4:3)
took me some squinting, but the parantheses seem correct - so I presume
the Asterisk parser can't cope with that convoluted an expression (using
a function within a variable, basically).
Try putting LEN(${RGPREFIX}) into a separate variable first, then refer
to it...
2005 Aug 02
12
WHat does it take
How many times do you ask for help here before getting a respone? Every
single thing I do No matter what I get busy extensions. I am willing to pay
someone to help here. Anybody got a clue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050802/d0d1326c/attachment.htm
2006 Jun 21
1
syntax error
Does anyone know why this row:
exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} !=
${RGPREFIX}]?4:3)
generate this error:
ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_NE,
expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
!=
^
?
I was unable to debug it.
--
DV
2005 Sep 01
1
dialparties.agi is returning no extensions to dial
...p/1-1", "rg-group") in new stack
-- Executing GotoIf("Zap/1-1", "0?3:2") in new stack
-- Goto (macro-rg-group,s,2)
-- Executing SetCIDName("Zap/1-1", "AIRLINK SYSTEMS") in new stack
-- Executing SetVar("Zap/1-1", "RGPREFIX=") in new stack
-- Executing SetCIDName("Zap/1-1", "AIRLINK SYSTEMS") in new stack
-- Executing SetVar("Zap/1-1", "RecordMethod=Group") in new stack
-- Executing Macro("Zap/1-1", "record-enable|3|Group") in new stack
-...
2006 Jan 27
0
Digium Wildcard TDM400P call pickup timing
...t;
<1055>") in new stack
-- Executing GotoIf("IAX2/1055-4", "0?4:3") in new stack
-- Goto (macro-rg-group,s,3)
-- Executing SetCIDName("IAX2/1055-4", "EXTERNAL-CALLER") in new
stack
-- Executing SetVar("IAX2/1055-4", "RGPREFIX=") in new stack
-- Executing SetCIDName("IAX2/1055-4", "EXTERNAL-CALLER") in new
stack
-- Executing SetVar("IAX2/1055-4", "RecordMethod=Group") in new
stack
-- Executing Macro("IAX2/1055-4", "record-enable|1|Group") in new...
2006 Jan 27
5
External IAX2 phone defined as internal behaving as from PSTN
...t;
<1055>") in new stack
-- Executing GotoIf("IAX2/1055-4", "0?4:3") in new stack
-- Goto (macro-rg-group,s,3)
-- Executing SetCIDName("IAX2/1055-4", "EXTERNAL-CALLER") in new
stack
-- Executing SetVar("IAX2/1055-4", "RGPREFIX=") in new stack
-- Executing SetCIDName("IAX2/1055-4", "EXTERNAL-CALLER") in new
stack
-- Executing SetVar("IAX2/1055-4", "RecordMethod=Group") in new
stack
-- Executing Macro("IAX2/1055-4", "record-enable|1|Group") in new...