Re: [Asterisk-Users] blocked caller id

2004-05-21 Thread Philipp von Klitzing
Hi! exten = s,1,gotoif,$[${CALLERIDNAME} = \0]?2:3; Do this: GotoIf($[foo${CALLERIDNAME} = foo]?2:3) Cheers, Philipp ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update

Re: [Asterisk-Users] blocked caller id

2004-05-21 Thread Walt Reed
On Fri, May 21, 2004 at 11:24:04AM +0200, Philipp von Klitzing said: Hi! exten = s,1,gotoif,$[${CALLERIDNAME} = \0]?2:3; Do this: GotoIf($[foo${CALLERIDNAME} = foo]?2:3) Not knowing how the low-level caller ID works, how do you differentiate between anonymous/private where the caller has

Re: [Asterisk-Users] blocked caller id

2004-05-21 Thread Roger
Philipp von Klitzing wrote: Hi! exten = s,1,gotoif,$[${CALLERIDNAME} = \0]?2:3; Do this: GotoIf($[foo${CALLERIDNAME} = foo]?2:3) Got a syntax error, Tried gotoif,($[foo${CALLERIDNAME} = foo]?2:3) Still no dice. -- Rock River Internet Roger Grunkemeyer 202 W.

Re: [Asterisk-Users] blocked caller id

2004-05-21 Thread Roger
Ok - to solve the problem and mark incoming calls w/ Unknown if the callerid is unavialable or block, as opposed as them showing up from asterisk. I put the following in the general section of my sip.conf [general] callerid=Unknown Look at asterisk bug 1688 for more info. -- Rock River

Re: [Asterisk-Users] blocked caller id

2004-05-20 Thread Roger
Gavin Hollinger wrote: Try replacing: exten = s,2,SetVar,CALLERIDNUM=111 exten = s,3,SetVar,CALLERIDNAME=blah exten = s,4,SetVar,CALLERID=blah With: exten = s,2,SetCallerID(NAME HERE 8005551212) Hey thanks Gavin - that worked perfectly Based on pattern matching I can now re-write the

Re: [Asterisk-Users] blocked caller id

2004-05-19 Thread Roger
Roger wrote: William Suffill wrote: check the caller id in your incoming extension before you pass to to a end user. Reset $calleridname to unavaliable if no number is given Thanks a good suggestion... How would I implement this??? Any docs/web pages/examples you could point me to? Ok

Re: [Asterisk-Users] blocked caller id

2004-05-19 Thread Gavin Hollinger
Try replacing: exten = s,2,SetVar,CALLERIDNUM=111 exten = s,3,SetVar,CALLERIDNAME=blah exten = s,4,SetVar,CALLERID=blah With: exten = s,2,SetCallerID(NAME HERE 8005551212) ___ Asterisk-Users mailing list [EMAIL PROTECTED]

Re: [Asterisk-Users] blocked caller id

2004-05-18 Thread William Suffill
check the caller id in your incoming extension before you pass to to a end user. Reset $calleridname to unavaliable if no number is given On Tue, 2004-05-18 at 15:18, Roger wrote: I have a question - if a user calls up w/ blocked caller id I get the following on my phone Incoming call from

Re: [Asterisk-Users] blocked caller id

2004-05-18 Thread Roger
William Suffill wrote: check the caller id in your incoming extension before you pass to to a end user. Reset $calleridname to unavaliable if no number is given Thanks a good suggestion... How would I implement this??? Any docs/web pages/examples you could point me to? Thanks.