[Asterisk-Users] ISDN CAPI and anonymous callers

2004-01-15 Thread Walter Doerr
Hello,

I am trying to use * to handle anonymous ISDN callers.

Something like

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?


-Walter


-- 
  Walter Doerr   =*=   [EMAIL PROTECTED]   =*=   FAX: +49 2421 962001
  The poor folks who only have 100MBytes of RAM five years
from now may not be able to buffer a 16MB packet, but that's their
tough luck.  (John Gilmore on Mon, 10 Oct 88 18:10:21 PDT)
___
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


Re: [Asterisk-Users] ISDN CAPI and anonymous callers

2004-01-15 Thread Detlef Wengorz
Walter Doerr wrote:
 
 Hello,
 
 I am trying to use * to handle anonymous ISDN callers.
 
 Something like
 
 exten = 5150/0,1,Congestion

use:
   exten = 5150/,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?
 
 -Walter
 
 --
   Walter Doerr   =*=   [EMAIL PROTECTED]   =*=   FAX: +49 2421 962001
   The poor folks who only have 100MBytes of RAM five years
 from now may not be able to buffer a 16MB packet, but that's their
 tough luck.  (John Gilmore on Mon, 10 Oct 88 18:10:21 PDT)
 ___
 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

-- 
Best regards 
Detlef Wengorz [EMAIL PROTECTED]
Detlef Wengorz [EMAIL PROTECTED]
___
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


Re: [Asterisk-Users] ISDN CAPI and anonymous callers

2004-01-15 Thread Peer Oliver schmidt
Walter Doerr schrieb:

Hello,

I am trying to use * to handle anonymous ISDN callers.

Something like

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?
Do it the other way round, and just identify all callers with a number. 
Then do the congestion for the rest. I am not to good at 
extensions.conf, but the following should identify all callers with a number

exten = 5150/_X.,1,Answer

exten = 5150/_X.,999,Hangup

exten = 5150,1,Congestion

hth
rgds
pos
___
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


Re: [Asterisk-Users] ISDN CAPI and anonymous callers

2004-01-15 Thread Philipp von Klitzing
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