Joseph wrote:
I see my problem, caller ID is coming in as 7804715665 and I was
blocking 4715665 I need to enter area code first, or can I use "*" as
first digits?
It would be best just to match against the whole number.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty
I've tried all posibilities with quotes without qoutes :-/
Here is the line output:
-- Goto (office-open,s,1)
-- Executing [...@office-open:1] Wait("SIP/pstn-5665-006e", "1") in new
stack
-- Executing [...@office-open:2] Answer("SIP/pstn-5665-006e", "") in new
stack
-- Executing [...@o
On Wed, 29 Dec 2010 16:41:17 -0700
Joseph wrote:
> No, it is not a space issue, I tried:
>
> exten => s,3,GotoIf($["${CALLERID(num)}"="4715665"]?4:6)
>
> but it still goes to priority "6"
Have you verified the value of CALLERID(num) by passing it to Verbose?
Could it be that there are blanks?
Joseph wrote:
; for Caller ID is 471-5665, always signal congestion:
exten => s,3,GotoIf($["${CALLERID(num)}" = "4715665"]?4:6)
Yours on the top, mine on the bottom.
GotoIf($["${CALLERID(num)}" = "4715665"]?4:6)
GotoIf($["${CALLERID(num)}" = "4715665" ]?4:6)
If that wasn't it, then lets see
I don't think you need the quotes. Try without them
Adolphe Cher-aime
From my Iphone
On Dec 29, 2010, at 6:41 PM, Joseph wrote:
No, it is not a space issue, I tried:
exten => s,3,GotoIf($["${CALLERID(num)}"="4715665"]?4:6)
but it still goes to priority "6"
--
Joseph
On 12/29/10 16:23, J
No, it is not a space issue, I tried:
exten => s,3,GotoIf($["${CALLERID(num)}"="4715665"]?4:6)
but it still goes to priority "6"
--
Joseph
On 12/29/10 16:23, Joel Maslak wrote:
Get rid of the spaces before and after the equal sign.
On Wed, Dec 29, 2010 at 4:15 PM, Joseph wrote:
I'm testing
Get rid of the spaces before and after the equal sign.
On Wed, Dec 29, 2010 at 4:15 PM, Joseph wrote:
> I'm testing GotoIf($["${CALLERID(num) but I'm missing something as it is not
> working:
>
> [office-open]
> exten => s,1,Wait(1)
> exten => s,2,Answer()
>
> ; for Caller ID is 471-5665, always
I'm testing GotoIf($["${CALLERID(num) but I'm missing something as it is not
working:
[office-open]
exten => s,1,Wait(1)
exten => s,2,Answer()
; for Caller ID is 471-5665, always signal congestion:
exten => s,3,GotoIf($["${CALLERID(num)}" = "4715665"]?4:6)
exten => s,4,Playtones(congestion)
ext