Route to One of three Dial peers based on Number

Version 1
    This document was generated from CDN thread

    Created by: Jeff Garner on 04-11-2011 02:45:23 PM
    Any one know of a good way to route a call to one of three dial peers based ont he called number.   So I might have a listing of several hundred numbers routing to one of the three various dial peers...   I'd like to avoid setting up several hundred dial peers and just change the called number with a TCL script...

    Subject: RE: Route to One of three Dial peers based on Number
    Replied by: Yaw-Ming Chen on 04-11-2011 03:37:02 PM
    Please take a look Dial-Peer Hunting Sample Scrip in document section


    http://developer.cisco.com/web/vgapi/docs?p_p_id=doc_library_summary_portlet_WAR_doclibrarysummaryportlet_INSTANCE_tpiU&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=2

    Subject: Re: New Message from Jeff Garner in Voice Gateway API (VGAPI) - TCL-API: Ro
    Replied by: LEON MCCALLA on 04-11-2011 04:42:43 PM
    I¿m using a modified tandem TCL script to do a Radius lookup for every call. The DNIS is queried in an SQL database by my radius server and the result is one of 3 target-carrier-IDs that get returned to the script. Each outgoing dial-peer has its own Target-carrier-ID and so the call is routed to the correct carrier. This process adds less than 10 milliseconds to the call-flow but that¿s negligible considering I have 8 million+ numbers in an LNP database.

    Leon

    From: Cisco Developer Community Forums
    Sent: Friday, November 04, 2011 2:45 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from Jeff Garner in Voice Gateway API (VGAPI) - TCL-API: Route to One of three Dial peers based on Number

    Jeff Garner has created a new message in the forum "TCL-API":

    --------------------------------------------------------------
    Any one know of a good way to route a call to one of three dial peers based ont he called number.   So I might have a listing of several hundred numbers routing to one of the three various dial peers...   I'd like to avoid setting up several hundred dial peers and just change the called number with a TCL script...

    --
    To respond to this post, please click the following link:

    <http://developer.cisco.com/web/vgapi/forums/-/message_boards/view_message/4715260>

    or simply reply to this email.