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-0000006e", "1") in new 
stack
-- Executing [...@office-open:2] Answer("SIP/pstn-5665-0000006e", "") in new 
stack
-- Executing [...@office-open:3] Verbose("SIP/pstn-5665-0000006e", "3|CALLERID(num) 
is :7804715665:") in new stack
-- CALLERID(num) is :7804715665:
-- Executing [...@office-open:4] GotoIf("SIP/pstn-5665-0000006e", "0?5:7") in 
new stack
-- Goto (office-open,s,7)
-- Executing [...@office-open:7] SetMusicOnHold("SIP/pstn-5665-0000006e", 
"default") in new stack
-- Executing [...@office-open:8] BackGround("SIP/pstn-5665-0000006e", 
"sys_concept_welcome|tr") in new stack
-- <SIP/pstn-5665-0000006e> Playing 'sys_concept_welcome' (language 'en')

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?

--
Joseph

On 12/29/10 18:56, Doug Lytle wrote:
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 your console output


Doug


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to