Hello to all
I had Asterisk dialing the PSTN through a defined trunk.
But when I enabled the SIP URI calls Asterisk stopped contacting
the PSTN trunk
The SIP URI dial code (who created the problem) is this:
exten => _.,1,NoOp(Incoming Call from from-internal-custom extension
${CALLE
Hi Domenico -
> First, you can remove the quotes aorund your variable
> reference. I've seen examples with it, but you don't need
> it.
I'm not sure: if variable is empty, you got an error.
In addition, double quotes around text that may contain spaces
will force the surrounded text to be evalu
> First, you can remove the quotes aorund your variable
> reference. I've seen examples with it, but you don't need
> it.
I'm not sure: if variable is empty, you got an error.
In addition, double quotes around text that may contain spaces
will force the surrounded text to be evaluated as a sin
Hi Domenico -
I'm trying to match a few of numbers in a GotoIf; numbers are not starting
with but contain some strings:
GotoIf($["${CALLERIDNUM}" =~ "984836|984899|498993|644110"]?8:11)
Expression result is always '0'.
First, you can remove the quotes aorund your variable reference. I've
see
Hi,
I'm trying to match a few of numbers in a GotoIf; numbers are not starting
with but contain some strings:
GotoIf($["${CALLERIDNUM}" =~ "984836|984899|498993|644110"]?8:11)
Expression result is always '0'.
Where am I wrong?
Domenico Viggiani
___
--B
Hello!
this is a short one: in a gotoif-statement i would like to match a
variable to a number, where the number could have digits from 2-6.
asterisk only seems to be capable to match such a digit-range when used
in the extension, but not in a regexp, at least the following query
doesn't work:
e
I'm trying to filter calls that don't have a proper ANI. This is what
I did:
; only if they a real-looking ANI
exten=_1XX1118/_.N.,1,Newt,1118-config
; Otherwise, send them to the loser partyline
exten=_1XX1118,1,Goto(outtrunk,19096611234,1)
This properly deals with null ANIs, but for some
I'm trying to filter calls that don't have a proper ANI. This is what
I did:
; only if they a real-looking ANI
exten=_1XX1118/_.N.,1,Newt,1118-config
; Otherwise, send them to the loser partyline
exten=_1XX1118,1,Goto(outtrunk,19096611234,1)
This properly deals with null ANIs, but for so