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


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to