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 =*= wd@infodn.rmi.de =*= 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)
Peer Oliver schmidt
2004-Jan-15 03:51 UTC
[Asterisk-Users] ISDN CAPI and anonymous callers
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
Walter Doerr wrote:> > Hello, > > I am trying to use * to handle anonymous ISDN callers. > > Something like > > exten => 5150/0,1,Congestionuse: 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 =*= wd@infodn.rmi.de =*= 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 > Asterisk-Users@lists.digium.com > 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 <detlef@abcbtx.de> Detlef Wengorz <detlefw@isdn4linux.de>
Philipp von Klitzing
2004-Jan-15 09:30 UTC
[Asterisk-Users] ISDN CAPI and anonymous callers
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