[asterisk-biz] determining class of service

Alex Balashov abalashov at evaristesys.com
Fri Jul 10 18:02:15 CDT 2009


Some O/T providers pass them in over standard SIP.

--
Sent from mobile device

On Jul 10, 2009, at 5:10 PM, Wes Reece <wreece79 at gmail.com> wrote:

> 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-
> _______________________________________________
> --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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-biz/attachments/20090710/830f75e4/attachment.htm 


More information about the asterisk-biz mailing list