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 says "caller id unavialable". With the spelling done right.... Any ideas on how this wold be accomplished? -- Rock River Internet Roger Grunkemeyer 202 W. State St, 8th Floor grunky@rockriver.net Rockford, IL 61101 815-968-9888 x102
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 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 > says "caller id unavialable". With the spelling done right.... > > Any ideas on how this wold be accomplished?
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.
Hi!> exten => s,1,gotoif,"$[${CALLERIDNAME} = \0]?2:3";Do this: GotoIf($[foo${CALLERIDNAME} = foo]?2:3) Cheers, Philipp
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. State St, 8th Floor grunky@rockriver.net Rockford, IL 61101 815-968-9888 x102
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 Roger Grunkemeyer 202 W. State St, 8th Floor grunky@rockriver.net Rockford, IL 61101 815-968-9888 x102