[asterisk-biz] determining class of service
Wes Reece
wreece79 at gmail.com
Fri Jul 10 16:10:25 CDT 2009
Yea you would need SIP-T. These are called info digits
On Thu, Jul 9, 2009 at 8:22 PM, Trixter aka Bret McDanel <
trixter at 0xdecafbad.com> wrote:
> On Thu, 2009-07-09 at 16:17 -0700, Eric Fort wrote:
> > I'm looking for a means to determine the calling line type (I believe
> > technically class is the term but I could have that wrong) that a call
> > originated on and route the call based upon this information. For
> > instance if a call comes in from a pay phone I want it routed
> > differently than a call from a residence or business. How can I
> > detect the calling line type or look up this info based upon ani or
> > clid info. (I've been told that access to NPAC is required, though I
> > wouldn't think it should be as I know calls from payphones can be
> > denied.) Help and info would be appreciated.
> >
>
>
> This is ANI II data, and SIP does not support it in a standard way
> (SIP-T does). You can sometimes get this delivered as either an extra
> SIP header (X-ANIII for example) or via isdn pri lines.
>
> http://www.nanpa.com/number_resource_info/ani_ii_assignments.html
>
>
> You may be able to get the info you need from LIDB. Its normally not
> free, its normally per query, and often its SS7 although there are
> standards for getting it via LDAP and other methods.
>
>
> --
> Trixter http://www.0xdecafbad.com Bret McDanel
> pgp key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8AE5C721
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-biz mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-biz
>
--
Thank you,
-Wes-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-biz/attachments/20090710/119370ce/attachment.htm
More information about the asterisk-biz
mailing list