Quickie: Does anyone out there have experience with PRI delivery of ANI II information? Specifically, I want to know if it's possible from within Asterisk to know if the inbound call (which may or may not be to an 800 number) came from a payphone or not. I know with some 800 providers it's possible to block inbound calls from payphones (due to the FCC surcharge etc) but was wondering how accessible that information is once the call hits my box. Thanks in advance Paul
> Quickie: Does anyone out there have experience with PRI delivery of ANI II > information? > > Specifically, I want to know if it's possible from within Asterisk to know > if the inbound call (which may or may not be to an 800 number) came from a > payphone or not. I know with some 800 providers it's possible to block > inbound calls from payphones (due to the FCC surcharge etc) but was > wondering how accessible that information is once the call hits my box.I'm not sure about PRIs, but when I did it with Feature Group D trunks, the information came in as ANI II info digits prepended to the ANI. I had to modify * a bit, though, because it was stripping off the info digits and throwing them away.
On Tue, 20 Apr 2004, Paul Crick wrote:> Quickie: Does anyone out there have experience with PRI delivery of ANI II > information?Our carrier appends it to the DNIS. For instance, if I call from my cellphone, we get: 877852000263 Where 8778520002 is the dialed number, and 63 are the info digits. We can then match like: exten => _8778520002.,1,Whatever() Works remarkably well :-) -rt