Re: [Asterisk-Users] blocked caller id

2004-05-21 Thread Walt Reed
On Fri, May 21, 2004 at 11:57:29AM -0500, Roger said: > Look at asterisk bug 1688 for more info. Interesting, but I didn't see any discussion of the "blocked/anonymous" versus "unknown/unavailable". It is highly desirable to handle the two differently. This is probably specific to the Zap interfac

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 Internet

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. S

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

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 upda

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-wri

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] http://lists.di

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 readin

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. __

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 fro

[Asterisk-Users] blocked caller id

2004-05-18 Thread Roger
I have a question - if a user calls up w/ blocked caller id I get the following on my phone Incoming call from asterisk This is the same on my Cisco 7940s and Polycom phones. For average users this is not intuitive at all.. I'd like to configure this so if I deploy this at a customer site it