[Asterisk-Users] ISDN CAPI and anonymous callers

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Thu Jan 15 09:30:13 MST 2004


Hi!

> I am trying to use * to handle anonymous ISDN callers.
> exten => 5150/0,1,Congestion
> 
> should work but doesn't. Apparently because the ISDN CAPI doesn't
> use 0 for callers who don't send their number.
> 
> Is there a way to make * identify ISDN callers who use CLIR?

Here is what I do:

exten => 22,1,Answer
exten => 22,2,SetCallerID("ISDN" <0${CALLERIDNUM}>)
exten => 22,3,GotoIf($[${CALLERIDNUM} = 0]?6:4)
exten => 22,4,LookupCIDName
exten => 22,5,Goto(7)
exten => 22,6,SetCallerID("ISDN hidden" <0>)
exten => 22,7. ...continue your code...

Cheers, Philipp





More information about the asterisk-users mailing list